aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-20 17:24:48 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-20 17:24:48 +0100
commitca14ab3d555476861cf60063208249676aae8954 (patch)
tree46031dd8332adcfedc8ca97672aa1aefd87255be /include/nav.php
parentcfdf1def2a24a7796ef86ab84d30fdbe734f3119 (diff)
downloadvolse-hubzilla-ca14ab3d555476861cf60063208249676aae8954.tar.gz
volse-hubzilla-ca14ab3d555476861cf60063208249676aae8954.tar.bz2
volse-hubzilla-ca14ab3d555476861cf60063208249676aae8954.zip
move profile tabs to app-tray
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php
index 07d679aa8..2d12f2950 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -36,7 +36,10 @@ EOT;
}
elseif(remote_channel())
$observer = App::get_observer();
-
+
+ require_once('include/conversation.php');
+ $is_owner = (((local_channel()) && (\App::$profile['profile_uid'] == local_channel())) ? true : false);
+ $navapps[] = profile_tabs($a, $is_owner, \App::$profile['channel_address']);
$myident = (($channel) ? $channel['xchan_addr'] : '');