aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook-blue/theme.php
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-03-29 11:02:59 +0200
committertommy tomson <thomas.bierey@gmx.de>2012-03-29 11:02:59 +0200
commit339c8a4b56f3f9d9b1557fbb393821602f62cc54 (patch)
tree996155347def0fd877b69885edccce3962e273aa /view/theme/diabook-blue/theme.php
parent3ee529d095ac7e83ae1e71d86cbe6d443885d54e (diff)
downloadvolse-hubzilla-339c8a4b56f3f9d9b1557fbb393821602f62cc54.tar.gz
volse-hubzilla-339c8a4b56f3f9d9b1557fbb393821602f62cc54.tar.bz2
volse-hubzilla-339c8a4b56f3f9d9b1557fbb393821602f62cc54.zip
css fixes in diabook-derivates
Diffstat (limited to 'view/theme/diabook-blue/theme.php')
-rwxr-xr-xview/theme/diabook-blue/theme.php19
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>