2015-12-04 19:43:35 +00:00
|
|
|
|
|
|
|
<h3>{{$title}}</h3>
|
|
|
|
|
2018-12-14 03:35:51 +00:00
|
|
|
<p>{{$desc nofilter}}</p>
|
2015-12-04 19:43:35 +00:00
|
|
|
|
|
|
|
<form id="event-edit-form" action="{{$post}}" method="post" >
|
|
|
|
|
|
|
|
<input type="hidden" name="event_id" value="{{$eid}}" />
|
|
|
|
<input type="hidden" name="cid" value="{{$cid}}" />
|
|
|
|
<input type="hidden" name="uri" value="{{$uri}}" />
|
|
|
|
<input type="hidden" name="preview" id="event-edit-preview" value="0" />
|
|
|
|
|
2018-12-15 01:42:24 +00:00
|
|
|
{{$s_dsel nofilter}}
|
2015-12-04 19:43:35 +00:00
|
|
|
|
2018-12-15 01:42:24 +00:00
|
|
|
{{$f_dsel nofilter}}
|
2016-06-17 08:33:12 +00:00
|
|
|
|
|
|
|
{{include file="field_checkbox.tpl" field=$nofinish}}
|
|
|
|
|
|
|
|
{{include file="field_checkbox.tpl" field=$adjust}}
|
2015-12-04 19:43:35 +00:00
|
|
|
<hr>
|
2016-06-17 08:33:12 +00:00
|
|
|
{{include file="field_input.tpl" field=$summary}}
|
2015-12-04 19:43:35 +00:00
|
|
|
{{include file="field_textarea.tpl" field=array('desc', $d_text, $d_orig, "")}}
|
|
|
|
|
|
|
|
{{include file="field_textarea.tpl" field=array('location', $l_text, $l_orig, "")}}
|
|
|
|
<hr>
|
2016-04-13 15:43:46 +00:00
|
|
|
|
2016-06-17 08:33:12 +00:00
|
|
|
{{if ! $eid}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$share}}
|
|
|
|
{{/if}}
|
2015-12-04 19:43:35 +00:00
|
|
|
|
2018-12-15 01:42:24 +00:00
|
|
|
{{$acl nofilter}}
|
2015-12-04 19:43:35 +00:00
|
|
|
|
|
|
|
<div class="settings-submit-wrapper" >
|
2018-12-14 03:28:12 +00:00
|
|
|
<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}}" />
|
2015-12-04 19:43:35 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('#id_share').change(function() {
|
|
|
|
|
|
|
|
if ($('#id_share').is(':checked')) {
|
|
|
|
$('#acl-wrapper').show();
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$('#acl-wrapper').hide();
|
|
|
|
}
|
|
|
|
}).trigger('change');
|
|
|
|
});
|
|
|
|
</script>
|