[Devel] r340 - trunk

svn at agendadulibre.org svn at agendadulibre.org
Lun 19 Mai 21:04:22 CEST 2008


Author: thomas
Date: Mon May 19 21:03:30 2008
New Revision: 340

Log:
Passage d'UTF-8 à ISO-8859-1 de ce fichier (puisque tout le reste du
site est en ISO-8859-1 actuellement).

Ajout du barratin de copyright.



Modified:
   trunk/user.inc.php

Modified: trunk/user.inc.php
==============================================================================
--- trunk/user.inc.php	(original)
+++ trunk/user.inc.php	Mon May 19 21:03:30 2008
@@ -1,5 +1,24 @@
 <?php
 
+/* Copyright 2008
+ * - Thomas Petazzoni <thomas POINT petazzoni CHEZ enix POINT org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * 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.
+ */
+
 class user
 {
   var $session;
@@ -16,7 +35,7 @@
     $ret = $this->db->query ($sql);
     if ($ret == FALSE)
       {
-	error ("Erreur lors de la requête <i>" . $sql . "</i>");
+	error ("Erreur lors de la requête <i>" . $sql . "</i>");
 	return -1;
       }
 
@@ -41,7 +60,7 @@
     $ret = $this->db->query($sql);
     if ($ret == FALSE)
       {
-	error("Erreur lors de la requête <i>" . $sql . "</i>");
+	error("Erreur lors de la requête <i>" . $sql . "</i>");
 	return -1;
       }
 
@@ -58,7 +77,7 @@
     $ret = $this->db->query($sql);
     if ($ret == FALSE)
       {
-	error("Erreur lors de la requête <i>" . $sql . "</i>");
+	error("Erreur lors de la requête <i>" . $sql . "</i>");
 	return -1;
       }
 
@@ -78,7 +97,7 @@
       {
 	if (! $_POST['__user_identify'])
 	  {
-	    put_header("Modération");
+	    put_header("Modération");
 
 	    echo "<h2>Identification</h2>";
 	    echo "<table align=\"center\">";
@@ -100,7 +119,7 @@
 	      }
 	    else
 	      {
-		put_header("Modération");
+		put_header("Modération");
 		echo "Mauvais login/pass";
 		put_footer();
 		exit;


Plus d'informations sur la liste de diffusion Devel