openrat-cms

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

commit 2092516725b3ccef45eed4183ebac584205e0ed7
parent d1bd5b336a0f4b3b0aaacf7ba90fb482eb7938c1
Author: dankert <devnull@localhost>
Date:   Mon, 29 Nov 2004 00:40:23 +0100

Icon nur anzeigen, wenn Text vorhanden

Diffstat:
themes/default/pages/html/main/menu.tpl.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/default/pages/html/main/menu.tpl.php b/themes/default/pages/html/main/menu.tpl.php @@ -22,7 +22,7 @@ } ?> </td> - <td><span class="mainmenu_name">&nbsp;<img src="<?php echo $image_dir.'icon_'.$type.'.png' ?>" align="middle" title="<?php echo $type ?>" alt="" />&nbsp;<?php if (isset($text)) echo $text ?></span> + <td><span class="mainmenu_name">&nbsp;<?php if (isset($text)) { ?><img src="<?php echo $image_dir.'icon_'.$type.'.png' ?>" align="middle" title="<?php echo $type ?>" alt="" />&nbsp;<?php echo $text ?><?php } ?></span> </td> <?php if(isset($nr)) { ?>