From: <nk...@us...> - 2007-11-22 22:42:20
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv17326/templates Modified Files: Tag: BRANCH-1-10 tiki-editpage.tpl Log Message: [MOD] allow hide prefix also in edit page for staging pages Index: tiki-editpage.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-editpage.tpl,v retrieving revision 1.130.2.4 retrieving revision 1.130.2.5 diff -u -d -r1.130.2.4 -r1.130.2.5 --- tiki-editpage.tpl 22 Nov 2007 22:34:46 -0000 1.130.2.4 +++ tiki-editpage.tpl 22 Nov 2007 22:42:23 -0000 1.130.2.5 @@ -3,7 +3,7 @@ {if $prefs.feature_ajax == 'y'} <script language="JavaScript" src="lib/wiki/wiki-ajax.js"></script> {/if} -<h1>{tr}Edit{/tr}: {$page|escape}{if $pageAlias ne ''} ({$pageAlias|escape}){/if}</h1> +<h1>{tr}Edit{/tr}: {if $beingStaged eq 'y' and $prefs.wikiapproval_hideprefix == 'y'}{$approvedPageName|escape}{else}{$page|escape}{/if}{if $pageAlias ne ''} ({$pageAlias|escape}){/if}</h1> {if $beingStaged eq 'y'} <div class="tocnav"> {tr}You are editing the staging copy of the approved version of this page. Changes will be merged in after approval.{/tr} |