From 43a794a905430e0b906bd3e5da490c27f429e1ff Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 23 Mar 2017 13:11:27 +0100 Subject: bs4 fixes for events --- include/widgets.php | 2 +- view/tpl/event_form.tpl | 26 +++++++++++++++----------- view/tpl/event_head.tpl | 1 + view/tpl/events-js.tpl | 10 +++++----- view/tpl/events_tools_side.tpl | 22 ++++++++++++---------- 5 files changed, 34 insertions(+), 27 deletions(-) diff --git a/include/widgets.php b/include/widgets.php index b95cbfc26..c88c03f7e 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -1567,7 +1567,7 @@ function widget_tasklist($arr) { '; $o .= '
' . '

' . t('Tasks') . '

'; - $o .= '
'; + $o .= '
'; $o .= ''; return $o; diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index 2a91336c7..d07a06b67 100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -32,11 +32,13 @@ {{/if}}
-
{{$d_text}}
- +
+
{{$d_text}}
+ +
-
+
@@ -68,11 +70,13 @@
-
{{$l_text}}
- +
+
{{$l_text}}
+ +
-
+
@@ -111,13 +115,13 @@
- -
- + +
+ {{if ! $eid}} - + {{/if}} - +
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index 1d1b6f15b..3b2cb5041 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -50,6 +50,7 @@ $('#events-calendar').fullCalendar({ events: '{{$baseurl}}{{$module_url}}/json', header: false, + eventTextColor: 'white', lang: '{{$lang}}', firstDay: {{$first_day}}, diff --git a/view/tpl/events-js.tpl b/view/tpl/events-js.tpl index 936b10970..9d32c76be 100755 --- a/view/tpl/events-js.tpl +++ b/view/tpl/events-js.tpl @@ -3,11 +3,11 @@