From 3521e22333d9050d3feb35b4f9b147d444505904 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Thu, 3 May 2012 06:05:55 +0200 Subject: diabook-theme: made boxes at right_aside sortable --- view/theme/diabook/theme.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'view/theme/diabook/theme.php') diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 758fb5d91..1d4fd5e28 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -116,6 +116,10 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $imageresizeJS = $a->get_baseurl($ssl_state)."/view/theme/diabook/js/jquery.ae.image.resize.js"; $a->page['htmlhead'] .= sprintf('', $imageresizeJS); + //load jquery.ui.js + $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") { $twitterJS = $a->get_baseurl($ssl_state)."/view/theme/diabook/js/jquery.twitter.search.js"; @@ -133,6 +137,9 @@ if ($color=="dark") $color_path = "/diabook-dark/"; var footer_top = $(document).height() - 30; $("div#footerbox").attr("style", "border-top: 1px solid #D2D2D2; width: 70%;right: 15%;position: absolute;top:"+footer_top+"px;"); }); + + + '; //check if twitterbox is active and print @@ -467,7 +474,7 @@ if ($color=="dark") $color_path = "/diabook-dark/"; //Community_Pages at right_aside if($_COOKIE['close_pages'] != "1") { if(local_user()) { - $page = '
+ $page = '

'.t("Community Pages").'

'; + $page .= ''; //if (sizeof($contacts) > 0) $aside['$page'] = $page; }} -- cgit v1.2.3 From ff2ddc319d4307e56a1bf48f51f8f948fe0736ca Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Thu, 3 May 2012 06:25:23 +0200 Subject: diabook-theme: small fix --- view/theme/diabook/theme.php | 1 + 1 file changed, 1 insertion(+) (limited to 'view/theme/diabook/theme.php') diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 1d4fd5e28..eaf17bea1 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -193,6 +193,7 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $.cookie("close_lastusers","2", { expires: 365, path: "/" }); $.cookie("close_lastphotos","2", { expires: 365, path: "/" }); $.cookie("close_lastlikes","2", { expires: 365, path: "/" }); + $.cookie("Boxorder",null, { expires: 365, path: "/" }); alert("Right-hand column was restored. Please refresh your browser"); } ';} -- cgit v1.2.3