From: <te...@us...> - 2004-07-01 19:21:56
|
Update of /cvsroot/tikiwiki/tiki/templates/styles/gemsi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30318/templates/styles/gemsi Modified Files: tiki-show_page.tpl Log Message: added admin option for double-click to edit page [wikitext only|whole page|disabled] Index: tiki-show_page.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/styles/gemsi/tiki-show_page.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- tiki-show_page.tpl 30 Jun 2004 20:25:31 -0000 1.6 +++ tiki-show_page.tpl 1 Jul 2004 19:21:15 -0000 1.7 @@ -10,7 +10,8 @@ <small><a class="link" href="tiki-index.php?page_id={$page_id}">{tr}page id{/tr}: {$page_id}</a></small> {/if} -<div class="wikitext"> +<div class="wikitext" +{if $user_dbl eq 'y' and $feature_wiki_dblclickedit eq 'wikitext_only' and $tiki_p_edit eq 'y'}ondblclick="location.href='tiki-editpage.php?page={$page|escape:"url"}';"{/if}> {if $structure eq 'y'} <div class="tocnav"> <table> |