diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2010-02-14 00:56:07 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2010-02-14 00:56:07 +0000 |
commit | 8bc17dd3f0ed4dc520bb64b20dac8a31e72e447f (patch) | |
tree | 49fc67aaf19bfbc749c54d22522f31cfea8fabb5 /templates/show_albums.inc.php | |
parent | 704e66d0b489a7d3b0d4dcedc79515e5300732ff (diff) | |
download | ampache-8bc17dd3f0ed4dc520bb64b20dac8a31e72e447f.tar.gz ampache-8bc17dd3f0ed4dc520bb64b20dac8a31e72e447f.tar.bz2 ampache-8bc17dd3f0ed4dc520bb64b20dac8a31e72e447f.zip |
Tweaked how features / bandwidth level is checked, not happy with it.
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r-- | templates/show_albums.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php index 82436c40..68a6a4ca 100644 --- a/templates/show_albums.inc.php +++ b/templates/show_albums.inc.php @@ -25,9 +25,9 @@ $ajax_url = Config::get('ajax_url'); <table class="tabledata" cellpadding="0" cellspacing="0"> <colgroup> <col id="col_add" /> - <?php if (Config::get('bandwidth') > BANDWIDTH_LOW) { ?> +<?php if (Browse::is_enabled('show_art') { ?> <col id="col_cover" /> - <?php } ?> +<?php } ?> <col id="col_album" /> <col id="col_artist" /> <col id="col_songs" /> @@ -38,7 +38,7 @@ $ajax_url = Config::get('ajax_url'); </colgroup> <tr class="th-top"> <th class="cel_add"><?php echo _('Add'); ?></th> - <?php if (Config::get('bandwidth') > BANDWIDTH_LOW) { ?> + <?php if (Browse::is_enabled('show_art') { ?> <th class="cel_cover"><?php echo _('Cover'); ?></th> <?php } ?> <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&type=album&sort=name',_('Album'),'album_sort_name'); ?></th> @@ -69,7 +69,7 @@ $ajax_url = Config::get('ajax_url'); <?php } ?> <tr class="th-bottom"> <th class="cel_add"><?php echo _('Add'); ?></th> - <?php if (Config::get('bandwidth') > BANDWIDTH_LOW) { ?> + <?php if (Browse::is_enabled('show_art') { ?> <th class="cel_cover"><?php echo _('Cover'); ?></th> <?php } ?> <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&type=album&sort=name',_('Album'),'album_sort_name_bottom'); ?></th> |