diff --git a/htdocs/user/clicktodial.php b/htdocs/user/clicktodial.php index d53c8a368ba..cb1e9f875aa 100644 --- a/htdocs/user/clicktodial.php +++ b/htdocs/user/clicktodial.php @@ -90,6 +90,12 @@ if ($id > 0) $head = user_prepare_head($object); $title = $langs->trans("User"); + + + print '
'; + print ''; + print ''; + dol_fiche_head($head, 'clicktodial', $title, 0, 'user'); $linkback = ''.$langs->trans("BackToList").''; @@ -101,11 +107,8 @@ if ($id > 0) // Edit mode if ($action == 'edit') { - print ''; - print ''; - print ''; - print ''; - + print '
'; + if ($user->admin) { print ''; @@ -140,13 +143,6 @@ if ($id > 0) print "\n"; print '
ClickToDial URL
'; - - print '
'; - print '     '; - print ''; - print '
'; - - print '
'; } else // View mode { @@ -188,8 +184,17 @@ if ($id > 0) } dol_fiche_end(); - + if ($action == 'edit') + { + print '
'; + print '     '; + print ''; + print '
'; + } + + print ''; + /* * Barre d'actions */