aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-03-27 08:28:47 +0200
committertommy tomson <thomas.bierey@gmx.de>2012-03-27 08:28:47 +0200
commite7bc3f2bd0f578d04c271029d869e1fbc36cbec4 (patch)
tree530e49fd6e68152f5a0fc1c0eded3d3491363ccf /view/theme/diabook/theme.php
parentb9d976e31b35cfb2307eb1396edf4e011657e175 (diff)
downloadvolse-hubzilla-e7bc3f2bd0f578d04c271029d869e1fbc36cbec4.tar.gz
volse-hubzilla-e7bc3f2bd0f578d04c271029d869e1fbc36cbec4.tar.bz2
volse-hubzilla-e7bc3f2bd0f578d04c271029d869e1fbc36cbec4.zip
add "find friends" to right_aside to diabook, fixes in css in diabook
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-xview/theme/diabook/theme.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index 798eef422..6eb623d95 100755
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -139,6 +139,17 @@ function diabook_community_info(){
$aside['$fostitJS'] = $fostitJS;
+ //right_aside FIND FRIENDS
+ if(local_user()) {
+ $nv = array();
+ $nv['directory'] = Array('directory', t('Directory'), "", "");
+ $nv['match'] = Array('match', t('Similar Interests'), "", "");
+ $nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", "");
+ $nv['invite'] = Array('invite', t('Invite Friends'), "", "");
+
+ $aside['$nv'] = $nv;
+ };
+
//Community Page
$page = '<div id="page-sidebar-right_aside" class="widget">
<div class="title tool">
@@ -200,6 +211,7 @@ if ($a->argv[0] === "network" && local_user()){
$ps = array('usermenu'=>array());
$ps['usermenu']['status'] = Array('profile/' . $a->user['nickname'], t('Home'), "", t('Your posts and conversations'));
$ps['usermenu']['profile'] = Array('profile/' . $a->user['nickname']. '?tab=profile', t('Profile'), "", t('Your profile page'));
+ $ps['usermenu']['contacts'] = Array('contacts' , t('Contacts'), "", t('Your contacts'));
$ps['usermenu']['photos'] = Array('photos/' . $a->user['nickname'], t('Photos'), "", t('Your photos'));
$ps['usermenu']['events'] = Array('events/', t('Events'), "", t('Your events'));
$ps['usermenu']['notes'] = Array('notes/', t('Personal notes'), "", t('Your personal photos'));