friendica-github/view/templates/event_form.tpl

45 lines
1.1 KiB
Smarty
Raw Normal View History

2013-04-23 11:47:57 +00:00
<h3>{{$title}}</h3>
<p>
{{$desc nofilter}}
2013-04-23 11:47:57 +00:00
</p>
2015-05-14 11:20:58 +00:00
<form id="event-edit-form" action="{{$post}}" method="post" >
2013-04-23 11:47:57 +00:00
<input type="hidden" name="event_id" value="{{$eid}}" />
<input type="hidden" name="cid" value="{{$cid}}" />
<input type="hidden" name="uri" value="{{$uri}}" />
2015-05-14 11:20:58 +00:00
<input type="hidden" name="preview" id="event-edit-preview" value="0" />
2013-04-23 11:47:57 +00:00
{{$s_dsel nofilter}}
2013-04-23 11:47:57 +00:00
{{$f_dsel nofilter}}
2013-04-23 11:47:57 +00:00
{{include file="field_checkbox.tpl" field=$nofinish}}
2013-04-23 11:47:57 +00:00
{{include file="field_checkbox.tpl" field=$adjust}}
2013-04-23 11:47:57 +00:00
{{include file="field_input.tpl" field=$summary}}
2013-04-23 11:47:57 +00:00
<div id="event-desc-text">{{$d_text}}</div>
<textarea id="event-desc-textarea" name="desc">{{$d_orig}}</textarea>
2013-04-23 11:47:57 +00:00
<div id="event-location-text">{{$l_text}}</div>
<textarea id="event-location-textarea" name="location">{{$l_orig}}</textarea>
2013-04-23 11:47:57 +00:00
2015-05-14 11:20:58 +00:00
<div id="event-location-break"></div>
{{if ! $eid}}
{{include file="field_checkbox.tpl" field=$share}}
{{/if}}
2013-04-23 11:47:57 +00:00
{{$acl nofilter}}
2013-04-23 11:47:57 +00:00
<div class="clear"></div>
<input id="event-edit-preview" type="submit" name="preview" value="{{$preview}}" onclick="doEventPreview(); return false;" />
<input id="event-submit" type="submit" name="submit" value="{{$submit}}" />
2013-04-23 11:47:57 +00:00
</form>