diff options
-rwxr-xr-x | mod/events.php | 4 | ||||
-rwxr-xr-x | view/tpl/event_head.tpl | 2 |
2 files changed, 3 insertions, 3 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 =""; diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index d7734af3c..346dfb154 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -38,7 +38,7 @@ $('#events-calendar').fullCalendar({ events: '{{$baseurl}}/events/json', header: false, - //lang: 'de', + lang: '{{$lang}}', eventLimit: 3, height: 'auto', |