diff options
Diffstat (limited to 'templates/layout.admin.php')
-rw-r--r-- | templates/layout.admin.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/layout.admin.php b/templates/layout.admin.php index f7392c5de1d..0212419a952 100644 --- a/templates/layout.admin.php +++ b/templates/layout.admin.php @@ -25,9 +25,13 @@ <div id="main"> <div id="plugins"> <ul> - <li><a style="background-image:url(<?php echo image_path('settings', 'information.png'); ?>)" href="<?php echo link_to('settings', 'index.php'); ?>" title="">Information</a></li> <?php foreach($_['settingsnavigation'] as $entry):?> - <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title=""><?php echo $entry['name'] ?></a></li> + <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title=""><?php echo $entry['name'] ?><?php if( $entry["active"] ) echo "I AM ACTIVE!!!"; ?></a></li> + <?php if( sizeof( $entry["subnavigation"] )): ?> + <?php foreach($entry["subnavigation"] as $subentry):?> + <li><a style="background-color:#FF8800;" href="<?php echo $subentry['href']; ?>" title=""><?php echo $subentry['name'] ?></a></li> + <?php endforeach; ?> + <?php endif; ?> <?php endforeach; ?> <?php foreach($_['adminnavigation'] as $entry):?> <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title=""><?php echo $entry['name'] ?><?php if( $entry["active"] ) echo "I AM ACTIVE!!!"; ?></a></li> |