summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay_controllers.inc.php
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2007-10-24 21:15:58 +0000
committerspocky <spocky@ampache>2007-10-24 21:15:58 +0000
commite855988af2850d8d8105b56bc0ce9eae8b7d9dc0 (patch)
tree9e05a256144165aca01e6bfe9a02bd2d81dbdfb4 /templates/show_localplay_controllers.inc.php
parent06a5efcc717cd28ea69bd75f11063c51ee455b82 (diff)
downloadampache-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_controllers.inc.php')
-rw-r--r--templates/show_localplay_controllers.inc.php32
1 files changed, 22 insertions, 10 deletions
diff --git a/templates/show_localplay_controllers.inc.php b/templates/show_localplay_controllers.inc.php
index 3e8cd613..ba7b5fcb 100644
--- a/templates/show_localplay_controllers.inc.php
+++ b/templates/show_localplay_controllers.inc.php
@@ -21,12 +21,18 @@
$web_path = Config::get('web_path');
?>
<!-- Plugin we've found -->
-<table class="tabledata" cellspacing="0">
-<tr class="table-header">
- <th><?php echo _('Name'); ?></th>
- <th><?php echo _('Description'); ?></th>
- <th><?php echo _('Version'); ?></th>
- <th><?php echo _('Action'); ?></th>
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_name" />
+ <col id="col_description" />
+ <col id="col_version" />
+ <col id="col_action" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_description"><?php echo _('Description'); ?></th>
+ <th class="cel_version"><?php echo _('Version'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php
foreach ($controllers as $controller) {
@@ -43,16 +49,22 @@ foreach ($controllers as $controller) {
}
?>
<tr class="<?php echo flip_class(); ?>">
- <td><?php echo scrub_out($localplay->f_name); ?></td>
- <td><?php echo scrub_out($localplay->f_description); ?></td>
- <td><?php echo scrub_out($localplay->f_version); ?></td>
- <td><a href="<?php echo $web_path; ?>/admin/modules.php?action=<?php echo $action; ?>&amp;type=<?php echo urlencode($controller); ?>"><?php echo $action_txt; ?></a></td>
+ <td class="cel_name"><?php echo scrub_out($localplay->f_name); ?></td>
+ <td class="cel_description"><?php echo scrub_out($localplay->f_description); ?></td>
+ <td class="cel_version"><?php echo scrub_out($localplay->f_version); ?></td>
+ <td class="cel_action"><a href="<?php echo $web_path; ?>/admin/modules.php?action=<?php echo $action; ?>&amp;type=<?php echo urlencode($controller); ?>"><?php echo $action_txt; ?></a></td>
</tr>
<?php } if (!count($controllers)) { ?>
<tr class="<?php echo flip_class(); ?>">
<td colspan="4"><span class="error"><?php echo _('No Records Found'); ?></span></td>
</tr>
<?php } ?>
+<tr class="th-bottom">
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_description"><?php echo _('Description'); ?></th>
+ <th class="cel_version"><?php echo _('Version'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+</tr>
</table>
<br />