summaryrefslogtreecommitdiff
path: root/lib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/styling/admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/styling/admin.php b/lib/plugins/styling/admin.php
index f241e3fed..c6c04bb52 100644
--- a/lib/plugins/styling/admin.php
+++ b/lib/plugins/styling/admin.php
@@ -82,8 +82,8 @@ class admin_plugin_styling extends DokuWiki_Admin_Plugin {
if(empty($name)) $name = $key;
echo '<tr>';
- echo '<td>'.$name.'</td>';
- echo '<td><input type="text" name="tpl['.hsc($key).']" value="'.hsc($value).'" '.$this->colorClass($key).' /></td>';
+ echo '<td><label for="tpl__'.hsc($key).'">'.$name.'</label></td>';
+ echo '<td><input type="text" name="tpl['.hsc($key).']" id="tpl__'.hsc($key).'" value="'.hsc($value).'" '.$this->colorClass($key).' /></td>';
echo '</tr>';
}
echo '</tbody></table>';