summaryrefslogtreecommitdiff
path: root/templates/page_display.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page_display.tpl')
-rwxr-xr-x[-rw-r--r--]templates/page_display.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page_display.tpl b/templates/page_display.tpl
index 4674e2f..b411d76 100644..100755
--- a/templates/page_display.tpl
+++ b/templates/page_display.tpl
@@ -1,8 +1,8 @@
{strip}
-<div class="body"{if $gBitUser->getPreference( 'users_double_click' ) and $gContent->hasUpdatePermission()} ondblclick="location.href='{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$pageInfo.page_id}';"{/if}>
+<div class="body"{if $gBitUser->getPreference( 'users_double_click' ) and $gContent->hasUpdatePermission()} ondblclick="location.href='{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$gContent->mInfo.page_id}';"{/if}>
<div class="content">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$gContent->mInfo}
- {$pageInfo.parsed_data}
+ {$gContent->mInfo.parsed_data|highlight}
<div class="clear"></div>
{if $gBitSystem->isFeatureActive( 'liberty_auto_display_attachment_thumbs' )}
{include file="bitpackage:liberty/storage_thumbs.tpl"}