From: <var...@us...> - 2011-04-14 09:03:05
|
Revision: 8050 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8050&view=rev Author: vargenau Date: 2011-04-14 09:02:55 +0000 (Thu, 14 Apr 2011) Log Message: ----------- Do not break HTML dump Modified Paths: -------------- trunk/lib/plugin/WikiFormRich.php Modified: trunk/lib/plugin/WikiFormRich.php =================================================================== --- trunk/lib/plugin/WikiFormRich.php 2011-04-13 16:04:19 UTC (rev 8049) +++ trunk/lib/plugin/WikiFormRich.php 2011-04-14 09:02:55 UTC (rev 8050) @@ -172,6 +172,10 @@ if (empty($action)) { return $this->error(fmt("A required argument '%s' is missing.", "action")); } + if ($action != 'browse') { + return $this->disabled("(action != 'browse')"); + } + $form = HTML::form(array('action' => $request->getPostURL(), 'method' => strtolower($method), 'class' => 'wikiformrich', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |