aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-05 01:58:27 -0700
committerfriendica <info@friendica.com>2014-09-05 01:58:27 -0700
commitdd7d0c4156a28cfc820700d3ba7b45bcbf58bf2e (patch)
treede84c27eb9f36946df8af17beeeb3bf515792d16 /view/tpl
parenta0b3ddca40e51fc996c983410b1323f227326f08 (diff)
downloadvolse-hubzilla-dd7d0c4156a28cfc820700d3ba7b45bcbf58bf2e.tar.gz
volse-hubzilla-dd7d0c4156a28cfc820700d3ba7b45bcbf58bf2e.tar.bz2
volse-hubzilla-dd7d0c4156a28cfc820700d3ba7b45bcbf58bf2e.zip
more work on the event edit form
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/event_form.tpl20
1 files changed, 16 insertions, 4 deletions
diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl
index 611bf6006..95ebe0351 100755
--- a/view/tpl/event_form.tpl
+++ b/view/tpl/event_form.tpl
@@ -11,6 +11,9 @@
<input type="hidden" name="xchan" value="{{$xchan}}" />
<input type="hidden" name="mid" value="{{$mid}}" />
+<div id="event-summary-text">{{$t_text}}</div>
+<input type="text" id="event-summary" name="summary" value="{{$t_orig}}" />
+
<div id="event-start-text">{{$s_text}}</div>
{{if $bootstrap}}
<i class="icon-calendar btn btn-default" onclick="eventGetStart(); return false;" /></i> <input type="text" name="start_text" id="start-text" value="{{$stext}}" />
@@ -20,17 +23,18 @@
<div class="clear"></div><br />
-<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" {{$n_checked}} /> <div id="event-nofinish-text">{{$n_text}}</div>
+<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" {{$n_checked}} onclick="showHideFinishDate(); return true;" /> <div id="event-nofinish-text">{{$n_text}}</div>
<div id="event-nofinish-break"></div>
-
+<div id="event-finish-wrapper">
<div id="event-finish-text">{{$f_text}}</div>
{{if $bootstrap}}
<i class="icon-calendar btn btn-default" onclick="eventGetFinish(); return false;" /></i> <input type="text" name="finish_text" id="finish-text" value="{{$ftext}}" />
{{else}}
{{$f_dsel}} {{$f_tsel}}
{{/if}}
+</div>
<div id="event-datetime-break"></div>
@@ -39,8 +43,16 @@
<div id="event-adjust-break"></div>
-<div id="event-summary-text">{{$t_text}}</div>
-<input type="text" id="event-summary" name="summary" value="{{$t_orig}}" />
+
+
+{{if $catsenabled}}
+<div id="event-category-wrap">
+ <input name="category" id="event-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" />
+</div>
+{{/if}}
+
+
+
<div id="event-desc-text">{{$d_text}}</div>