New: Modification de la forme de la fiche user pour permettre l'ajout d'une photo.

This commit is contained in:
Laurent Destailleur 2005-01-16 20:28:37 +00:00
parent b78cea389b
commit a5fbf9bfc2
2 changed files with 1 additions and 1 deletions

BIN
htdocs/theme/nophoto.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -329,7 +329,7 @@ else
print '<tr><td width="25%" valign="top">'.$langs->trans("Lastname").'</td>';
print '<td colspan="2" width="50%" class="valeur">'.$fuser->nom.'</td>';
print '<td align=center valign=top width="50%" rowspan="8">';
print '<td align="center" valign="middle" width="50%" rowspan="8">';
if (file_exists($conf->users->dir_output."/".$fuser->id.".jpg"))
{
print '<img src="'.DOL_URL_ROOT.'/image.php?modulepart=userphoto&file='.$fuser->id.'.jpg">';