Skip to content
Snippets Groups Projects
Commit 147d8f48 authored by Anika Henke's avatar Anika Henke
Browse files

added labels to form entries

parent d634152e
No related branches found
No related tags found
No related merge requests found
......@@ -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>';
......
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