diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-04-09 05:24:08 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-04-09 05:24:08 +0000 |
commit | 79a890b7bf7bd9b31e6879c64d5651cef02975f3 (patch) | |
tree | 1b675839bf9f2de56f6adcb8c2067c354ecaf1ca /templates/show_modules.inc.php | |
parent | 7b1e57d0ccdda52881645f7c16f42ceb5da15881 (diff) | |
download | ampache-79a890b7bf7bd9b31e6879c64d5651cef02975f3.tar.gz ampache-79a890b7bf7bd9b31e6879c64d5651cef02975f3.tar.bz2 ampache-79a890b7bf7bd9b31e6879c64d5651cef02975f3.zip |
updated localplay buttons again as well as mpd controller updates from sigger
Diffstat (limited to 'templates/show_modules.inc.php')
-rw-r--r-- | templates/show_modules.inc.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/show_modules.inc.php b/templates/show_modules.inc.php index 23c1d593..8b0b139f 100644 --- a/templates/show_modules.inc.php +++ b/templates/show_modules.inc.php @@ -30,25 +30,29 @@ $localplay_modules = get_localplay_controllers(); $web_path = conf('web_path'); ?> -<table class="text-box"> +<span class="header2"><?php echo _('Modules'); ?></span> +<table class="border" border="0" cellspacing="0"> <tr class="table-header"> <th><?php echo _('Module Name'); ?></th> <th><?php echo _('Action'); ?></th> </tr> <?php foreach ($localplay_modules as $module) { - $action = _('Active'); if (!verify_localplay_preferences($module)) { $action = "<a href=\"" . $web_path . "/admin/modules.php?action=insert_localplay_preferences&type=" . $module . "\">" . _('Activate') . "</a>"; } + else { + $action = "<a href=\"" . $web_path . "/admin/modules.php?action=confirm_remove_localplay_preferences&type=" . $module . "\">" . + _('Deactivate') . "</a>"; + } ?> -<tr> +<tr class="<?php echo flip_class(); ?>"> <td><?php echo scrub_out($module); ?></td> <td><?php echo $action; ?></td> </tr> <?php } if (!count($localplay_modules)) { ?> -<tr> +<tr class="<?php echo flip_class(); ?>"> <td colspan="2"><span class="error"><?php echo _('No Records Found'); ?></span></td> </tr> <?php } ?> |