From: tommy tomson Date: Thu, 3 May 2012 04:05:55 +0000 (+0200) Subject: diabook-theme: made boxes at right_aside sortable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3521e22333d9050d3feb35b4f9b147d444505904;p=friendica.git diabook-theme: made boxes at right_aside sortable --- diff --git a/view/theme/diabook/bottom.tpl b/view/theme/diabook/bottom.tpl index 8eb71b7dd1..2bb651796a 100644 --- a/view/theme/diabook/bottom.tpl +++ b/view/theme/diabook/bottom.tpl @@ -1,11 +1,6 @@ ', $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; }}