aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-21 17:18:44 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-21 17:18:44 +0100
commit9ba1b8d7207c852e1cb323a25998065ca30b31a4 (patch)
tree6938898d1e4f7a5686c34c7a664ccb37c47d741a /mod/events.php
parentbd45bb3ad30c8867b957f63d5423e90b4b41afe9 (diff)
parentd726c921eb5902483dfeb82383829e9309f6b65c (diff)
downloadvolse-hubzilla-9ba1b8d7207c852e1cb323a25998065ca30b31a4.tar.gz
volse-hubzilla-9ba1b8d7207c852e1cb323a25998065ca30b31a4.tar.bz2
volse-hubzilla-9ba1b8d7207c852e1cb323a25998065ca30b31a4.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/events.php')
-rwxr-xr-xmod/events.php5
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 ="";