aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-03-27 23:27:43 +0200
committertommy tomson <thomas.bierey@gmx.de>2012-03-27 23:27:43 +0200
commit211d00a1f550094931e737b062d7f70797bde652 (patch)
treedbc1e415847eb2da467df83c0f716f4e8cafa068 /view/theme/diabook/theme.php
parent0bf22d64f66dc425dc340bb2dc54b6c01ef7fb85 (diff)
downloadvolse-hubzilla-211d00a1f550094931e737b062d7f70797bde652.tar.gz
volse-hubzilla-211d00a1f550094931e737b062d7f70797bde652.tar.bz2
volse-hubzilla-211d00a1f550094931e737b062d7f70797bde652.zip
fixes in diabook
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-xview/theme/diabook/theme.php19
1 files changed, 17 insertions, 2 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index 5a447cc9b..53424a084 100755
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -154,7 +154,7 @@ function diabook_community_info(){
if(local_user()) {
$page = '<div id="page-sidebar-right_aside" class="widget">
<div class="title tool">
- <h3>'.t("Community Pages").'<a id="close_pages_icon" onClick="close_pages()" class="icon close_box"></a></h3></div>
+ <h3>'.t("Community Pages").'<a id="close_pages_icon" onClick="close_pages()" class="icon close_box" title="close"></a></h3></div>
<div id="sidebar-page-list"><ul>';
$pagelist = array();
@@ -218,7 +218,7 @@ if ($a->argv[0] === "network" && local_user()){
$ps['usermenu']['events'] = Array('events/', t('Events'), "", t('Your events'));
$ps['usermenu']['notes'] = Array('notes/', t('Personal notes'), "", t('Your personal photos'));
$ps['usermenu']['community'] = Array('community/', t('Community'), "", "");
- $ps['usermenu']['pgroups'] = Array('http://dir.friendica.com/directory/forum', t('Public Groups'), "", "");
+ $ps['usermenu']['pgroups'] = Array('http://dir.friendica.com/directory/forum', t('Community Pages'), "", "");
$tpl = get_markup_template('profile_side.tpl');
@@ -358,6 +358,21 @@ function close_lastlikes(){
$.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 column was restored');
+ };
+
+
</script>