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_artists.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_artists.inc.php')
-rw-r--r-- | templates/show_artists.inc.php | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php index 224d3ce0..f67f02cd 100644 --- a/templates/show_artists.inc.php +++ b/templates/show_artists.inc.php @@ -21,13 +21,16 @@ $web_path = Config::get('web_path'); ?> +<?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_artist" /> + <col id="br_songs" /> + <col id="br_albums" /> + <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',_('Artist'),'artist_sort_name'); ?></th> <th> <?php echo _('Songs'); ?> </th> @@ -44,17 +47,12 @@ foreach ($object_ids as $artist_id) { <?php require Config::get('prefix') . '/templates/show_artist_row.inc.php'; ?> </tr> <?php } //end foreach ($artists as $artist) ?> -<tr class="table-header"> +<tr class="table-header th-bottom"> <th><?php echo _('Add'); ?></th> - <th><?php echo _("Artist"); ?></th> - <th><?php echo _('Songs'); ?></th> - <th><?php echo _('Albums'); ?></th> - <th><?php echo _('Action'); ?></th> - -</tr> -<tr> - <td colspan="5"> - <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?> - </td> + <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Artist'),'artist_sort_name'); ?></th> + <th> <?php echo _('Songs'); ?> </th> + <th> <?php echo _('Albums'); ?> </th> + <th> <?php echo _('Action'); ?> </th> </tr> </table> +<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?> |