diff options
Diffstat (limited to 'templates/show_playlists.inc.php')
-rw-r--r-- | templates/show_playlists.inc.php | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/templates/show_playlists.inc.php b/templates/show_playlists.inc.php index 000c5f28..c2da7945 100644 --- a/templates/show_playlists.inc.php +++ b/templates/show_playlists.inc.php @@ -20,14 +20,17 @@ */ ?> -<table class="tabledata" cellspacing="0" cellpadding="0"> <!-- Playlist Table --> -<tr> - <td colspan="5"> - <?php require Config::get('prefix') . '/templates/list_header.inc.php' ?> - </td> -</tr> -<tr class="table-header"> - <th> </th> +<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?> +<table class="tabledata" cellspacing="0" cellpadding="0"> +<colgroup> + <col id="br_add" /> + <col id="br_playlist" /> + <col id="br_songs" /> + <col id="br_owner" /> + <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',_('Playlist Name'),'playlist_sort_name'); ?></th> <th><?php echo _('# Songs'); ?></th> <th><?php echo _('Owner'); ?></th> @@ -43,9 +46,12 @@ foreach ($object_ids as $playlist_id) { <?php require Config::get('prefix') . '/templates/show_playlist_row.inc.php'; ?> </tr> <?php } // end foreach ($playlists as $playlist) ?> -<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',_('Playlist Name'),'playlist_sort_name'); ?></th> + <th><?php echo _('# Songs'); ?></th> + <th><?php echo _('Owner'); ?></th> + <th><?php echo _('Actions'); ?></th> </tr> </table> +<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?> |