From d72db2e1aa68833cbebc1c24ab4e1c6c9c966679 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Thu, 3 May 2012 07:57:40 +0200 Subject: [PATCH] diabook-theme: small fix --- view/theme/diabook/communityhome.tpl | 4 ++-- view/theme/diabook/theme.php | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/view/theme/diabook/communityhome.tpl b/view/theme/diabook/communityhome.tpl index 87b825d987..0386d63d36 100755 --- a/view/theme/diabook/communityhome.tpl +++ b/view/theme/diabook/communityhome.tpl @@ -1,9 +1,9 @@ -
+
-
+
{{ if $page }}
$page
{{ endif }} diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index eaf17bea17..f8fdeb8b1a 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -117,8 +117,10 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $a->page['htmlhead'] .= sprintf('', $imageresizeJS); //load jquery.ui.js + if($ccCookie != "9") { $jqueryuiJS = $a->get_baseurl($ssl_state)."/view/theme/diabook/js/jquery-ui-1.8.20.custom.min.js"; $a->page['htmlhead'] .= sprintf('', $jqueryuiJS); + } //load jquery.twitter.search.js if($_COOKIE['close_twitter'] != "1") {