diff options
author | zottel <github@zottel.net> | 2012-03-30 09:03:43 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-03-30 09:03:43 +0200 |
commit | 2212e6931096d188be2dea27bcb4877f16c5c2f8 (patch) | |
tree | a0a6b3cec6b1b4108c62ff689e8842d49226b982 /view/theme/diabook-blue/theme.php | |
parent | 953840cf822718cba66a0727b576c674c6e44875 (diff) | |
parent | d22b3a1d9c295f5545cc20e1af786cb79e6553a5 (diff) | |
download | volse-hubzilla-2212e6931096d188be2dea27bcb4877f16c5c2f8.tar.gz volse-hubzilla-2212e6931096d188be2dea27bcb4877f16c5c2f8.tar.bz2 volse-hubzilla-2212e6931096d188be2dea27bcb4877f16c5c2f8.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/theme/diabook-blue/theme.php')
-rwxr-xr-x | view/theme/diabook-blue/theme.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index de3042dbf..667b0f26b 100755 --- a/view/theme/diabook-blue/theme.php +++ b/view/theme/diabook-blue/theme.php @@ -144,6 +144,13 @@ function diabook_blue_community_info(){ $nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", ""); $nv['invite'] = Array('invite', t('Invite Friends'), "", ""); + $nv['search'] = '<form name="simple_bar" method="get" action="http://dir.friendika.com/directory"> + <span class="sbox_l"></span> + <span class="sbox"> + <input type="text" name="search" size="13" maxlength="50"> + </span> + <span class="sbox_r" id="srch_clear"></span>'; + $aside['$nv'] = $nv; }; //Community Page @@ -353,6 +360,18 @@ function close_lastlikes(){ document.getElementById( "close_lastlikes" ).style.display = "none"; $.cookie('close_lastlikes','1', { expires: 365, path: '/' }); }; + +function restore_boxes(){ + $.cookie('close_pages','2', { expires: 365, path: '/' }); + $.cookie('close_helpers','2', { expires: 365, path: '/' }); + $.cookie('close_services','2', { expires: 365, path: '/' }); + $.cookie('close_friends','2', { expires: 365, path: '/' }); + $.cookie('close_postit','2', { expires: 365, path: '/' }); + $.cookie('close_lastusers','2', { expires: 365, path: '/' }); + $.cookie('close_lastphotos','2', { expires: 365, path: '/' }); + $.cookie('close_lastlikes','2', { expires: 365, path: '/' }); + alert('Right-hand column was restored. Please refresh your browser'); + }; </script> |