summaryrefslogtreecommitdiffstats
path: root/templates/show_albums.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r--templates/show_albums.inc.php8
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>