diff options
author | martian <martian@ampache> | 2010-02-09 17:44:44 +0000 |
---|---|---|
committer | martian <martian@ampache> | 2010-02-09 17:44:44 +0000 |
commit | 1b35c20dd0a93b143d8b9542743a743e0db66386 (patch) | |
tree | 0500ae3eec1dfb70b66c3ca30e9a61da2c0daba8 /templates/show_albums.inc.php | |
parent | 5e52f0d7ccb6183d7e1b4e5033adad0d08a48eb6 (diff) | |
download | ampache-1b35c20dd0a93b143d8b9542743a743e0db66386.tar.gz ampache-1b35c20dd0a93b143d8b9542743a743e0db66386.tar.bz2 ampache-1b35c20dd0a93b143d8b9542743a743e0db66386.zip |
Adding the bandwidth option to the preferences. This changes the complexity of the UI and toggles album art.
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r-- | templates/show_albums.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php index c394b4d9..82436c40 100644 --- a/templates/show_albums.inc.php +++ b/templates/show_albums.inc.php @@ -25,7 +25,7 @@ $ajax_url = Config::get('ajax_url'); <table class="tabledata" cellpadding="0" cellspacing="0"> <colgroup> <col id="col_add" /> - <?php if (Browse::get_filter('show_art')) { ?> + <?php if (Config::get('bandwidth') > BANDWIDTH_LOW) { ?> <col id="col_cover" /> <?php } ?> <col id="col_album" /> @@ -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 (Browse::get_filter('show_art')) { ?> + <?php if (Config::get('bandwidth') > BANDWIDTH_LOW) { ?> <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 (Browse::get_filter('show_art')) { ?> + <?php if (Config::get('bandwidth') > BANDWIDTH_LOW) { ?> <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> |