Merge pull request #2303 from splitbrain/requireStyleValue
Mark inputs of styling plugin as required
This commit is contained in:
commit
126b50b9fb
|
@ -86,7 +86,7 @@ class admin_plugin_styling extends DokuWiki_Admin_Plugin
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
echo '<td><label for="tpl__'.hsc($key).'">'.$name.'</label></td>';
|
echo '<td><label for="tpl__'.hsc($key).'">'.$name.'</label></td>';
|
||||||
echo '<td><input type="'.$this->colorType($value).'" name="tpl['.hsc($key).']" id="tpl__'.hsc($key).'"
|
echo '<td><input type="'.$this->colorType($value).'" name="tpl['.hsc($key).']" id="tpl__'.hsc($key).'"
|
||||||
value="'.hsc($this->colorValue($value)).'" dir="ltr" /></td>';
|
value="'.hsc($this->colorValue($value)).'" dir="ltr" required="required"/></td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
echo '</tbody></table>';
|
echo '</tbody></table>';
|
||||||
|
|
Loading…
Reference in New Issue