[SPIP] ~2.1.12 -->2.1.25
[velocampus/web/www.git] / www / ecrire / auth / spip.php
index 3f426d8..c86e6c5 100644 (file)
@@ -3,7 +3,7 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2011                                                *
+ *  Copyright (c) 2001-2014                                                *
  *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
  *                                                                         *
  *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
@@ -131,7 +131,7 @@ function auth_spip_verifier_login($new_login, $id_auteur=0, $serveur=''){
        // login et mot de passe
        if (strlen($new_login)){
                if (strlen($new_login) < _LOGIN_TROP_COURT)
-                       return 'info_login_trop_court';
+                       return _T('info_login_trop_court');
                else {
                        $n = sql_countsel('spip_auteurs', "login=" . sql_quote($new_login) . " AND id_auteur!=".intval($id_auteur)." AND statut!='5poubelle'",'','',$serveur);
                        if ($n)