From c52f4644e18122c5302073099b9d65d20d849882 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 14 Apr 2017 13:00:39 +0200 Subject: [PATCH] Look and feel v6 --- htdocs/user/agenda_extsites.php | 2 +- htdocs/user/bank.php | 24 ++++++++++++++---------- htdocs/user/clicktodial.php | 4 +++- htdocs/user/param_ihm.php | 2 +- htdocs/user/perms.php | 2 +- 5 files changed, 20 insertions(+), 14 deletions(-) diff --git a/htdocs/user/agenda_extsites.php b/htdocs/user/agenda_extsites.php index 0942bbf7ed8..a3288e99c26 100644 --- a/htdocs/user/agenda_extsites.php +++ b/htdocs/user/agenda_extsites.php @@ -151,7 +151,7 @@ print ''; $head=user_prepare_head($object); -dol_fiche_head($head, 'extsites', $langs->trans("User"), 0, 'user'); +dol_fiche_head($head, 'extsites', $langs->trans("User"), -1, 'user'); $linkback = ''.$langs->trans("BackToList").''; diff --git a/htdocs/user/bank.php b/htdocs/user/bank.php index 63cdacf958d..2fe30d6e9f8 100644 --- a/htdocs/user/bank.php +++ b/htdocs/user/bank.php @@ -131,7 +131,7 @@ if ($id && $action == 'create' && $user->rights->user->user->creer) if ($id && $action != 'edit') { $title = $langs->trans("User"); - dol_fiche_head($head, 'bank', $title, 0, 'user'); + dol_fiche_head($head, 'bank', $title, -1, 'user'); $linkback = ''.$langs->trans("BackToList").''; @@ -232,14 +232,14 @@ if ($id && $action == 'edit' && $user->rights->user->user->creer) $linkback = ''.$langs->trans("BackToList").''; - dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin); + dol_banner_tab($object, 'id', $linkback,$user->rights->user->user->lire || $user->admin); - print '
'; + //print '
'; print '
'; print ''; - print ''; + print ''; print ''; print ''; @@ -271,29 +271,29 @@ if ($id && $action == 'edit' && $user->rights->user->user->creer) } // IBAN - print ''; + print ''; print ''; - print ''; + print ''; print ''; print '"; - print ''; + print ''; print ''; print "\n"; print '"; print '
'.$langs->trans("LabelRIB").'
'.$langs->trans("LabelRIB").'
'.$langs->trans("BankName").'
'.$langs->trans("IBAN").'
'.$langs->trans("IBAN").'
'.$langs->trans("BIC").'
'.$langs->trans("BIC").'
'.$langs->trans("BankAccountDomiciliation").''; - print '
'.$langs->trans("BankAccountOwner").'
'.$langs->trans("BankAccountOwner").'
'.$langs->trans("BankAccountOwnerAddress").''; - print "
'; - print '
'; + //print '
'; dol_fiche_end(); @@ -304,6 +304,10 @@ if ($id && $action == 'edit' && $user->rights->user->user->creer) print ''; } +if ($id && $action == 'edit' && $user->rights->user->user->creer) print ''; + +if ($id && $action == 'edit' && $user->rights->user->user->creer) print ''; + llxFooter(); $db->close(); diff --git a/htdocs/user/clicktodial.php b/htdocs/user/clicktodial.php index cb1e9f875aa..c7a36777699 100644 --- a/htdocs/user/clicktodial.php +++ b/htdocs/user/clicktodial.php @@ -96,12 +96,13 @@ if ($id > 0) print ''; print ''; - dol_fiche_head($head, 'clicktodial', $title, 0, 'user'); + dol_fiche_head($head, 'clicktodial', $title, -1, 'user'); $linkback = ''.$langs->trans("BackToList").''; dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin); + print '
'; print '
'; // Edit mode @@ -193,6 +194,7 @@ if ($id > 0) print '
'; } + print ''; print ''; /* diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index 0208046c482..0348eb0e288 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -295,7 +295,7 @@ if ($action == 'edit') } else { - dol_fiche_head($head, 'guisetup', $title, 0, 'user'); + dol_fiche_head($head, 'guisetup', $title, -1, 'user'); $linkback = ''.$langs->trans("BackToList").''; diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php index 95c3eb6c87f..55bdbbceff7 100644 --- a/htdocs/user/perms.php +++ b/htdocs/user/perms.php @@ -125,7 +125,7 @@ $form=new Form($db); $head = user_prepare_head($object); $title = $langs->trans("User"); -dol_fiche_head($head, 'rights', $title, 0, 'user'); +dol_fiche_head($head, 'rights', $title, -1, 'user'); $db->begin();