X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdiabook%2Ftheme.php;h=f8fdeb8b1a19bcb3026055f9f314475b18120d63;hb=b5e857c0e7ccf4ef3d33e5b6d0a4325b693a8e80;hp=758fb5d91996e4da525ed55637fa0f1ce5144c62;hpb=a292629215004bcb0edc6f4fdfbf3317d96ea7d0;p=friendica.git diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php old mode 100755 new mode 100644 index 758fb5d919..f8fdeb8b1a --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -116,6 +116,12 @@ 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 + 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") { $twitterJS = $a->get_baseurl($ssl_state)."/view/theme/diabook/js/jquery.twitter.search.js"; @@ -133,6 +139,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 @@ -186,6 +195,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"); } ';} @@ -467,7 +477,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; }}