summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-05 21:52:50 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-05 21:52:50 +0000
commit7a1f6470543b0d78d22485a8bd4a1c9c2f4ca768 (patch)
tree8fa8f4adf8488e8b3d3593c12f81d4ac11bc8ea8
parent6cb3c42b92db2a7f90b47b116bad46943e34c979 (diff)
downloadwiki-7a1f6470543b0d78d22485a8bd4a1c9c2f4ca768.tar.gz
wiki-7a1f6470543b0d78d22485a8bd4a1c9c2f4ca768.tar.bz2
wiki-7a1f6470543b0d78d22485a8bd4a1c9c2f4ca768.zip
use more getPreference() calls
-rw-r--r--templates/page_display.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page_display.tpl b/templates/page_display.tpl
index 7b5958a..9737af3 100644
--- a/templates/page_display.tpl
+++ b/templates/page_display.tpl
@@ -1,5 +1,5 @@
{strip}
-<div class="body"{if $user_dbl eq 'y' and $dblclickedit eq 'y' and $gBitUser->hasPermission( 'bit_p_edit' )} ondblclick="location.href='{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$pageInfo.page_id}';"{/if}>
+<div class="body"{if $gBitUser->getPreference( 'user_dbl' ) and $gBitUser->hasPermission( 'bit_p_edit' )} ondblclick="location.href='{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$pageInfo.page_id}';"{/if}>
<div class="content">
{if $gBitSystem->isFeatureActive( 'liberty_auto_display_attachment_thumbs' )}
{include file="bitpackage:liberty/storage_thumbs.tpl"}