diff options
Diffstat (limited to 'templates/show_localplay_playlist.inc.php')
-rw-r--r-- | templates/show_localplay_playlist.inc.php | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/templates/show_localplay_playlist.inc.php b/templates/show_localplay_playlist.inc.php index 216f1523..10f8ecb9 100644 --- a/templates/show_localplay_playlist.inc.php +++ b/templates/show_localplay_playlist.inc.php @@ -20,25 +20,30 @@ */ ?> <?php show_box_top(_('Current Playlist')); ?> -<table class="table-data" cellspacing="0"> -<tr class="table-header"> - <th><?php echo _('Track'); ?></th> - <th><?php echo _('Name'); ?></th> - <th><?php echo _('Action'); ?></th> +<table class="tabledata" cellpadding="0" cellspacing="0"> +<colgroup> + <col id="col_track" /> + <col id="col_name" /> + <col id="col_action" /> +</colgroup> +<tr class="th-top"> + <th class="cel_track"><?php echo _('Track'); ?></th> + <th class="cel_name"><?php echo _('Name'); ?></th> + <th class="cel_action"><?php echo _('Action'); ?></th> </tr> <?php foreach ($objects as $object) { - $class = ''; - if ($status['track'] == $object['track']) { $class=' class="lp_current"'; } + $class = ' class="cel_name"'; + if ($status['track'] == $song['track']) { $class=' class="cel_name lp_current"'; } ?> <tr class="<?php echo flip_class(); ?>" id="localplay_playlist_<?php echo $object['id']; ?>"> - <td> + <td class="cel_track"> <?php echo scrub_out($object['track']); ?> </td> <td<?php echo $class; ?>> <?php echo $localplay->format_name($object['name'],$object['id']); ?> </td> - <td> + <td class="cel_action"> <?php echo Ajax::button('?page=localplay&action=delete_track&id=' . intval($object['id']),'delete',_('Delete'),'localplay_delete_' . intval($object['id'])); ?> </td> </tr> @@ -47,5 +52,10 @@ foreach ($objects as $object) { <td colspan="3"><span class="error"><?php echo _('No Records Found'); ?></span></td> </tr> <?php } ?> +<tr class="th-bottom"> + <th class="cel_track"><?php echo _('Track'); ?></th> + <th class="cel_name"><?php echo _('Name'); ?></th> + <th class="cel_action"><?php echo _('Action'); ?></th> +</tr> </table> <?php show_box_bottom(); ?> |