Merge pull request #2303 from splitbrain/requireStyleValue

Mark inputs of styling plugin as required
This commit is contained in:
Andreas Gohr 2020-10-14 15:23:11 +02:00 committed by GitHub
commit 126b50b9fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class admin_plugin_styling extends DokuWiki_Admin_Plugin
echo '<tr>';
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).'"
value="'.hsc($this->colorValue($value)).'" dir="ltr" /></td>';
value="'.hsc($this->colorValue($value)).'" dir="ltr" required="required"/></td>';
echo '</tr>';
}
echo '</tbody></table>';