diff options
Diffstat (limited to 'templates/show_live_streams.inc.php')
-rw-r--r-- | templates/show_live_streams.inc.php | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/templates/show_live_streams.inc.php b/templates/show_live_streams.inc.php index 037d91c1..beb44f10 100644 --- a/templates/show_live_streams.inc.php +++ b/templates/show_live_streams.inc.php @@ -21,13 +21,17 @@ $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="6"> - <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?> - </td> -</tr> -<tr class="table-header"> +<colgroup> + <col id="br_add" /> + <col id="br_streamname" /> + <col id="br_callsign" /> + <col id="br_frequency" /> + <col id="br_genre" /> + <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',_('Name'),'live_stream_sort_name'); ?></th> <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=call_sign',_('Callsign'),'live_stream_call_sign'); ?></th> @@ -44,9 +48,13 @@ foreach ($object_ids as $radio_id) { <?php require Config::get('prefix') . '/templates/show_live_stream_row.inc.php'; ?> </tr> <?php } //end foreach ($artists as $artist) ?> -<tr> - <td colspan="6"> - <?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',_('Name'),'live_stream_sort_name'); ?></th> + <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=call_sign',_('Callsign'),'live_stream_call_sign'); ?></th> + <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=frequency',_('Frequency'),'live_stream_frequency'); ?></th> + <th><?php echo _('Genre'); ?></th> + <th><?php echo _('Action'); ?> </th> </tr> </table> +<?php require Config::Get('prefix') . '/templates/list_header.inc.php'; ?> |