openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 68e12634049c585083f3988a59dfaad097d7b239
parent 3b2c3f139836253995f6858b6e4b602174afa754
Author: dankert <devnull@localhost>
Date:   Sat, 20 Jan 2007 16:15:36 +0100

URLs ausgeben.

Diffstat:
themes/default/include/html/link.inc.php | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/themes/default/include/html/link.inc.php b/themes/default/include/html/link.inc.php @@ -1,5 +1,6 @@ <?php - if (!empty($attr_action)) - { + if(!empty($attr_url)) + $tmp_url = $attr_url; + else $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); -?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php } ?>- \ No newline at end of file +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo $attr_title ?>">+ \ No newline at end of file