From: <var...@us...> - 2009-09-23 08:33:28
|
Revision: 7151 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7151&view=rev Author: vargenau Date: 2009-09-23 08:33:21 +0000 (Wed, 23 Sep 2009) Log Message: ----------- In Gforge "help" wiki, use Help/TextFormattingRules instead of TextFormattingRules when editing a page (previous check-in was wrong) Modified Paths: -------------- trunk/lib/loadsave.php Modified: trunk/lib/loadsave.php =================================================================== --- trunk/lib/loadsave.php 2009-09-22 16:44:24 UTC (rev 7150) +++ trunk/lib/loadsave.php 2009-09-23 08:33:21 UTC (rev 7151) @@ -1522,11 +1522,12 @@ // Ensure that all mandatory pages are loaded $finder = new FileFinder; - if (defined('GFORGE') and GFORGE) { - if (defined('GFORGE') and GFORGE) { + if (! defined('GFORGE') or !GFORGE) { + $mandatory = explode(':','SandBox:TemplateTalk:SpecialPages:CategoryCategory:CategoryActionPage:Help/OldTextFormattingRules:Help/TextFormattingRules:PhpWikiAdministration'); + } else if (WIKI_NAME == "help") { + $mandatory = explode(':','SandBox:TemplateTalk:SpecialPages:CategoryCategory:CategoryActionPage:Help/TextFormattingRules:PhpWikiAdministration'); + } else { $mandatory = explode(':','SandBox:TemplateTalk:SpecialPages:CategoryCategory:CategoryActionPage:TextFormattingRules:PhpWikiAdministration'); - } else { - $mandatory = explode(':','SandBox:TemplateTalk:SpecialPages:CategoryCategory:CategoryActionPage:Help/OldTextFormattingRules:Help/TextFormattingRules:PhpWikiAdministration'); } foreach (array_merge($mandatory, $GLOBALS['AllActionPages'], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |