From 3521e22333d9050d3feb35b4f9b147d444505904 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Thu, 3 May 2012 06:05:55 +0200 Subject: [PATCH] diabook-theme: made boxes at right_aside sortable --- view/theme/diabook/bottom.tpl | 26 ++++++++++--- view/theme/diabook/communityhome.tpl | 8 +++- .../diabook-aerith/style-network-wide.css | 4 +- .../diabook/diabook-aerith/style-network.css | 4 +- .../diabook-aerith/style-profile-wide.css | 4 +- .../diabook/diabook-aerith/style-profile.css | 4 +- .../diabook-blue/style-network-wide.css | 4 +- .../diabook/diabook-blue/style-network.css | 4 +- .../diabook-blue/style-profile-wide.css | 4 +- .../diabook/diabook-blue/style-profile.css | 4 +- .../diabook-green/style-network-wide.css | 4 +- .../diabook/diabook-green/style-network.css | 4 +- .../diabook-green/style-profile-wide.css | 4 +- .../diabook/diabook-green/style-profile.css | 4 +- .../diabook-pink/style-network-wide.css | 4 +- .../diabook/diabook-pink/style-network.css | 4 +- .../diabook-pink/style-profile-wide.css | 4 +- .../diabook/diabook-pink/style-profile.css | 4 +- .../diabook-red/style-network-wide.css | 4 +- .../diabook/diabook-red/style-network.css | 4 +- .../diabook-red/style-profile-wide.css | 4 +- .../diabook/diabook-red/style-profile.css | 4 +- .../diabook/js/jquery-ui-1.8.20.custom.min.js | 37 +++++++++++++++++++ view/theme/diabook/style-network-wide.css | 4 +- view/theme/diabook/style-network.css | 4 +- view/theme/diabook/style-profile-wide.css | 4 +- view/theme/diabook/style-profile.css | 4 +- view/theme/diabook/style-wide.css | 1 + view/theme/diabook/theme.php | 11 +++++- 29 files changed, 122 insertions(+), 57 deletions(-) create mode 100644 view/theme/diabook/js/jquery-ui-1.8.20.custom.min.js 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; }}