2016-05-07 04:41:57 +02:00
|
|
|
|
|
|
|
<div id="prvmail-wrapper">
|
|
|
|
<form id="prvmail-form" action="message" method="post" >
|
2017-03-15 04:47:02 +01:00
|
|
|
|
2016-05-07 04:41:57 +02:00
|
|
|
{{* Disable the header. We will see if we will need it
|
|
|
|
<h3>{{$header}}</h3>
|
|
|
|
*}}
|
|
|
|
|
|
|
|
{{$parent}}
|
|
|
|
|
|
|
|
{{* The To: form-group which contains the message recipient *}}
|
|
|
|
<div id="prvmail-to-label" class="form-group">
|
2017-10-20 15:21:42 +02:00
|
|
|
<label for="recip">{{$to}}</label><br>
|
2016-05-07 04:41:57 +02:00
|
|
|
{{if $showinputs}}
|
|
|
|
<input type="text" id="recip" class="form-control" name="messagerecip" value="{{$prefill}}" tabindex="10" {{if $prefill}}disabled{{else}}aria-required="true"{{/if}} />
|
|
|
|
<input type="hidden" id="recip-complete" name="messageto" value="{{$preid}}">
|
|
|
|
{{else}}
|
|
|
|
{{$select}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{* The subject input field *}}
|
|
|
|
<div id="prvmail-subject-label" class="form-group">
|
|
|
|
<label for="prvmail-subject">{{$subject}}</label>
|
|
|
|
<input type="text" id="prvmail-subject" class="form-control" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{* The message input field which contains the message text *}}
|
|
|
|
<div id="prvmail-message-label" class="form-group">
|
2017-10-20 15:21:42 +02:00
|
|
|
<label for="comment-edit-text-input">{{$yourmessage}}</label>
|
2016-08-23 16:48:13 +02:00
|
|
|
<textarea rows="8" cols="72" class="prvmail-text form-control text-autosize" id="comment-edit-text-input" name="body" tabindex="12">{{$text}}</textarea>
|
2016-05-07 04:41:57 +02:00
|
|
|
</div>
|
|
|
|
|
2016-05-12 02:49:55 +02:00
|
|
|
<ul id="prvmail-text-edit-bb" class="comment-edit-bb comment-icon-list nav nav-pills hidden-xs pull-left">
|
2016-05-07 04:41:57 +02:00
|
|
|
<li>
|
2018-04-21 14:27:57 +02:00
|
|
|
<button type="button" class="btn-link icon bb-img" style="cursor: pointer;" title="{{$edimg|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="img" data-id="input">
|
2017-10-20 15:21:42 +02:00
|
|
|
<i class="fa fa-picture-o" aria-hidden="true"></i>
|
2017-03-15 04:47:02 +01:00
|
|
|
</button>
|
2016-05-07 04:41:57 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-03-24 03:45:40 +01:00
|
|
|
<button type="button" class="btn-link icon bb-url" style="cursor: pointer;" title="{{$edurl|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="url" data-id="input">
|
2017-10-20 15:21:42 +02:00
|
|
|
<i class="fa fa-link" aria-hidden="true"></i>
|
2017-03-15 04:47:02 +01:00
|
|
|
</button>
|
2016-05-07 04:41:57 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-03-24 03:45:40 +01:00
|
|
|
<button type="button" class="btn-link icon bb-video" style="cursor: pointer;" title="{{$edvideo|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="video" data-id="input">
|
2017-10-20 15:21:42 +02:00
|
|
|
<i class="fa fa-video-camera" aria-hidden="true"></i>
|
2017-03-15 04:47:02 +01:00
|
|
|
</button>
|
2016-05-07 04:41:57 +02:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
2017-03-24 03:45:40 +01:00
|
|
|
<button type="button" class="btn-link icon underline" style="cursor: pointer;" title="{{$eduline|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="u" data-id="input">
|
2017-10-20 15:21:42 +02:00
|
|
|
<i class="fa fa-underline" aria-hidden="true"></i>
|
2017-03-15 04:47:02 +01:00
|
|
|
</button>
|
2016-05-07 04:41:57 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-03-24 03:45:40 +01:00
|
|
|
<button type="button" class="btn-link icon italic" style="cursor: pointer;" title="{{$editalic|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="i" data-id="input">
|
2017-10-20 15:21:42 +02:00
|
|
|
<i class="fa fa-italic" aria-hidden="true"></i>
|
2017-03-15 04:47:02 +01:00
|
|
|
</button>
|
2016-05-07 04:41:57 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-03-24 03:45:40 +01:00
|
|
|
<button type="button" class="btn-link icon bold" style="cursor: pointer;" title="{{$edbold|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="b" data-id="input">
|
2017-10-20 15:21:42 +02:00
|
|
|
<i class="fa fa-bold" aria-hidden="true"></i>
|
2017-03-15 04:47:02 +01:00
|
|
|
</button>
|
2016-05-07 04:41:57 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-03-24 03:45:40 +01:00
|
|
|
<button type="button" class="btn-link icon quote" style="cursor: pointer;" title="{{$edquote|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="quote" data-id="input">
|
2017-10-20 15:21:42 +02:00
|
|
|
<i class="fa fa-quote-left" aria-hidden="true"></i>
|
2017-03-15 04:47:02 +01:00
|
|
|
</button>
|
2016-05-07 04:41:57 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
2017-03-15 04:47:02 +01:00
|
|
|
|
2016-05-07 04:41:57 +02:00
|
|
|
<div id="prvmail-text-bb-end"></div>
|
|
|
|
|
|
|
|
{{* The submit button *}}
|
|
|
|
<div id="prvmail-submit-wrapper">
|
|
|
|
<button type="submit" id="prvmail-submit" name="submit" value="{{$submit|escape:'html'}}" class="btn btn-primary pull-right" tabindex="13">
|
2017-10-20 15:21:42 +02:00
|
|
|
<i class="fa fa-slideshare fa-fw" aria-hidden="true"></i>
|
2016-05-07 04:41:57 +02:00
|
|
|
{{$submit|escape:'html'}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="prvmail-end"></div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
2016-08-23 16:48:13 +02:00
|
|
|
|
2017-10-20 15:21:42 +02:00
|
|
|
<script type="text/javascript">
|
2016-08-23 16:48:13 +02:00
|
|
|
$(document).ready( function() {
|
|
|
|
// initiale autosize for the textareas
|
|
|
|
autosize($("textarea.text-autosize"));
|
|
|
|
});
|
|
|
|
</script>
|