commit
0bf22d64f6
|
@ -1,17 +1,22 @@
|
||||||
|
<div id="close_pages">
|
||||||
{{ if $page }}
|
{{ if $page }}
|
||||||
<div>$page</div>
|
<div>$page</div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="close_helpers">
|
||||||
{{ if $lastusers_title }}
|
{{ if $lastusers_title }}
|
||||||
<h3 style="margin-top:0px;">Help or @NewHere ?</h3>
|
<h3 style="margin-top:0px;">Help or @NewHere ?<a id="close_helpers_icon" onClick="close_helpers()" class="icon close_box"></a></h3>
|
||||||
<a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; " title="Friendica Support" target="blank">Friendica Support</a><br>
|
<a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; " title="Friendica Support" target="blank">Friendica Support</a><br>
|
||||||
<a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; " title="Let's talk" target="blank">Let's talk</a><br>
|
<a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; " title="Let's talk" target="blank">Let's talk</a><br>
|
||||||
<a href="http://newzot.hydra.uberspace.de/profile/newzot" title="Local Friendica" style="margin-left: 10px; " target="blank">Local Friendica</a>
|
<a href="http://newzot.hydra.uberspace.de/profile/newzot" title="Local Friendica" style="margin-left: 10px; " target="blank">Local Friendica</a>
|
||||||
<a href="http://kakste.com/profile/newhere" title="@NewHere" style="margin-left: 10px; " target="blank">NewHere</a>
|
<a href="http://kakste.com/profile/newhere" title="@NewHere" style="margin-left: 10px; " target="blank">NewHere</a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="close_services">
|
||||||
{{ if $lastusers_title }}
|
{{ if $lastusers_title }}
|
||||||
<h3>Connectable Services</h3>
|
<h3>Connectable Services<a id="close_services_icon" onClick="close_services()" class="icon close_box"></a></h3>
|
||||||
<div id="right_service_icons" style="margin-left: 11px; margin-top: 5px;">
|
<div id="right_service_icons" style="margin-left: 11px; margin-top: 5px;">
|
||||||
<a href="$url/facebook"><img alt="Facebook" src="view/theme/diabook/icons/facebook.png" title="Facebook"></a>
|
<a href="$url/facebook"><img alt="Facebook" src="view/theme/diabook/icons/facebook.png" title="Facebook"></a>
|
||||||
<a href="$url/settings/connectors"><img alt="StatusNet" src="view/theme/diabook/icons/StatusNet.png?" title="StatusNet"></a>
|
<a href="$url/settings/connectors"><img alt="StatusNet" src="view/theme/diabook/icons/StatusNet.png?" title="StatusNet"></a>
|
||||||
|
@ -23,28 +28,35 @@
|
||||||
<a href="$url/settings/connectors"><img alt="E-Mail" src="view/theme/diabook/icons/email.png?" title="E-Mail"></a>
|
<a href="$url/settings/connectors"><img alt="E-Mail" src="view/theme/diabook/icons/email.png?" title="E-Mail"></a>
|
||||||
</div>
|
</div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="close_friends">
|
||||||
{{ if $nv }}
|
{{ if $nv }}
|
||||||
<h3>Find Friends</h3>
|
<h3>Find Friends<a id="close_friends_icon" onClick="close_friends()" class="icon close_box"></a></h3>
|
||||||
<a class="$nv.directory.2" href="$nv.directory.0" style="margin-left: 10px; " title="$nv.directory.3" >$nv.directory.1</a><br>
|
<a class="$nv.directory.2" href="$nv.directory.0" style="margin-left: 10px; " title="$nv.directory.3" >$nv.directory.1</a><br>
|
||||||
<a class="$nv.match.2" href="$nv.match.0" style="margin-left: 10px; " title="$nv.match.3" >$nv.match.1</a><br>
|
<a class="$nv.match.2" href="$nv.match.0" style="margin-left: 10px; " title="$nv.match.3" >$nv.match.1</a><br>
|
||||||
<a class="$nv.suggest.2" href="$nv.suggest.0" style="margin-left: 10px; " title="$nv.suggest.3" >$nv.suggest.1</a>
|
<a class="$nv.suggest.2" href="$nv.suggest.0" style="margin-left: 10px; " title="$nv.suggest.3" >$nv.suggest.1</a>
|
||||||
<a class="$nv.invite.2" href="$nv.invite.0" style="margin-left: 10px; " title="$nav.invite.3" >$nv.invite.1</a>
|
<a class="$nv.invite.2" href="$nv.invite.0" style="margin-left: 10px; " title="$nav.invite.3" >$nv.invite.1</a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="close_postit">
|
||||||
{{ if $lastusers_title }}
|
{{ if $lastusers_title }}
|
||||||
<h3>PostIt to Friendica</h3>
|
<h3>PostIt to Friendica<a id="close_postit_icon" onClick="close_postit()" class="icon close_box"></a></h3>
|
||||||
<div style="padding-left: 8px;"><span ><a href="$fostitJS" title="PostIt">Post to Friendica</a> from anywhere by bookmarking this Link.</span></div>
|
<div style="padding-left: 8px;"><span ><a href="$fostitJS" title="PostIt">Post to Friendica</a> from anywhere by bookmarking this Link.</span></div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="close_lastusers">
|
||||||
{{ if $lastusers_title }}
|
{{ if $lastusers_title }}
|
||||||
<h3>$lastusers_title</h3>
|
<h3>$lastusers_title<a id="close_lastusers_icon" onClick="close_lastusers()" class="icon close_box"></a></h3>
|
||||||
<div id='lastusers-wrapper' class='items-wrapper'>
|
<div id='lastusers-wrapper' class='items-wrapper'>
|
||||||
{{ for $lastusers_items as $i }}
|
{{ for $lastusers_items as $i }}
|
||||||
$i
|
$i
|
||||||
{{ endfor }}
|
{{ endfor }}
|
||||||
</div>
|
</div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ if $activeusers_title }}
|
{{ if $activeusers_title }}
|
||||||
<h3>$activeusers_title</h3>
|
<h3>$activeusers_title</h3>
|
||||||
|
@ -55,20 +67,24 @@
|
||||||
</div>
|
</div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
||||||
|
<div id="close_lastphotos">
|
||||||
{{ if $photos_title }}
|
{{ if $photos_title }}
|
||||||
<h3>$photos_title</h3>
|
<h3>$photos_title<a id="close_photos_icon" onClick="close_lastphotos()" class="icon close_box"></a></h3>
|
||||||
<div id='ra-photos-wrapper' class='items-wrapper'>
|
<div id='ra-photos-wrapper' class='items-wrapper'>
|
||||||
{{ for $photos_items as $i }}
|
{{ for $photos_items as $i }}
|
||||||
$i
|
$i
|
||||||
{{ endfor }}
|
{{ endfor }}
|
||||||
</div>
|
</div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="close_lastlikes">
|
||||||
{{ if $like_title }}
|
{{ if $like_title }}
|
||||||
<h3>$like_title</h3>
|
<h3>$like_title<a id="close_lastlikes_icon" onClick="close_lastlikes()" class="icon close_box"></a></h3>
|
||||||
<ul id='likes'>
|
<ul id='likes'>
|
||||||
{{ for $like_items as $i }}
|
{{ for $like_items as $i }}
|
||||||
<li id='ra-photos-wrapper'>$i</li>
|
<li id='ra-photos-wrapper'>$i</li>
|
||||||
{{ endfor }}
|
{{ endfor }}
|
||||||
</ul>
|
</ul>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
BIN
view/theme/diabook/icons/close_box.png
Executable file
BIN
view/theme/diabook/icons/close_box.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 206 B |
Binary file not shown.
Before Width: | Height: | Size: 263 B |
47
view/theme/diabook/js/jquery.cookie.js
Normal file
47
view/theme/diabook/js/jquery.cookie.js
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
/*!
|
||||||
|
* jQuery Cookie Plugin
|
||||||
|
* https://github.com/carhartl/jquery-cookie
|
||||||
|
*
|
||||||
|
* Copyright 2011, Klaus Hartl
|
||||||
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||||
|
* http://www.opensource.org/licenses/mit-license.php
|
||||||
|
* http://www.opensource.org/licenses/GPL-2.0
|
||||||
|
*/
|
||||||
|
(function($) {
|
||||||
|
$.cookie = function(key, value, options) {
|
||||||
|
|
||||||
|
// key and at least value given, set cookie...
|
||||||
|
if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value === null || value === undefined)) {
|
||||||
|
options = $.extend({}, options);
|
||||||
|
|
||||||
|
if (value === null || value === undefined) {
|
||||||
|
options.expires = -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (typeof options.expires === 'number') {
|
||||||
|
var days = options.expires, t = options.expires = new Date();
|
||||||
|
t.setDate(t.getDate() + days);
|
||||||
|
}
|
||||||
|
|
||||||
|
value = String(value);
|
||||||
|
|
||||||
|
return (document.cookie = [
|
||||||
|
encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value),
|
||||||
|
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
|
||||||
|
options.path ? '; path=' + options.path : '',
|
||||||
|
options.domain ? '; domain=' + options.domain : '',
|
||||||
|
options.secure ? '; secure' : ''
|
||||||
|
].join(''));
|
||||||
|
}
|
||||||
|
|
||||||
|
// key and possibly options given, get cookie...
|
||||||
|
options = value || {};
|
||||||
|
var decode = options.raw ? function(s) { return s; } : decodeURIComponent;
|
||||||
|
|
||||||
|
var pairs = document.cookie.split('; ');
|
||||||
|
for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) {
|
||||||
|
if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
};
|
||||||
|
})(jQuery);
|
|
@ -909,25 +909,25 @@ ul.menu-popup .empty {
|
||||||
}
|
}
|
||||||
/*http://prothemedesign.com/circular-icons/*/
|
/*http://prothemedesign.com/circular-icons/*/
|
||||||
.menu-profile-list.home{
|
.menu-profile-list.home{
|
||||||
background: url("../../../view/theme/diabook-blue/icons/home.png") no-repeat;
|
background: url("../../../view/theme/diabook/icons/home.png") no-repeat;
|
||||||
}
|
}
|
||||||
.menu-profile-list.photos{
|
.menu-profile-list.photos{
|
||||||
background: url("../../../view/theme/diabook-blue/icons/mess_side.png") no-repeat;
|
background: url("../../../view/theme/diabook/icons/mess_side.png") no-repeat;
|
||||||
}
|
}
|
||||||
.menu-profile-list.events{
|
.menu-profile-list.events{
|
||||||
background: url("../../../view/theme/diabook-blue/icons/events.png") no-repeat;
|
background: url("../../../view/theme/diabook/icons/events.png") no-repeat;
|
||||||
}
|
}
|
||||||
.menu-profile-list.notes{
|
.menu-profile-list.notes{
|
||||||
background: url("../../../view/theme/diabook-blue/icons/notes.png") no-repeat;
|
background: url("../../../view/theme/diabook/icons/notes.png") no-repeat;
|
||||||
}
|
}
|
||||||
.menu-profile-list.foren{
|
.menu-profile-list.foren{
|
||||||
background: url("../../../view/theme/diabook-blue/icons/pubgroups.png") no-repeat;
|
background: url("../../../view/theme/diabook/icons/pubgroups.png") no-repeat;
|
||||||
}
|
}
|
||||||
.menu-profile-list.com_side{
|
.menu-profile-list.com_side{
|
||||||
background: url("../../../view/theme/diabook-blue/icons/com_side.png") no-repeat;
|
background: url("../../../view/theme/diabook/icons/com_side.png") no-repeat;
|
||||||
}
|
}
|
||||||
.menu-profile-list.pscontacts{
|
.menu-profile-list.pscontacts{
|
||||||
background: url("../../../view/theme/diabook-blue/icons/pscontacts.png") no-repeat;
|
background: url("../../../view/theme/diabook/icons/pscontacts.png") no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* aside */
|
/* aside */
|
||||||
|
@ -1156,8 +1156,7 @@ body .pageheader{
|
||||||
right_aside {
|
right_aside {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 160px;
|
width: 170px;
|
||||||
padding-right: 10px;
|
|
||||||
/*border-left: 1px solid #D2D2D2;*/
|
/*border-left: 1px solid #D2D2D2;*/
|
||||||
|
|
||||||
/* background: #F1F1F1; */
|
/* background: #F1F1F1; */
|
||||||
|
@ -1173,8 +1172,9 @@ right_aside #lastusers-wrapper { padding-left: 6px; padding-top: 3px; overflow:
|
||||||
right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: auto; width: 100%; }
|
right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: auto; width: 100%; }
|
||||||
#page-sidebar-right_aside{margin-top: 0px; margin-bottom: 30px;}
|
#page-sidebar-right_aside{margin-top: 0px; margin-bottom: 30px;}
|
||||||
#page-sidebar-right_aside ul {margin-top: 0px;}
|
#page-sidebar-right_aside ul {margin-top: 0px;}
|
||||||
.icon.expand {
|
right_aside .icon {width: 10px; height: 10px;}
|
||||||
background-image: url("../../../view/theme/diabook/icons/expand.png");
|
.close_box {
|
||||||
|
background-image: url("../../../view/theme/diabook-blue/icons/close_box.png");
|
||||||
float: right;
|
float: right;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1151,8 +1151,8 @@ body .pageheader{
|
||||||
right_aside {
|
right_aside {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 160px;
|
width: 170px;
|
||||||
padding-right: 10px;
|
|
||||||
/*border-left: 1px solid #D2D2D2;*/
|
/*border-left: 1px solid #D2D2D2;*/
|
||||||
|
|
||||||
/* background: #F1F1F1; */
|
/* background: #F1F1F1; */
|
||||||
|
@ -1168,6 +1168,12 @@ right_aside #lastusers-wrapper { padding-left: 6px; padding-top: 3px; overflow:
|
||||||
right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: auto; width: 100%; }
|
right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: auto; width: 100%; }
|
||||||
#page-sidebar-right_aside{margin-top: 0px; margin-bottom: 30px;}
|
#page-sidebar-right_aside{margin-top: 0px; margin-bottom: 30px;}
|
||||||
#page-sidebar-right_aside ul {margin-top: 0px;}
|
#page-sidebar-right_aside ul {margin-top: 0px;}
|
||||||
|
right_aside .icon {width: 10px; height: 10px;}
|
||||||
|
.close_box {
|
||||||
|
background-image: url("../../../view/theme/diabook-blue/icons/close_box.png");
|
||||||
|
float: right;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
/* wall item */
|
/* wall item */
|
||||||
.tread-wrapper {
|
.tread-wrapper {
|
||||||
border-bottom: 1px solid #D2D2D2;
|
border-bottom: 1px solid #D2D2D2;
|
||||||
|
|
|
@ -924,6 +924,9 @@ ul.menu-popup .empty {
|
||||||
.menu-profile-list.com_side{
|
.menu-profile-list.com_side{
|
||||||
background: url("../../../view/theme/diabook-blue/icons/com_side.png") no-repeat;
|
background: url("../../../view/theme/diabook-blue/icons/com_side.png") no-repeat;
|
||||||
}
|
}
|
||||||
|
.menu-profile-list.pscontacts{
|
||||||
|
background: url("../../../view/theme/diabook/icons/pscontacts.png") no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
/* aside */
|
/* aside */
|
||||||
aside {
|
aside {
|
||||||
|
|
|
@ -151,9 +151,10 @@ function diabook_community_info(){
|
||||||
};
|
};
|
||||||
|
|
||||||
//Community Page
|
//Community Page
|
||||||
|
if(local_user()) {
|
||||||
$page = '<div id="page-sidebar-right_aside" class="widget">
|
$page = '<div id="page-sidebar-right_aside" class="widget">
|
||||||
<div class="title tool">
|
<div class="title tool">
|
||||||
<h3>'.t("Community Pages").'</h3></div>
|
<h3>'.t("Community Pages").'<a id="close_pages_icon" onClick="close_pages()" class="icon close_box"></a></h3></div>
|
||||||
<div id="sidebar-page-list"><ul>';
|
<div id="sidebar-page-list"><ul>';
|
||||||
|
|
||||||
$pagelist = array();
|
$pagelist = array();
|
||||||
|
@ -178,9 +179,10 @@ function diabook_community_info(){
|
||||||
$contact["name"]."</a></li>";
|
$contact["name"]."</a></li>";
|
||||||
}
|
}
|
||||||
$page .= '</ul></div></div>';
|
$page .= '</ul></div></div>';
|
||||||
if (sizeof($contacts) > 0)
|
//if (sizeof($contacts) > 0)
|
||||||
|
|
||||||
$aside['$page'] = $page;
|
$aside['$page'] = $page;
|
||||||
|
}
|
||||||
//END Community Page
|
//END Community Page
|
||||||
|
|
||||||
|
|
||||||
|
@ -227,31 +229,38 @@ if ($a->argv[0] === "network" && local_user()){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$ccCookie = $_COOKIE['close_pages'] + $_COOKIE['close_helpers'] + $_COOKIE['close_services'] + $_COOKIE['close_friends'] + $_COOKIE['close_postit'] + $_COOKIE['close_lastusers'] + $_COOKIE['close_lastphotos'] + $_COOKIE['close_lastlikes'];
|
||||||
|
|
||||||
|
if($ccCookie != "8") {
|
||||||
// COMMUNITY
|
// COMMUNITY
|
||||||
diabook_community_info();
|
diabook_community_info();
|
||||||
|
|
||||||
// CUSTOM CSS
|
// CUSTOM CSS
|
||||||
$cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook/style-network.css";
|
$cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook/style-network.css";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//right_aside at profile pages
|
//right_aside at profile pages
|
||||||
if ($a->argv[0] === "profile"){
|
if ($a->argv[0] === "profile"){
|
||||||
|
if($ccCookie != "8") {
|
||||||
// COMMUNITY
|
// COMMUNITY
|
||||||
diabook_community_info();
|
diabook_community_info();
|
||||||
|
|
||||||
// CUSTOM CSS
|
// CUSTOM CSS
|
||||||
$cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook/style-profile.css";
|
$cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook/style-profile.css";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// custom css
|
// custom css
|
||||||
if (!is_null($cssFile)) $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
if (!is_null($cssFile)) $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
||||||
|
|
||||||
|
//load jquery.cookie.js
|
||||||
|
$cookieJS = $a->get_baseurl($ssl_state)."/view/theme/diabook-blue/js/jquery.cookie.js";
|
||||||
|
$a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" />', $cookieJS);
|
||||||
|
|
||||||
//js scripts
|
//js scripts
|
||||||
|
|
||||||
$a->page['htmlhead'] .= <<< EOT
|
$a->page['htmlhead'] .= <<< EOT
|
||||||
|
@ -262,5 +271,95 @@ $a->page['htmlhead'] .= <<< EOT
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
$("right_aside").ready(function(){
|
||||||
|
|
||||||
|
if($.cookie('close_pages') == '1')
|
||||||
|
{
|
||||||
|
document.getElementById( "close_pages" ).style.display = "none";
|
||||||
|
};
|
||||||
|
|
||||||
|
if($.cookie('close_helpers') == '1')
|
||||||
|
{
|
||||||
|
document.getElementById( "close_helpers" ).style.display = "none";
|
||||||
|
};
|
||||||
|
|
||||||
|
if($.cookie('close_services') == '1')
|
||||||
|
{
|
||||||
|
document.getElementById( "close_services" ).style.display = "none";
|
||||||
|
};
|
||||||
|
|
||||||
|
if($.cookie('close_friends') == '1')
|
||||||
|
{
|
||||||
|
document.getElementById( "close_friends" ).style.display = "none";
|
||||||
|
};
|
||||||
|
|
||||||
|
if($.cookie('close_postit') == '1')
|
||||||
|
{
|
||||||
|
document.getElementById( "close_postit" ).style.display = "none";
|
||||||
|
};
|
||||||
|
|
||||||
|
if($.cookie('close_lastusers') == '1')
|
||||||
|
{
|
||||||
|
document.getElementById( "close_lastusers" ).style.display = "none";
|
||||||
|
};
|
||||||
|
|
||||||
|
if($.cookie('close_lastphotos') == '1')
|
||||||
|
{
|
||||||
|
document.getElementById( "close_lastphotos" ).style.display = "none";
|
||||||
|
};
|
||||||
|
|
||||||
|
if($.cookie('close_lastlikes') == '1')
|
||||||
|
{
|
||||||
|
document.getElementById( "close_lastlikes" ).style.display = "none";
|
||||||
|
};}
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
function close_pages(){
|
||||||
|
document.getElementById( "close_pages" ).style.display = "none";
|
||||||
|
$.cookie('close_pages','1', { expires: 365, path: '/' });
|
||||||
|
};
|
||||||
|
|
||||||
|
function close_helpers(){
|
||||||
|
document.getElementById( "close_helpers" ).style.display = "none";
|
||||||
|
$.cookie('close_helpers','1', { expires: 365, path: '/' });
|
||||||
|
};
|
||||||
|
|
||||||
|
function close_services(){
|
||||||
|
document.getElementById( "close_services" ).style.display = "none";
|
||||||
|
$.cookie('close_services','1', { expires: 365, path: '/' });
|
||||||
|
};
|
||||||
|
|
||||||
|
function close_friends(){
|
||||||
|
document.getElementById( "close_friends" ).style.display = "none";
|
||||||
|
$.cookie('close_friends','1', { expires: 365, path: '/' });
|
||||||
|
};
|
||||||
|
|
||||||
|
function close_postit(){
|
||||||
|
document.getElementById( "close_postit" ).style.display = "none";
|
||||||
|
$.cookie('close_postit','1', { expires: 365, path: '/' });
|
||||||
|
};
|
||||||
|
|
||||||
|
function close_lastusers(){
|
||||||
|
document.getElementById( "close_lastusers" ).style.display = "none";
|
||||||
|
$.cookie('close_lastusers','1', { expires: 365, path: '/' });
|
||||||
|
};
|
||||||
|
|
||||||
|
function close_lastphotos(){
|
||||||
|
document.getElementById( "close_lastphotos" ).style.display = "none";
|
||||||
|
$.cookie('close_lastphotos','1', { expires: 365, path: '/' });
|
||||||
|
};
|
||||||
|
|
||||||
|
function close_lastlikes(){
|
||||||
|
document.getElementById( "close_lastlikes" ).style.display = "none";
|
||||||
|
$.cookie('close_lastlikes','1', { expires: 365, path: '/' });
|
||||||
|
};
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue