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="avatarroom">
<img class="avatar" src="{$room->getPicture(\Movim\ImageSize::O) ?? ''}">
<div class="placeholder">
<i class="material-symbols">image</i>
<h1>{$c->__('avatar.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-symbols">attach_file</i>
</span>
<div>
<p>{$c->__('avatar.file')}</p>
<p><input type="file" onchange="MovimAvatar.file(this.files, 'avatarroom');"></p>
</div>
</li>
</ul>
</section>
<div>
<button onclick="Dialog_ajaxClear()" class="button flat">
{$c->__('button.close')}
</button>
<button
type="button"
onclick="
RoomsUtils_ajaxSetAvatar('{$room->conference}', MovimUtils.formToJson('avatarroom'));
this.value = '{$c->__('button.submitting')}';
this.className='button flat inactive';"
class="button flat"
>
{$c->__('button.submit')}
</button>
</div>