From 987619130b99bf4548d5d31ac453cdf48c818eff Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 24 Nov 2015 14:15:28 +0100 Subject: some event heavy lifting - please test and report issues --- view/tpl/event.tpl | 24 ++-- view/tpl/event_form.tpl | 291 ++++++++++++++++++++---------------------------- view/tpl/event_head.tpl | 13 +-- view/tpl/events-js.tpl | 7 +- view/tpl/jot.tpl | 10 +- 5 files changed, 146 insertions(+), 199 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/event.tpl b/view/tpl/event.tpl index 5dfc91ebe..c1793c3e7 100755 --- a/view/tpl/event.tpl +++ b/view/tpl/event.tpl @@ -1,16 +1,16 @@ {{foreach $events as $event}}
-
-
- {{if $event.item.author.xchan_name}}{{$event.item.author.xchan_name}}{{/if}} -
- {{$event.html}} -
- {{if $event.item.plink}}{{/if}} - {{if $event.edit}}{{/if}} - {{if $event.drop}}{{/if}} -
-
-
+
+
+ {{if $event.item.author.xchan_name}}{{$event.item.author.xchan_name}}{{/if}} +
+ {{$event.html}} +
+ {{if $event.item.plink}}{{/if}} + {{if $event.edit}}{{/if}} + {{if $event.drop}}{{/if}} +
+
+
{{/foreach}} diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index 15505397b..e74aabc68 100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -1,177 +1,130 @@ -
- -

{{$title}}

- -

-{{$desc}} -

-
- - - - - - - -
{{$t_text}}
-{{$required}} - -
- -
{{$s_text}}
- -{{$s_dsel}} - -

- -
- -
-
-
- -
- -
-
{{$f_text}}
-{{$f_dsel}} -
- -
- -{{include file="field_checkbox.tpl" field=$adjust}} - -
- - - -{{if $catsenabled}} -
- -
-{{/if}} - - - -
{{$d_text}}
- - -
-
-
-
- - - - - -
- -
- - - -
- -
-
- -
- -
{{$l_text}}
- - - -
-
-
-
- - - - - -
- -
- - - - + + + + + + + + + {{include file="field_input.tpl" field=$summary}} + + {{$s_dsel}} + + {{$f_dsel}} + + {{include file="field_checkbox.tpl" field=$nofinish}} + + - -
- - -
- - - -
-
+
-{{if ! $eid}} + {{if ! $eid}} + {{include file="field_checkbox.tpl" field=$share}} + {{$acl}} + {{/if}} -
- -
-
-
+
- -
- - - - -{{$acl}} - -{{/if}} - -
- - - - + +
+ + {{if ! $eid}} + + {{/if}} + +
- -
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index ae5f21234..0fc3da5bc 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -110,22 +110,13 @@ var view = $('#events-calendar').fullCalendar('getView'); $('#title').text(view.title); - - - }); - - - -