From 5ab6843f3838dada278a546c1223ae3dbc6d22be Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Fri, 20 Jan 2017 13:24:53 +0100 Subject: [PATCH] Bugfix: fix typo in event variable --- mod/cal.php | 2 +- mod/events.php | 2 +- view/theme/frio/templates/events_js.tpl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/cal.php b/mod/cal.php index b3cd1e322..e70128d33 100644 --- a/mod/cal.php +++ b/mod/cal.php @@ -275,7 +275,7 @@ function cal_content(App $a) { '$tabs' => $tabs, '$title' => t('Events'), '$view' => t('View'), - '$previus' => array(App::get_baseurl()."/events/$prevyear/$prevmonth",t('Previous'),'',''), + '$previous' => array(App::get_baseurl()."/events/$prevyear/$prevmonth",t('Previous'),'',''), '$next' => array(App::get_baseurl()."/events/$nextyear/$nextmonth",t('Next'),'',''), '$calendar' => cal($y,$m,$links, ' eventcal'), diff --git a/mod/events.php b/mod/events.php index 4a421df9d..37dc97f0f 100644 --- a/mod/events.php +++ b/mod/events.php @@ -393,7 +393,7 @@ function events_content(App $a) { '$title' => t('Events'), '$view' => t('View'), '$new_event' => array(App::get_baseurl().'/events/new',t('Create New Event'),'',''), - '$previus' => array(App::get_baseurl()."/events/$prevyear/$prevmonth",t('Previous'),'',''), + '$previous' => array(App::get_baseurl()."/events/$prevyear/$prevmonth",t('Previous'),'',''), '$next' => array(App::get_baseurl()."/events/$nextyear/$nextmonth",t('Next'),'',''), '$calendar' => cal($y,$m,$links, ' eventcal'), diff --git a/view/theme/frio/templates/events_js.tpl b/view/theme/frio/templates/events_js.tpl index 80b08a1d3..dec47aed2 100644 --- a/view/theme/frio/templates/events_js.tpl +++ b/view/theme/frio/templates/events_js.tpl @@ -34,8 +34,8 @@ {{* The buttons to change the month/weeks/days *}}