From: <sy...@us...> - 2006-01-19 21:53:35
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3979/templates Modified Files: Tag: BRANCH-1-9 tiki-show_page.tpl Log Message: the edit icon was not showing up when page loked by yourself Index: tiki-show_page.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-show_page.tpl,v retrieving revision 1.74.2.27 retrieving revision 1.74.2.28 diff -u -d -r1.74.2.27 -r1.74.2.28 --- tiki-show_page.tpl 19 Jan 2006 13:00:45 -0000 1.74.2.27 +++ tiki-show_page.tpl 19 Jan 2006 21:53:27 -0000 1.74.2.28 @@ -19,7 +19,7 @@ {/if} {if $print_page ne 'y'} <td style="text-align:right;width:142px;wrap:nowrap"> - {if !$lock and ($tiki_p_edit eq 'y' or $page|lower eq 'sandbox') and $beingEdited ne 'y'} + {if $editable and ($tiki_p_edit eq 'y' or $page|lower eq 'sandbox') and $beingEdited ne 'y'} <a title="{tr}edit{/tr}" href="tiki-editpage.php?page={$page|escape:"url"}"><img src="img/icons/edit.gif" border="0" width="20" height="16" alt="{tr}edit{/tr}" /></a> {/if} {if $wiki_feature_3d eq 'y'} |