diff options
author | friendica <info@friendica.com> | 2012-05-02 22:38:17 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-05-02 22:38:17 -0700 |
commit | 2bfba93940e9b7eecca7ae3496f1fd24a7cb44f7 (patch) | |
tree | dde5316bc6a4e806c220de480aeb78501cb62629 /view/theme/diabook/theme.php | |
parent | e7ff35f27d7f2a7f7caed63f9bf48bd8104cc336 (diff) | |
parent | ff2ddc319d4307e56a1bf48f51f8f948fe0736ca (diff) | |
download | volse-hubzilla-2bfba93940e9b7eecca7ae3496f1fd24a7cb44f7.tar.gz volse-hubzilla-2bfba93940e9b7eecca7ae3496f1fd24a7cb44f7.tar.bz2 volse-hubzilla-2bfba93940e9b7eecca7ae3496f1fd24a7cb44f7.zip |
Merge https://github.com/friendica/friendica into pull
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 758fb5d91..eaf17bea1 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('<script language="JavaScript" src="%s" ></script>', $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('<script language="JavaScript" src="%s" ></script>', $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;"); }); + + + </script>'; //check if twitterbox is active and print @@ -186,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"); } </script>';} @@ -467,7 +475,7 @@ if ($color=="dark") $color_path = "/diabook-dark/"; //Community_Pages at right_aside if($_COOKIE['close_pages'] != "1") { if(local_user()) { - $page = '<div id="" > + $page = ' <h3 style="margin-top:0px;">'.t("Community Pages").'<a id="close_pages_icon" onClick="close_pages()" class="icon close_box" title="close"></a></h3></div> <div id=""><ul style="margin-left: 7px;margin-top: 0px;padding-left: 0px;padding-top: 0px;">'; @@ -493,7 +501,7 @@ if ($color=="dark") $color_path = "/diabook-dark/"; $page .= '<li style="list-style-type: none;" class="tool"><img height="20" width="20" style="float: left; margin-right: 3px;" src="' . $contact['micro'] .'" alt="' . $contact['url'] . '" /> <a href="'.$a->get_baseurl().'/redir/'.$contact["id"].'" style="margin-top: 2px; word-wrap: break-word; width: 132px;" title="' . $contact['url'] . '" class="label" target="external-link">'. $contact["name"]."</a></li>"; } - $page .= '</ul></div></div>'; + $page .= '</ul></div>'; //if (sizeof($contacts) > 0) $aside['$page'] = $page; }} |