From: <var...@us...> - 2009-09-22 16:44:32
|
Revision: 7150 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7150&view=rev Author: vargenau Date: 2009-09-22 16:44:24 +0000 (Tue, 22 Sep 2009) Log Message: ----------- In Gforge "help" wiki, use Help/TextFormattingRules instead of TextFormattingRules when editing a page Modified Paths: -------------- trunk/lib/loadsave.php trunk/themes/gforge/templates/editpage.tmpl Modified: trunk/lib/loadsave.php =================================================================== --- trunk/lib/loadsave.php 2009-09-22 12:57:43 UTC (rev 7149) +++ trunk/lib/loadsave.php 2009-09-22 16:44:24 UTC (rev 7150) @@ -1523,6 +1523,7 @@ $finder = new FileFinder; if (defined('GFORGE') and GFORGE) { + if (defined('GFORGE') and GFORGE) { $mandatory = explode(':','SandBox:TemplateTalk:SpecialPages:CategoryCategory:CategoryActionPage:TextFormattingRules:PhpWikiAdministration'); } else { $mandatory = explode(':','SandBox:TemplateTalk:SpecialPages:CategoryCategory:CategoryActionPage:Help/OldTextFormattingRules:Help/TextFormattingRules:PhpWikiAdministration'); Modified: trunk/themes/gforge/templates/editpage.tmpl =================================================================== --- trunk/themes/gforge/templates/editpage.tmpl 2009-09-22 12:57:43 UTC (rev 7149) +++ trunk/themes/gforge/templates/editpage.tmpl 2009-09-22 16:44:24 UTC (rev 7150) @@ -79,5 +79,9 @@ <hr noshade="noshade" /> <div class="wiki-edithelp"> +<?php if (WIKI_NAME == "help") { ?> +<?plugin IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1?> +<?php } else { ?> <?plugin IncludePage page=_("TextFormattingRules") section=_("Synopsis") quiet=1?> +<?php } ?> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |