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

Work on look and feel v6

parent 17a1874e
No related branches found
No related tags found
No related merge requests found
......@@ -129,12 +129,13 @@ if ($object->id)
$form=new Form($db);
dol_fiche_head($head, 'document', $langs->trans("User"),0,'user');
dol_fiche_head($head, 'document', $langs->trans("User"), -1, 'user');
$linkback = '<a href="'.DOL_URL_ROOT.'/user/index.php">'.$langs->trans("BackToList").'</a>';
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
print '<div class="fichecenter">';
print '<div class="underbanner clearboth"></div>';
// Construit liste des fichiers
......@@ -158,7 +159,8 @@ if ($object->id)
print '<tr><td>'.$langs->trans("TotalSizeOfAttachedFiles").'</td><td>'.$totalsize.' '.$langs->trans("bytes").'</td></tr>';
print '</table>';
print '</div>';
dol_fiche_end();
......
......@@ -65,7 +65,7 @@ llxHeader();
$head = user_prepare_head($object);
$title = $langs->trans("User");
dol_fiche_head($head, 'info', $title, 0, 'user');
dol_fiche_head($head, 'info', $title, -1, 'user');
$linkback = '<a href="'.DOL_URL_ROOT.'/user/index.php">'.$langs->trans("BackToList").'</a>';
......
......@@ -88,7 +88,7 @@ if ($id)
$head = user_prepare_head($object);
$title = $langs->trans("User");
dol_fiche_head($head, 'note', $title, 0, 'user');
dol_fiche_head($head, 'note', $title, -1, 'user');
$linkback = '<a href="'.DOL_URL_ROOT.'/user/index.php">'.$langs->trans("BackToList").'</a>';
......@@ -99,6 +99,7 @@ if ($id)
print "<form method=\"post\" action=\"".$_SERVER['PHP_SELF']."\">";
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<div class="fichecenter">';
print '<table class="border" width="100%">';
// Login
......@@ -123,6 +124,7 @@ if ($id)
print "</td></tr>";
print "</table>";
print '</div>';
dol_fiche_end();
......
......@@ -135,36 +135,12 @@ if ($result > 0)
$head = user_prepare_head($object);
dol_fiche_head($head, 'notify', $langs->trans("User"),0,'user');
dol_fiche_head($head, 'notify', $langs->trans("User"), 0, 'user');
$linkback = '<a href="'.DOL_URL_ROOT.'/user/index.php">'.$langs->trans("BackToList").'</a>';
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin);
/*print '<table class="border"width="100%">';
// Ref
print '<tr><td width="25%">'.$langs->trans("Ref").'</td>';
print '<td colspan="3">';
print $form->showrefnav($object,'id','',$user->rights->user->user->lire || $user->admin);
print '</td>';
print '</tr>'."\n";
print '<tr><td>'.$langs->trans("Lastname").'</td>';
print '<td colspan="2">'.$object->lastname.'</td>';
// Firstname
print '<tr><td>'.$langs->trans("Firstname").'</td>';
print '<td colspan="2">'.$object->firstname.'</td>';
print '</tr>'."\n";
// EMail
print '<tr><td>'.$langs->trans("EMail").'</td>';
print '<td colspan="2">'.dol_print_email($object->email,0,0,1).'</td>';
print "</tr>\n";
print '</table>';*/
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin, 'rowid', 'ref', '', '', 0, '', '', 1, '');
dol_fiche_end();
print "\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment