diff options
Diffstat (limited to 'templates/show_genres.inc.php')
-rw-r--r-- | templates/show_genres.inc.php | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/templates/show_genres.inc.php b/templates/show_genres.inc.php index 3008ed4c..f0570100 100644 --- a/templates/show_genres.inc.php +++ b/templates/show_genres.inc.php @@ -24,13 +24,15 @@ * Takes an array of genre objects and displays them out */ ?> +<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?> <table class="tabledata" cellspacing="0" cellpadding="0"> -<tr> - <td colspan="5"> - <?php require Config::get('prefix') . '/templates/list_header.inc.php' ?> - </td> -</tr> -<tr class="table-header"> +<colgroup> + <col id="br_add" /> + <col id="br_genre" /> + <col id="br_songs" /> + <col id="br_action" /> +</colgroup> +<tr class="table-header th-top"> <th><?php echo _('Add'); ?></th> <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Genre'),'sort_genre_name'); ?></th> <th><?php echo _('Songs'); ?></th> @@ -61,9 +63,11 @@ foreach ($object_ids as $genre_id) { </td> </tr> <?php } // end foreach genres ?> -<tr> - <td colspan="5"> - <?php require Config::get('prefix') . '/templates/list_header.inc.php' ?> - </td> +<tr class="table-header th-bottom"> + <th><?php echo _('Add'); ?></th> + <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Genre'),'sort_genre_name'); ?></th> + <th><?php echo _('Songs'); ?></th> + <th><?php echo _('Action'); ?></th> </tr> </table> +<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?> |