Skip to content
Snippets Groups Projects
Commit dacedfc0 authored by Elan Ruusamäe's avatar Elan Ruusamäe
Browse files

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
parent 40b037a4
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment