aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-20 16:39:55 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-20 16:39:55 +0100
commita3e47d26f617f06b3f9c8221a5240b3387131ddd (patch)
treee0ed81f7c4fc659044df2c50f60d5bd05fb1e5f2 /mod
parent7b459ec3558107a2f8ae685cd4ce847f74f821e6 (diff)
downloadvolse-hubzilla-a3e47d26f617f06b3f9c8221a5240b3387131ddd.tar.gz
volse-hubzilla-a3e47d26f617f06b3f9c8221a5240b3387131ddd.tar.bz2
volse-hubzilla-a3e47d26f617f06b3f9c8221a5240b3387131ddd.zip
make calendar language aware
Diffstat (limited to 'mod')
-rwxr-xr-xmod/events.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/events.php b/mod/events.php
index 53284e7a9..c3731bf1c 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -280,11 +280,11 @@ function events_content(&$a) {
// $plaintext = false;
-
$htpl = get_markup_template('event_head.tpl');
$a->page['htmlhead'] .= replace_macros($htpl,array(
'$baseurl' => $a->get_baseurl(),
- '$editselect' => (($plaintext) ? 'none' : 'textareas')
+ '$editselect' => (($plaintext) ? 'none' : 'textareas'),
+ '$lang' => $a->language
));
$o ="";