This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/templates/yuuno/settings/appearance.avatar.twig

21 lines
850 B
Twig
Raw Normal View History

2015-08-10 20:04:22 +00:00
<form enctype="multipart/form-data" method="post" action="{{ setting.action }}">
2016-03-27 22:15:51 +00:00
<input type="hidden" name="sessid" value="{{ session_id() }}" />
<input type="hidden" name="timestamp" value="{{ date().timestamp }}" />
2015-08-10 20:04:22 +00:00
<input type="hidden" name="mode" value="avatar" />
<input type="hidden" name="MAX_FILE_SIZE" value="{{ avatar.max_size }}" />
<div style="text-align: center;">
<div>
2015-11-08 20:20:27 +00:00
<img src="/a/{{ user.id }}" alt="Your Avatar" class="default-avatar-setting" />
2015-06-19 16:12:44 +00:00
</div>
2015-08-10 20:04:22 +00:00
<div>
<input type="file" name="avatar" />
2015-08-19 19:44:01 +00:00
<div style="font-size: .8em;">
(Leave upload box empty to remove avatar)
</div>
2015-08-10 20:04:22 +00:00
</div>
<div>
<input type="submit" value="Submit" name="submit" class="inputStyling" />
2015-06-19 16:12:44 +00:00
</div>
</div>
2015-08-10 20:04:22 +00:00
</form>