Better help on administrator flag
This commit is contained in:
parent
da699ce3cd
commit
836e22adcf
4 changed files with 9 additions and 9 deletions
|
|
@ -730,7 +730,7 @@ class Form
|
|||
}
|
||||
|
||||
/**
|
||||
* Show a text with a picto and a tooltip on picto
|
||||
* Show a text with a picto and a tooltip on picto
|
||||
*
|
||||
* @param string $text Text to show
|
||||
* @param string $htmltext Content of tooltip
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ RecordGenerated=Record generated
|
|||
LevelOfFeature=Level of features
|
||||
NotDefined=Not defined
|
||||
DolibarrInHttpAuthenticationSoPasswordUseless=Dolibarr authentication mode is set to <b>%s</b> in configuration file <b>conf.php</b>.<br>This means that the password database is external to Dolibarr, so changing this field may have no effect.
|
||||
Administrator=Administrator
|
||||
Administrator=System administrator
|
||||
Undefined=Undefined
|
||||
PasswordForgotten=Password forgotten?
|
||||
NoAccount=No account?
|
||||
|
|
|
|||
|
|
@ -32,9 +32,9 @@ CreateUser=Create user
|
|||
LoginNotDefined=Login is not defined.
|
||||
NameNotDefined=Name is not defined.
|
||||
ListOfUsers=List of users
|
||||
SuperAdministrator=Super Administrator
|
||||
SuperAdministratorDesc=Global administrator
|
||||
AdministratorDesc=Administrator
|
||||
SuperAdministrator=Multicompany Administrator
|
||||
SuperAdministratorDesc=Multicompany system administrator (can change setup and users)
|
||||
AdministratorDesc=System administrator (can administer user, permissions but also system setup and modules configuration)
|
||||
DefaultRights=Default Permissions
|
||||
DefaultRightsDesc=Define here the <u>default</u> permissions that are automatically granted to a <u>new</u> user (to modify permissions for existing users, go to the user card).
|
||||
DolibarrUsers=Dolibarr users
|
||||
|
|
|
|||
|
|
@ -962,7 +962,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
|
||||
// Administrator
|
||||
if (!empty($user->admin)) {
|
||||
print '<tr><td>'.$langs->trans("Administrator").'</td>';
|
||||
print '<tr><td>'.$form->textwithpicto($langs->trans("Administrator"), $langs->trans("AdministratorDesc"), 1, 'star').'</td>';
|
||||
print '<td>';
|
||||
print $form->selectyesno('admin', GETPOST('admin'), 1, false, 0, 1);
|
||||
|
||||
|
|
@ -1497,7 +1497,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
}
|
||||
|
||||
/*
|
||||
* Fiche en mode visu
|
||||
* View mode
|
||||
*/
|
||||
if ($action != 'edit') {
|
||||
print dol_get_fiche_head($head, 'user', $title, -1, 'user');
|
||||
|
|
@ -2149,7 +2149,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
}
|
||||
|
||||
/*
|
||||
* Card in edit mode
|
||||
* Edit mode
|
||||
*/
|
||||
if ($action == 'edit' && ($canedituser || $caneditpasswordandsee)) {
|
||||
print '<form action="'.$_SERVER['PHP_SELF'].'?id='.$object->id.'" method="POST" name="updateuser" enctype="multipart/form-data">';
|
||||
|
|
@ -2216,7 +2216,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||
print '</tr>';
|
||||
|
||||
// Administrator
|
||||
print '<tr><td>'.$langs->trans("Administrator").'</td>';
|
||||
print '<tr><td>'.$form->textwithpicto($langs->trans("Administrator"), $langs->trans("AdministratorDesc")).'</td>';
|
||||
if ($object->socid > 0) {
|
||||
$langs->load("admin");
|
||||
print '<td>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue