summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@delfi.ee>2011-11-24 22:16:51 +0200
committerElan Ruusamäe <glen@delfi.ee>2011-11-24 22:16:51 +0200
commitdacedfc0b083d926504ef07024b17d8d036564cd (patch)
tree31d3a1b81a98c6661c26134d51ff65c3d8e825b3
parent40b037a4cad6d8394f45fb22470c13a6e4bae27f (diff)
downloadrpg-dacedfc0b083d926504ef07024b17d8d036564cd.tar.gz
rpg-dacedfc0b083d926504ef07024b17d8d036564cd.tar.bz2
add label to each plugin in plugin management page
i needed to disable all plugins to figure out which plugin was causing template error, so it was quite annoying to click on the tiny checkbox added html label so i could at least click on the plugin name to toggle checkbox state
-rw-r--r--lib/plugins/plugin/classes/ap_manage.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/plugin/classes/ap_manage.class.php b/lib/plugins/plugin/classes/ap_manage.class.php
index fb148f263..12480e922 100644
--- a/lib/plugins/plugin/classes/ap_manage.class.php
+++ b/lib/plugins/plugin/classes/ap_manage.class.php
@@ -90,8 +90,8 @@ class ap_manage {
ptln(' <fieldset'.$class.'>');
ptln(' <legend>'.$plugin.'</legend>');
- ptln(' <input type="checkbox" class="enable" name="enabled[]" value="'.$plugin.'"'.$checked.$check_disabled.' />');
- ptln(' <h3 class="legend">'.$plugin.'</h3>');
+ ptln(' <input type="checkbox" class="enable" name="enabled[]" id="dw__p_'.$plugin.'" value="'.$plugin.'"'.$checked.$check_disabled.' />');
+ ptln(' <h3 class="legend"><label for="dw__p_'.$plugin.'">'.$plugin.'</label></h3>');
$this->html_button($plugin, 'info', false, 6);
if (in_array('settings', $this->manager->functions)) {