summaryrefslogtreecommitdiffstats
path: root/templates/show_albums.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 05:53:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 05:53:26 +0000
commitf0addeb4a1700b6ad625726fe8c0793cdafa9fed (patch)
treeed2e4fef6759867bed8229116ae2e91b3b3da239 /templates/show_albums.inc.php
parent69b204fb1dcca77c177d3ac5ec7fb686fb5a5b58 (diff)
downloadampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.tar.gz
ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.tar.bz2
ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.zip
added ability to view album art on browse ablums and removed redundent code in show_artist, props to the first person who finds the bug with this re-use of code
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r--templates/show_albums.inc.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php
index 2741d16d..713112c9 100644
--- a/templates/show_albums.inc.php
+++ b/templates/show_albums.inc.php
@@ -23,12 +23,15 @@ $ajax_url = Config::get('ajax_url');
?>
<table class="tabledata" cellspacing="0" cellpadding="0" border="0">
<tr class="table-header">
- <td colspan="6">
+ <td colspan="7">
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
</td>
</tr>
<tr class="table-header">
<th><?php echo _('Add'); ?></th>
+ <?php if (Browse::get_filter('show_art')) { ?>
+ <th><?php echo _('Cover'); ?></th>
+ <?php } ?>
<th><?php echo _('Album'); ?></th>
<th><?php echo _('Artist'); ?></th>
<th><?php echo _('Songs'); ?></th>
@@ -46,7 +49,7 @@ $ajax_url = Config::get('ajax_url');
</tr>
<?php } //end foreach ($albums as $album) ?>
<tr class="table-header">
- <td colspan="6">
+ <td colspan="7">
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
</td>
</tr>