diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-11-21 15:33:57 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-11-21 15:33:57 +0100 |
commit | d726c921eb5902483dfeb82383829e9309f6b65c (patch) | |
tree | 4083b26b9aeacd3f45ff5024236a575a926a8db4 /mod/events.php | |
parent | fabf7081d39481bb22ee27c4beaf96e5529168eb (diff) | |
download | volse-hubzilla-d726c921eb5902483dfeb82383829e9309f6b65c.tar.gz volse-hubzilla-d726c921eb5902483dfeb82383829e9309f6b65c.tar.bz2 volse-hubzilla-d726c921eb5902483dfeb82383829e9309f6b65c.zip |
make calendar week start (sun or mon) configurable
Diffstat (limited to 'mod/events.php')
-rwxr-xr-x | mod/events.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/events.php b/mod/events.php index c3731bf1c..af5a9fc66 100755 --- a/mod/events.php +++ b/mod/events.php @@ -280,11 +280,14 @@ function events_content(&$a) { // $plaintext = false; + $first_day = get_pconfig(local_channel(),'system','cal_first_day'); + $htpl = get_markup_template('event_head.tpl'); $a->page['htmlhead'] .= replace_macros($htpl,array( '$baseurl' => $a->get_baseurl(), '$editselect' => (($plaintext) ? 'none' : 'textareas'), - '$lang' => $a->language + '$lang' => $a->language, + '$first_day' => (($first_day) ? $first_day : 0) )); $o =""; |