From: <mo...@us...> - 2003-11-28 14:46:25
|
Update of /cvsroot/tikiwiki/tiki/templates/styles/codex In directory sc8-pr-cvs1:/tmp/cvs-serv25331/templates/styles/codex Modified Files: error.tpl Log Message: fixed display of create link only if page is requested (propagated in styles) Index: error.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/styles/codex/error.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- error.tpl 25 Sep 2003 01:05:24 -0000 1.5 +++ error.tpl 28 Nov 2003 14:46:20 -0000 1.6 @@ -32,6 +32,7 @@ <div class="cbox"> <div class="cbox-title">{tr}Error{/tr}</div> <div class="cbox-data">{$msg}<br /><br /> + {if $page and ($tiki_p_admin eq 'y' or $tiki_p_admin_wiki eq 'y')}<a href="tiki-editpage.php?page={$page}" class="linkmenu">{tr}Create this page{/tr}</a><br /><br />{/if} <a href="javascript:history.back()" class="linkmenu">{tr}Go back{/tr}</a><br /><br /> <a href="{$tikiIndex}" class="linkmenu">{tr}Return to home page{/tr}</a></div> </div> |