mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-15 09:57:28 +01:00
17 lines
443 B
PHP
Executable File
17 lines
443 B
PHP
Executable File
<?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>';
|