1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-11 07:56:16 +01:00
openstamanager/modules/utenti/components/photo.php
2019-07-30 16:51:33 +02:00

17 lines
444 B
PHP

<?php
include_once __DIR__.'/../../core.php';
$user_photo = $user->photo;
if ($user_photo) {
echo '
<center><img src="'.$user_photo.'" class="img-responsive" alt="'.$user['username'].'" /></center>';
}
echo '
<div class="row">
<div class="col-md-12">
{[ "type": "file", "label": "'.tr('Foto utente').'", "name": "photo", "help": "'.tr('Dimensione consigliata 100x100 pixel').'" ]}
</div>
</div>';