diff options
author | spocky <spocky@ampache> | 2007-10-24 21:15:58 +0000 |
---|---|---|
committer | spocky <spocky@ampache> | 2007-10-24 21:15:58 +0000 |
commit | e855988af2850d8d8105b56bc0ce9eae8b7d9dc0 (patch) | |
tree | 9e05a256144165aca01e6bfe9a02bd2d81dbdfb4 /templates/show_localplay_playlist.inc.php | |
parent | 06a5efcc717cd28ea69bd75f11063c51ee455b82 (diff) | |
download | ampache-e855988af2850d8d8105b56bc0ce9eae8b7d9dc0.tar.gz ampache-e855988af2850d8d8105b56bc0ce9eae8b7d9dc0.tar.bz2 ampache-e855988af2850d8d8105b56bc0ce9eae8b7d9dc0.zip |
renamed a few files (missing php extension)
updated most of the tables so that every column is independently customizable by css rules
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(); ?> |