diff options
author | redmatrix <git@macgirvin.com> | 2016-02-24 18:54:52 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-02-24 18:54:52 -0800 |
commit | c95d7c69eb3135f137390323a09eb105776ce29c (patch) | |
tree | 5183b1d8e9fde8ff9e7628ad0160c0b78bd35f30 /mod/events.php | |
parent | 6300f47cdcd921141b8f98b71d373d53aa3d80f2 (diff) | |
download | volse-hubzilla-c95d7c69eb3135f137390323a09eb105776ce29c.tar.gz volse-hubzilla-c95d7c69eb3135f137390323a09eb105776ce29c.tar.bz2 volse-hubzilla-c95d7c69eb3135f137390323a09eb105776ce29c.zip |
issue #216 - calendar sharing
Diffstat (limited to 'mod/events.php')
-rwxr-xr-x | mod/events.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/events.php b/mod/events.php index b07ffa184..be39902aa 100755 --- a/mod/events.php +++ b/mod/events.php @@ -283,6 +283,8 @@ function events_content(&$a) { $htpl = get_markup_template('event_head.tpl'); $a->page['htmlhead'] .= replace_macros($htpl,array( '$baseurl' => $a->get_baseurl(), + '$module_url' => '/events', + '$modparams' => 1, '$lang' => $a->language, '$first_day' => $first_day )); @@ -296,6 +298,11 @@ function events_content(&$a) { $m = 0; $ignored = ((x($_REQUEST,'ignored')) ? " and ignored = " . intval($_REQUEST['ignored']) . " " : ''); + +logger('args: ' . print_r($a->argv,true)); + + + if(argc() > 1) { if(argc() > 2 && argv(1) === 'add') { $mode = 'add'; |