aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-02-25 13:40:15 +0100
committerMario Vavti <mario@mariovavti.com>2016-02-25 13:40:15 +0100
commitbe27fb56440c6687add239e10c5e46ee7f3018f1 (patch)
treee324463b7ac2f57f34fc8a25bc49a9ece337f796 /mod
parentebfa1a12b9cc3d939ed49a7f66e5687267a409d3 (diff)
downloadvolse-hubzilla-be27fb56440c6687add239e10c5e46ee7f3018f1.tar.gz
volse-hubzilla-be27fb56440c6687add239e10c5e46ee7f3018f1.tar.bz2
volse-hubzilla-be27fb56440c6687add239e10c5e46ee7f3018f1.zip
we have got a button for events in the nav. no need for it in the tabs if we are local.
Diffstat (limited to 'mod')
-rwxr-xr-xmod/cal.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/cal.php b/mod/cal.php
index 1e2405cd0..453f46f69 100755
--- a/mod/cal.php
+++ b/mod/cal.php
@@ -80,6 +80,8 @@ function cal_content(&$a) {
$o = '';
+ $tabs = profile_tabs($a, True, $channel['channel_address']);
+
$mode = 'view';
$y = 0;
$m = 0;
@@ -333,6 +335,7 @@ function cal_content(&$a) {
'$today' => t('Today'),
'$form' => $form,
'$expandform' => ((x($_GET,'expandform')) ? true : false),
+ '$tabs' => $tabs
));
if (x($_GET,'id')){ echo $o; killme(); }