summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2015-07-07 13:04:52 +0100
committerAnika Henke <anika@selfthinker.org>2015-07-07 13:04:52 +0100
commit147d8f481419c685b5408b7b793fd32a8923f35e (patch)
treecd0d7ce913eb3bfaabf23802ae2faf11b5471724
parentd634152e42ef1c75d899f021132ce0c2632257ac (diff)
downloadrpg-147d8f481419c685b5408b7b793fd32a8923f35e.tar.gz
rpg-147d8f481419c685b5408b7b793fd32a8923f35e.tar.bz2
added labels to form entries
-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>';