commit c5fceeb3fb2f2f429e0e40ba4fb3d2be551b55c2
parent 5a4b8c2240738b62504978fefac6257669357a06
Author: dankert <devnull@localhost>
Date: Thu, 16 Dec 2004 00:13:00 +0100
Html::url()-Parameter angepasst
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/themes/default/pages/html/header.tpl.php b/themes/default/pages/html/header.tpl.php
@@ -29,7 +29,7 @@
<?php foreach( $notices as $notice ) { ?>
<tr>
<td class="f1"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_EXT ?>" align="left" /><?php echo $notice['name'] ?></td>
- <td class="f1"><img src="<?php echo $image_dir.$notice['status'].IMG_EXT ?>" align="left" />
+ <td class="f1"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" align="left" />
<strong><?php echo $notice['text'] ?></strong></td>
</tr>
<?php } ?>
diff --git a/themes/default/pages/html/main/menu.tpl.php b/themes/default/pages/html/main/menu.tpl.php
@@ -14,7 +14,7 @@
{
foreach( $folder as $id=>$ftext )
{
- echo '<a href="'.Html::url(array('action'=>'main','callAction'=>'folder','objectid'=>$id,'callSubaction'=>'show')).'" target="cms_main" class="mainmenu">';
+ echo '<a href="'.Html::url('main','folder',$id).'" target="cms_main" class="mainmenu">';
echo '<img src="'.$image_dir.'icon_folder'.IMG_EXT.'" align="middle" alt="" border="0" />';
echo $ftext;
echo '</a><strong>'.FILE_SEP.'</strong> ';
@@ -53,7 +53,7 @@
if ( ++$i > 1 ) echo ' | ';
- echo '<a href="'.Html::url(array('action'=>$action,'subaction'=>$act,$param=>$this->getSessionVar($param))).'"'.$attrAccesskey.' target="cms_main_main" title="'.$title.'">'.$text.'</a>';
+ echo '<a href="'.Html::url($action,$act,$actionid).'"'.$attrAccesskey.' target="cms_main_main" title="'.$title.'">'.$text.'</a>';
}
?></td>
</tr>