You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
1.2 KiB

<section class="scroll">
<form name="bannerform">
<img class="avatar" src="{$me->getBanner('o') ?? ''}">
<div class="placeholder">
<i class="material-icons">image</i>
<h1>{$c->__('banner.missing')}</h1>
</div>
<input type="hidden" name="photobin"/>
</form>
<ul class="list thick divided">
<li>
<span class="primary icon bubble color green">
<i class="material-icons">attach_file</i>
</span>
<div>
<p>{$c->__('avatar.file')}</p>
<p><input type="file" onchange="MovimAvatar.file(this.files, 'bannerform', 1280, 320);"></p>
</div>
</li>
</ul>
</section>
<div>
<button onclick="Dialog_ajaxClear()" class="button flat">
{$c->__('button.close')}
</button>
<button
type="button"
onclick="
Avatar_ajaxBannerSubmit(MovimUtils.formToJson('bannerform'));
this.value = '{$c->__('button.submitting')}';
this.className='button flat inactive';"
class="button flat"
>
{$c->__('button.submit')}
</button>
</div>