diff options
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r-- | templates/show_albums.inc.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php index 2496c11e..a99e2793 100644 --- a/templates/show_albums.inc.php +++ b/templates/show_albums.inc.php @@ -26,7 +26,7 @@ $ajax_url = Config::get('ajax_url'); <table class="tabledata" cellpadding="0" cellspacing="0"> <colgroup> <col id="col_add" /> -<?php if (Browse::is_enabled('show_art')) { ?> +<?php if (Art::is_enabled()) { ?> <col id="col_cover" /> <?php } ?> <col id="col_album" /> @@ -39,13 +39,13 @@ $ajax_url = Config::get('ajax_url'); </colgroup> <tr class="th-top"> <th class="cel_add"><?php echo _('Add'); ?></th> - <?php if (Browse::is_enabled('show_art')) { ?> + <?php if (Art::is_enabled()) { ?> <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> - <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&type=album&sort=artist',_('Artist'),'album_sort_artist'); ?></th> + <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=name',_('Album'),'album_sort_name'); ?></th> + <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=artist',_('Artist'),'album_sort_artist'); ?></th> <th class="cel_songs"><?php echo _('Songs'); ?></th> - <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&type=album&sort=year',_('Year'),'album_sort_year'); ?></th> + <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=year',_('Year'),'album_sort_year'); ?></th> <th class="cel_tags"><?php echo _('Tags'); ?></th> <th class="col_rating"><?php echo _('Rating'); ?></th> <th class="cel_action"><?php echo _('Actions'); ?></th> @@ -70,13 +70,13 @@ $ajax_url = Config::get('ajax_url'); <?php } ?> <tr class="th-bottom"> <th class="cel_add"><?php echo _('Add'); ?></th> - <?php if (Browse::is_enabled('show_art')) { ?> + <?php if (Art::is_enabled()) { ?> <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> + <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=name',_('Album'),'album_sort_name_bottom'); ?></th> <th class="cel_artist"><?php echo _('Artist'); ?></th> <th class="cel_songs"><?php echo _('Songs'); ?></th> - <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&type=album&sort=year',_('Year'),'album_sort_year_bottom'); ?></th> + <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=year',_('Year'),'album_sort_year_bottom'); ?></th> <th class="cel_tags"><?php echo _('Tags'); ?></th> <th class="col_rating"><?php echo _('Rating'); ?></th> <th class="cel_action"><?php echo _('Actions'); ?></th> |