diff options
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r-- | templates/show_albums.inc.php | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php index d63353e3..fe2af1be 100644 --- a/templates/show_albums.inc.php +++ b/templates/show_albums.inc.php @@ -21,13 +21,18 @@ $web_path = Config::get('web_path'); $ajax_url = Config::get('ajax_url'); ?> +<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?> <table class="tabledata" cellspacing="0" cellpadding="0"> -<tr> - <td colspan="7"> - <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?> - </td> -</tr> -<tr class="table-header"> +<colgroup> + <col id="br_add" /> + <col id="br_cover" /> + <col id="br_album" /> + <col id="br_artist" /> + <col id="br_songs" /> + <col id="br_year" /> + <col id="br_action" /> +</colgroup> +<tr class="table-header th-top"> <th><?php echo _('Add'); ?></th> <?php if (Browse::get_filter('show_art')) { ?> <th><?php echo _('Cover'); ?></th> @@ -48,9 +53,16 @@ $ajax_url = Config::get('ajax_url'); <?php require Config::get('prefix') . '/templates/show_album_row.inc.php'; ?> </tr> <?php } //end foreach ($albums as $album) ?> -<tr> - <td colspan="7"> - <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?> - </td> +<tr class="table-header th-bottom"> + <th><?php echo _('Add'); ?></th> + <?php if (Browse::get_filter('show_art')) { ?> + <th><?php echo _('Cover'); ?></th> + <?php } ?> + <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Album'),'album_sort_name'); ?></th> + <th><?php echo _('Artist'); ?></th> + <th><?php echo _('Songs'); ?></th> + <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=year',_('Year'),'album_sort_year'); ?></th> + <th><?php echo _('Actions'); ?></th> </tr> </table> +<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?> |