summaryrefslogtreecommitdiffstats
path: root/templates
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
parent601f406d26abfd6fe7256f4e26878cd4e2c9a7e6 (diff)
downloadampache-6232e0f8d78c2555e64672341c54916cc0e8b3ed.tar.gz
ampache-6232e0f8d78c2555e64672341c54916cc0e8b3ed.tar.bz2
ampache-6232e0f8d78c2555e64672341c54916cc0e8b3ed.zip
flatened out greyblock theme per a request
Diffstat (limited to 'templates')
-rw-r--r--templates/show_artist.inc6
-rw-r--r--templates/sidebar.inc.php8
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/show_artist.inc b/templates/show_artist.inc
index 64e00a5a..d6d4f17f 100644
--- a/templates/show_artist.inc
+++ b/templates/show_artist.inc
@@ -29,7 +29,7 @@ $web_path = conf('web_path');
<br />
<?php require (conf('prefix') . '/templates/show_artist_box.inc.php'); ?>
<!-- *** Multi-Album Art Display Thx MrBlahh Updated by clader *** -->
-<?php require(conf('prefix') . '/templates/show_box_top.inc.php'); ?>
+<?php show_box_top(); ?>
<form id="songs" method="post" enctype="multipart/form-data" action="artists.php">
<table class="border" cellspacing="0" cellpadding="0" border="0">
<tr class="table-header">
@@ -65,7 +65,7 @@ foreach ($albums as $album) {
<td>
<a href="<?php echo $web_path; ?>/song.php?action=album&amp;album_id=<?php echo $id; ?>"><?php echo _('Play'); ?></a>
<?php if (batch_ok()) { ?>
- | <a href="<?php echo $web_path; ?>/batch.php?action=alb&amp;id=<?php echo $album->id; ?>"><?php echo _("Download"); ?></a>
+ | <a href="<?php echo $web_path; ?>/batch.php?action=alb&amp;id=<?php echo $album->id; ?>"><?php echo _('Download'); ?></a>
<?php } ?>
</td>
</tr>
@@ -77,4 +77,4 @@ foreach ($albums as $album) {
<input type="hidden" name="type" value="album" />
<input type="hidden" name="artist_id" value="<?php echo $artist_id; ?>" />
</form>
-<?php require(conf('prefix') . '/templates/show_box_bottom.inc.php'); ?>
+<?php show_box_bottom(); ?>
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);
}