Skip to content
Snippets Groups Projects
Commit cbb80e67 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fixfield at wrong place

parent 230bb09c
Branches
Tags
No related merge requests found
...@@ -1827,14 +1827,6 @@ else ...@@ -1827,14 +1827,6 @@ else
} }
print '</td></tr>'; print '</td></tr>';
// Photo
print '<tr>';
print '<td>'.$langs->trans("Photo").'</td>';
print '<td>';
print $form->showphoto('userphoto',$object,60,0,$caneditfield,'photowithmargin','small');
print '</td>';
print '</tr>';
// Employee // Employee
print '<tr>'; print '<tr>';
print '<td>'.fieldLabel('Employee','employee',0).'</td><td>'; print '<td>'.fieldLabel('Employee','employee',0).'</td><td>';
...@@ -2237,6 +2229,14 @@ else ...@@ -2237,6 +2229,14 @@ else
print '</td></tr>'; print '</td></tr>';
} }
// Photo
print '<tr>';
print '<td>'.$langs->trans("Photo").'</td>';
print '<td>';
print $form->showphoto('userphoto',$object,60,0,$caneditfield,'photowithmargin','small');
print '</td>';
print '</tr>';
// Categories // Categories
if (!empty( $conf->categorie->enabled ) && !empty( $user->rights->categorie->lire )) if (!empty( $conf->categorie->enabled ) && !empty( $user->rights->categorie->lire ))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment