friendica/view/templates/event_form.tpl

55 lines
1.7 KiB
Smarty
Raw Normal View History

2013-04-23 13:47:57 +02:00
<h3>{{$title}}</h3>
<p>
{{$desc}}
</p>
2015-05-14 13:20:58 +02:00
<form id="event-edit-form" action="{{$post}}" method="post" >
2013-04-23 13:47:57 +02: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 13:20:58 +02:00
<input type="hidden" name="preview" id="event-edit-preview" value="0" />
2013-04-23 13:47:57 +02:00
<div id="event-start-text">{{$s_text}}</div>
{{$s_dsel}}
2013-04-23 13:47:57 +02:00
<div id="event-finish-text">{{$f_text}}</div>
{{$f_dsel}}
2013-04-23 13:47:57 +02:00
<div id="event-datetime-break"></div>
<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" {{$n_checked}} /> <div id="event-nofinish-text">{{$n_text}}</div>
<div id="event-nofinish-break"></div>
<input type="checkbox" name="adjust" value="1" id="event-adjust-checkbox" {{$a_checked}} /> <div id="event-adjust-text">{{$a_text}}</div>
<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|escape:'html'}}" />
2013-04-23 13:47:57 +02:00
<div id="event-desc-text">{{$d_text}}</div>
<textarea id="event-desc-textarea" name="desc">{{$d_orig}}</textarea>
<div id="event-location-text">{{$l_text}}</div>
<textarea id="event-location-textarea" name="location">{{$l_orig}}</textarea>
2015-05-14 13:20:58 +02:00
<div id="event-location-break"></div>
2013-04-23 13:47:57 +02:00
<input type="checkbox" name="share" value="1" id="event-share-checkbox" {{$sh_checked}} /> <div id="event-share-text">{{$sh_text}}</div>
<div id="event-share-break"></div>
{{$acl}}
<div class="clear"></div>
2015-05-14 13:20:58 +02:00
<input id="event-edit-preview" type="submit" name="preview" value="{{$preview|escape:'html'}}" onclick="doEventPreview(); return false;" />
<input id="event-submit" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
2013-04-23 13:47:57 +02:00
</form>