aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-27 03:23:50 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-03-27 03:23:50 -0400
commita57e1e9cbcb492df05580e8cc492fe757f8df73b (patch)
tree530e49fd6e68152f5a0fc1c0eded3d3491363ccf /view/theme/diabook/theme.php
parentcfdb2979cb5caac7806d993f63844c1314e2cdfa (diff)
parente7bc3f2bd0f578d04c271029d869e1fbc36cbec4 (diff)
downloadvolse-hubzilla-a57e1e9cbcb492df05580e8cc492fe757f8df73b.tar.gz
volse-hubzilla-a57e1e9cbcb492df05580e8cc492fe757f8df73b.tar.bz2
volse-hubzilla-a57e1e9cbcb492df05580e8cc492fe757f8df73b.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: add "find friends" to right_aside to diabook, fixes in css in diabook fixed Umlaute in de strings.php * master:
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'));