summaryrefslogtreecommitdiffstats
path: root/templates/sidebar.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-28 03:18:50 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-28 03:18:50 +0000
commit6232e0f8d78c2555e64672341c54916cc0e8b3ed (patch)
treef387f6de37724bb2ae66e8ff6c6991cd58852982 /templates/sidebar.inc.php
parent601f406d26abfd6fe7256f4e26878cd4e2c9a7e6 (diff)
downloadampache-6232e0f8d78c2555e64672341c54916cc0e8b3ed.tar.gz
ampache-6232e0f8d78c2555e64672341c54916cc0e8b3ed.tar.bz2
ampache-6232e0f8d78c2555e64672341c54916cc0e8b3ed.zip
flatened out greyblock theme per a request
Diffstat (limited to 'templates/sidebar.inc.php')
-rw-r--r--templates/sidebar.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php
index d47e2711..9b4ce0d5 100644
--- a/templates/sidebar.inc.php
+++ b/templates/sidebar.inc.php
@@ -64,12 +64,12 @@ $web_path = conf('web_path');
}?>>
<a href="<?php echo $web_path; ?>/admin/index.php"><?php echo _('Admin'); ?></a>
<?php
- if ($GLOBALS['theme']['submenu'] != 'simple') {
+ if ($GLOBALS['theme']['submenu'] != 'simple' AND $GLOBALS['theme']['submenu'] != 'full') {
show_submenu($admin_items);
echo "\t</li>\n";
}
else {
- if ($location['section'] == 'admin') {
+ if ($location['section'] == 'admin' || $GLOBALS['theme']['submenu'] == 'full') {
echo "\t</li>\n";
show_submenu($admin_items);
}
@@ -91,12 +91,12 @@ $web_path = conf('web_path');
}?>>
<a href="<?php echo $web_path; ?>/browse.php"><?php echo _("Browse"); ?></a>
<?php
- if ($GLOBALS['theme']['submenu'] != 'simple') {
+ if ($GLOBALS['theme']['submenu'] != 'simple' AND $GLOBALS['theme']['submenu'] != 'full') {
show_submenu($browse_items);
echo "\t</li>\n";
}
else {
- if ($location['section'] == 'browse') {
+ if ($location['section'] == 'browse' || $GLOBALS['theme']['submenu'] == 'full') {
echo "\t</li>\n";
show_submenu($browse_items);
}