From 57b904c622f69a2ecaed6c5ba279f70a850b01ff Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 25 Jan 2008 23:30:06 +0000 Subject: [PATCH] Ajout date connexion precedente dans info loin --- htdocs/langs/en_US/main.lang | 1 + htdocs/langs/fr_FR/main.lang | 1 + htdocs/main.inc.php | 2 ++ htdocs/user.class.php | 4 +--- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 4e84c937c32..6dbdd22a396 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -37,6 +37,7 @@ ErrorFailedToSaveFile=Error, failed to save file. ErrorOnlyPngJpgSupported=Error, only .png and .jpg image format file are supported. ErrorImageFormatNotSupported=Your PHP does not support functions to convert images of this format. DolibarrInHttpAuthenticationSoPasswordUseless=Dolibarr authentication mode is setup to %s in configuration file conf.php.
This means that password database is extern to Dolibarr, so changing this field may have no effects. +Administrator=Administrator Undefined=Undefined PasswordForgotten=Password forgotten ? SeeAbove=See above diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index 2d045d82dfe..8edac55be1d 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -37,6 +37,7 @@ ErrorFailedToSaveFile=Erreur, l'enregistrement du fichier a ErrorOnlyPngJpgSupported=Erreur, seuls les formats images .jpg et .png sont supportés. ErrorImageFormatNotSupported=Votre PHP ne supporte pas les fonctions de conversion de ce format d'image. DolibarrInHttpAuthenticationSoPasswordUseless=Dolibarr est configuré en mode authentification %s dans son fichier de configuration conf.php.
Cela signifie que la base des mots de passe est externe à Dolibarr, aussi toute modification de ce champ peut s'avérer sans effet. +Administrator=Administrateur Undefined=Non défini PasswordForgotten=Mot de passe oublié ? SeeAbove=Voir ci-dessus diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index d8cf910f8d7..843f855b4c8 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -792,6 +792,8 @@ function top_menu($head, $title="", $target="") $title.='
'.$langs->trans("Administrator").': '.yn($user->admin); $title.='
'.$langs->trans("Type").': '.($user->societe_id?$langs->trans("External"):$langs->trans("Internal")); $title.='
'.$langs->trans("ConnectedSince").': '.dolibarr_print_date($user->datelastlogin,"dayhour"); + $title.='
'.$langs->trans("PreviousConnexion").': '.dolibarr_print_date($user->datepreviouslogin,"dayhour"); + if ($dolibarr_main_authentication) $title.='
'.$langs->trans("AuthenticationMode").': '.$dolibarr_main_authentication; $text=''; diff --git a/htdocs/user.class.php b/htdocs/user.class.php index 399f1efc263..98f26b202fa 100644 --- a/htdocs/user.class.php +++ b/htdocs/user.class.php @@ -20,8 +20,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ */ /** @@ -34,7 +32,7 @@ \author Benoit Mortier \author Regis Houssin \author Lionel Cousteix - \version $Revision$ + \version $Id$ */ require_once(DOL_DOCUMENT_ROOT ."/commonobject.class.php");