Fix #3818 & presentation
This commit is contained in:
parent
e2ba24826f
commit
4e9d06785c
@ -292,6 +292,7 @@ $var=!$var;
|
|||||||
$this->NbRepeat = $tabConf[4];
|
$this->NbRepeat = $tabConf[4];
|
||||||
$this->WithoutAmbi = $tabConf[5];
|
$this->WithoutAmbi = $tabConf[5];
|
||||||
*/
|
*/
|
||||||
|
print '<br>';
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td colspan="3"> '.$langs->trans("PasswordPatternDesc").'</td>';
|
print '<td colspan="3"> '.$langs->trans("PasswordPatternDesc").'</td>';
|
||||||
@ -333,12 +334,16 @@ $var=!$var;
|
|||||||
print '<td colspan="2"><input type="checkbox" id="NoAmbiCaracAutoGeneration" '.($tabConf[5] ? "checked" : "").' min="0"> <span id="textcheckbox">'.($tabConf[5] ? $langs->trans("Activated") : $langs->trans("Disabled")).'</span></td>';
|
print '<td colspan="2"><input type="checkbox" id="NoAmbiCaracAutoGeneration" '.($tabConf[5] ? "checked" : "").' min="0"> <span id="textcheckbox">'.($tabConf[5] ? $langs->trans("Activated") : $langs->trans("Disabled")).'</span></td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
$var=!$var;
|
|
||||||
print "<tr ".$bc[$var].">";
|
|
||||||
print '<td colspan="2"></td><td width="103" align="center"><a id="linkChangePattern">'.$langs->trans("Save").'</a></td>';
|
|
||||||
print '</tr>';
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
|
print '<br>';
|
||||||
|
print '<table align="right">';
|
||||||
|
print '<tr><td>';
|
||||||
|
print '<a class="button" id="linkChangePattern">'.$langs->trans("Save").'</a>';
|
||||||
|
print '</td></tr>';
|
||||||
|
print '</table>';
|
||||||
|
print '<br><br>';
|
||||||
|
|
||||||
print '<script type="text/javascript">';
|
print '<script type="text/javascript">';
|
||||||
print ' function getStringArg(){';
|
print ' function getStringArg(){';
|
||||||
print ' var pattern = "";';
|
print ' var pattern = "";';
|
||||||
@ -389,7 +394,7 @@ $var=!$var;
|
|||||||
// Cryptage mot de passe
|
// Cryptage mot de passe
|
||||||
print '<br>';
|
print '<br>';
|
||||||
$var=true;
|
$var=true;
|
||||||
print "<form method=\"post\" action=\"security.php\">";
|
print "<form method=\"post\" action=\"" . $_SERVER["PHP_SELF"] . "\">";
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"encrypt\">";
|
print "<input type=\"hidden\" name=\"action\" value=\"encrypt\">";
|
||||||
|
|
||||||
|
|||||||
@ -1111,6 +1111,9 @@ EmptyNumRefModelDesc=The code is free. This code can be modified at any time.
|
|||||||
##### Module password generation
|
##### Module password generation
|
||||||
PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase.
|
PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase.
|
||||||
PasswordGenerationNone=Do not suggest any generated password. Password must be type in manually.
|
PasswordGenerationNone=Do not suggest any generated password. Password must be type in manually.
|
||||||
|
PasswordGenerationPerso=Return a password according to your personally defined configuration.
|
||||||
|
SetupPerso=According to your configuration
|
||||||
|
PasswordPatternDesc=Password pattern description
|
||||||
##### Users setup #####
|
##### Users setup #####
|
||||||
UserGroupSetup=Users and groups module setup
|
UserGroupSetup=Users and groups module setup
|
||||||
GeneratePassword=Suggest a generated password
|
GeneratePassword=Suggest a generated password
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user