aboutsummaryrefslogtreecommitdiffstats
path: root/mod/cal.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/cal.php')
-rwxr-xr-xmod/cal.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/cal.php b/mod/cal.php
index 9899b33b0..453f46f69 100755
--- a/mod/cal.php
+++ b/mod/cal.php
@@ -80,12 +80,14 @@ function cal_content(&$a) {
$o = '';
+ $tabs = profile_tabs($a, True, $channel['channel_address']);
+
$mode = 'view';
$y = 0;
$m = 0;
$ignored = ((x($_REQUEST,'ignored')) ? " and ignored = " . intval($_REQUEST['ignored']) . " " : '');
-logger('args: ' . print_r($a->argv,true));
+ // logger('args: ' . print_r($a->argv,true));
if(argc() > 3 && intval(argv(2)) && intval(argv(3))) {
$mode = 'view';
@@ -333,6 +335,7 @@ logger('args: ' . print_r($a->argv,true));
'$today' => t('Today'),
'$form' => $form,
'$expandform' => ((x($_GET,'expandform')) ? true : false),
+ '$tabs' => $tabs
));
if (x($_GET,'id')){ echo $o; killme(); }