diff options
author | spocky <spocky@ampache> | 2007-10-16 20:26:16 +0000 |
---|---|---|
committer | spocky <spocky@ampache> | 2007-10-16 20:26:16 +0000 |
commit | 15c56f21f2a74c8d25e8d74b2cc4b4020e9db74f (patch) | |
tree | 0d16eb9fb44337d4176af2ca42c3ca070b878113 /templates/show_genres.inc.php | |
parent | 4b58b3e218d2e926d7bb0e4d07be2877853de689 (diff) | |
download | ampache-15c56f21f2a74c8d25e8d74b2cc4b4020e9db74f.tar.gz ampache-15c56f21f2a74c8d25e8d74b2cc4b4020e9db74f.tar.bz2 ampache-15c56f21f2a74c8d25e8d74b2cc4b4020e9db74f.zip |
- hardcoded disk# sort order when sort is set to album name
- removed pager from browse table
- added footer to browse tables
- updated browse files for better customization
- modified css
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' ?> |