From: <var...@us...> - 2014-10-09 13:42:27
|
Revision: 9230 http://sourceforge.net/p/phpwiki/code/9230 Author: vargenau Date: 2014-10-09 13:42:19 +0000 (Thu, 09 Oct 2014) Log Message: ----------- Add HTML 5 required Modified Paths: -------------- trunk/lib/plugin/WikiForm.php Modified: trunk/lib/plugin/WikiForm.php =================================================================== --- trunk/lib/plugin/WikiForm.php 2014-10-09 13:37:36 UTC (rev 9229) +++ trunk/lib/plugin/WikiForm.php 2014-10-09 13:42:19 UTC (rev 9230) @@ -67,6 +67,7 @@ switch ($action) { case 'loadfile': $input['name'] = 'source'; + $input['required'] = 'required'; if (!$default) $input['value'] = DEFAULT_DUMP_DIR; if (!$buttontext) @@ -75,6 +76,7 @@ break; case 'dumpserial': $input['name'] = 'directory'; + $input['required'] = 'required'; if (!$default) $input['value'] = DEFAULT_DUMP_DIR; if (!$buttontext) @@ -83,6 +85,7 @@ break; case 'dumphtml': $input['name'] = 'directory'; + $input['required'] = 'required'; if (!$default) $input['value'] = HTML_DUMP_DIR; if (!$buttontext) @@ -96,6 +99,7 @@ 'type' => 'hidden'))); $input['name'] = 'file'; $input['type'] = 'file'; + $input['required'] = 'required'; if (!$buttontext) $buttontext = _("Upload"); $class = false; // local OS function, so use native OS button This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |