15 lines
840 B
Twig
15 lines
840 B
Twig
<form enctype="multipart/form-data" method="post" action="{{ sakura.currentPage }}" id="signatureEditorForm">
|
|
<input type="hidden" name="sessid" value="{{ php.sessionid }}" />
|
|
<input type="hidden" name="timestamp" value="{{ php.time }}" />
|
|
<input type="hidden" name="mode" value="signature" />
|
|
<div><textarea name="signature" id="signatureEditor" class="inputStyling" style="width: calc(100% - 12px); height: 400px;">{{ user.signature }}</textarea></div>
|
|
<div class="profile-save">
|
|
<input type="submit" value="Save" name="submit" class="inputStyling" />
|
|
<input type="reset" value="Reset" name="reset" class="inputStyling" />
|
|
</div>
|
|
</form>
|
|
<script type="text/javascript">
|
|
window.addEventListener('load', function() {
|
|
prepareAjaxForm('signatureEditorForm', 'Updating signature...');
|
|
});
|
|
</script>
|