From: <var...@us...> - 2011-10-03 12:40:28
|
Revision: 8158 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8158&view=rev Author: vargenau Date: 2011-10-03 12:40:18 +0000 (Mon, 03 Oct 2011) Log Message: ----------- Login --> Sign In Modified Paths: -------------- trunk/lib/plugin/WikiForm.php Modified: trunk/lib/plugin/WikiForm.php =================================================================== --- trunk/lib/plugin/WikiForm.php 2011-10-03 12:38:40 UTC (rev 8157) +++ trunk/lib/plugin/WikiForm.php 2011-10-03 12:40:18 UTC (rev 8158) @@ -71,7 +71,7 @@ case 'login': $input['name'] = 'source'; if (!$buttontext) - $buttontext = _("Login"); + $buttontext = _("Sign In"); $class = 'wikiadmin'; break; case 'dumpserial': This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-04-06 12:25:07
|
Revision: 8254 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8254&view=rev Author: vargenau Date: 2012-04-06 12:25:00 +0000 (Fri, 06 Apr 2012) Log Message: ----------- Add class "error" for error message Modified Paths: -------------- trunk/lib/plugin/WikiForm.php Modified: trunk/lib/plugin/WikiForm.php =================================================================== --- trunk/lib/plugin/WikiForm.php 2012-03-28 15:41:01 UTC (rev 8253) +++ trunk/lib/plugin/WikiForm.php 2012-04-06 12:25:00 UTC (rev 8254) @@ -102,10 +102,9 @@ $class = false; // local OS function, so use native OS button break; default: - return HTML::p(fmt("WikiForm: %s: unknown action", $action)); + return HTML::div(array('class' => "error"), fmt("WikiForm: %s: unknown action", $action)); } - $input = HTML::input($input); $input->addTooltip($buttontext); $button = Button('submit:', $buttontext, $class); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-04-06 12:38:01
|
Revision: 8255 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8255&view=rev Author: vargenau Date: 2012-04-06 12:37:55 +0000 (Fri, 06 Apr 2012) Log Message: ----------- WikiFormMore does not exist Modified Paths: -------------- trunk/lib/plugin/WikiForm.php Modified: trunk/lib/plugin/WikiForm.php =================================================================== --- trunk/lib/plugin/WikiForm.php 2012-04-06 12:25:00 UTC (rev 8254) +++ trunk/lib/plugin/WikiForm.php 2012-04-06 12:37:55 UTC (rev 8255) @@ -24,8 +24,6 @@ * This is a replacement for MagicPhpWikiURL forms. * Just a few old actions are supported, which where previously * encoded with the phpwiki: syntax. - * - * See WikiFormMore for the more generic version. */ class WikiPlugin_WikiForm extends WikiPlugin This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-04-06 12:40:38
|
Revision: 8256 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8256&view=rev Author: vargenau Date: 2012-04-06 12:40:29 +0000 (Fri, 06 Apr 2012) Log Message: ----------- Avoid "lib/main.php:949 Notice[1024]: login: Unknown action" Modified Paths: -------------- trunk/lib/plugin/WikiForm.php Modified: trunk/lib/plugin/WikiForm.php =================================================================== --- trunk/lib/plugin/WikiForm.php 2012-04-06 12:37:55 UTC (rev 8255) +++ trunk/lib/plugin/WikiForm.php 2012-04-06 12:40:29 UTC (rev 8256) @@ -66,12 +66,6 @@ $buttontext = _("Load File"); $class = false; break; - case 'login': - $input['name'] = 'source'; - if (!$buttontext) - $buttontext = _("Sign In"); - $class = 'wikiadmin'; - break; case 'dumpserial': $input['name'] = 'directory'; if (!$default) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-04-06 14:03:57
|
Revision: 8259 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8259&view=rev Author: vargenau Date: 2012-04-06 14:03:51 +0000 (Fri, 06 Apr 2012) Log Message: ----------- Let's make 'overwrite' argument work Modified Paths: -------------- trunk/lib/plugin/WikiForm.php Modified: trunk/lib/plugin/WikiForm.php =================================================================== --- trunk/lib/plugin/WikiForm.php 2012-04-06 13:16:56 UTC (rev 8258) +++ trunk/lib/plugin/WikiForm.php 2012-04-06 14:03:51 UTC (rev 8259) @@ -52,6 +52,7 @@ 'class' => 'wikiadmin', 'accept-charset' => $GLOBALS['charset']), HiddenInputs(array('action' => $action, + 'overwrite' => $overwrite, 'pagename' => $basepage))); $input = array('type' => 'text', 'value' => $default, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |