gpli-sation
authorx2000habouzit <x2000habouzit>
Tue, 31 Aug 2004 11:38:21 +0000 (11:38 +0000)
committerx2000habouzit <x2000habouzit>
Tue, 31 Aug 2004 11:38:21 +0000 (11:38 +0000)
AUTHORS [new file with mode: 0644]
guide-todo [deleted file]
scripts/devel/foobar.php [new file with mode: 0644]
scripts/devel/foobar.pl [new file with mode: 0644]
scripts/devel/foobar.tpl [new file with mode: 0644]

diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..fab2e63
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,9 @@
+Polytechnique.org TEAM :
+
+    Pierre Habouzit         <pierre.habouzit@m4x.org>       project manager
+    Guillaume Gommard       <guillaume.gommard@m4x.org>
+    Jean-Marc Coic          <jean-marc.coic@m4x.org>
+    Jean Sébastien Bedo     <jean-sebastien.bedo@m4x.org>
+    Jeremy Lainé            <jeremy.laine@m4x.org>
+    Yann Chevalier          <yann.chevalier@m4x.org>
+
diff --git a/guide-todo b/guide-todo
deleted file mode 100644 (file)
index 7283862..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-CSS :
- - éviter autant que possible les hook en head inutiles pour des css
- - récupérer la classe css qui vous convient le mieux dans les existantes,
-   et sinon, créer une classe la plus générale possible (factorisation de la css -> plus rapide à parser, à dl, etc ...)
- - ajouter *qqs* ID bien particuliers : #skin (fait), #x (pour x.php), #profil (pour le profil) ...
-
-XHTML :
- - b, u, i, center, font, ... sont à proscrire (utiliser em, strong ou des css)
- - (v)align=, border=, ... sont à proscrire (utiliser les css qvb ou un style=)
- - les attributs/balises sont en minuscule
- - les balises ferment toutes (attention, à cause de certains browsers, <br/> est à éviter, utiliser <br /> etc ...)
-
-Code :
- - passer les validations en templates correctement
- - optimiser le cache (y'a surement des erreurs de cache d'ailleurs)
- - utiliser XOrgPage::mysql_assign(...) au lieu de :
-    ,-------------------------------------------------
-    | $res = mysql_query(...);
-    | $truc = array();
-    | while($truc[] = mysql_fetch_assoc($res));
-    | array_pop($truc);
-    | mysql_free_result($res);
-    `-------------------------------------------------
-
-TODO:
- - revérifier tous les liens du site une fois basculé (utiliser tjs {"..."|url} et mettre à jour les liens)
- - regarder du coté de $default_modifiers pour éviter de l'injection de code (genre array('escape:"html"'))
- - compile_check à false pour le site de prod ...
- - affiner le cache :
-   pour les pages dont la modification est controlée, faire détuire le cache et utiliser is_cached
-    (exemple : liste des trackers ... liste des domaines ... etc)
diff --git a/scripts/devel/foobar.php b/scripts/devel/foobar.php
new file mode 100644 (file)
index 0000000..5f373b1
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/***************************************************************************
+ *  Copyright (C) 2003-2004 Polytechnique.org                              *
+ *  http://opensource.polytechnique.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                *
+ ***************************************************************************
+        $Id: foobar.php,v 1.1 2004-08-31 11:38:21 x2000habouzit Exp $
+ ***************************************************************************/
+
+require('auto.prepend.inc.php');
+
+// vim:set et sw=4 sts=4 sws=4:
+?>
diff --git a/scripts/devel/foobar.pl b/scripts/devel/foobar.pl
new file mode 100644 (file)
index 0000000..aea4fd5
--- /dev/null
@@ -0,0 +1,26 @@
+#! /usr/bin/perl -w
+#***************************************************************************
+#*  Copyright (C) 2003-2004 Polytechnique.org                              *
+#*  http://opensource.polytechnique.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                *
+#***************************************************************************
+#       $Id: foobar.pl,v 1.1 2004-08-31 11:38:21 x2000habouzit Exp $
+#***************************************************************************
+
+use strict;
+
+exit 0;
diff --git a/scripts/devel/foobar.tpl b/scripts/devel/foobar.tpl
new file mode 100644 (file)
index 0000000..dff0fc5
--- /dev/null
@@ -0,0 +1,24 @@
+{***************************************************************************
+ *  Copyright (C) 2003-2004 Polytechnique.org                              *
+ *  http://opensource.polytechnique.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                *
+ ***************************************************************************
+        $Id: foobar.tpl,v 1.1 2004-08-31 11:38:21 x2000habouzit Exp $
+ ***************************************************************************}
+
+
+{* vim:set et sw=2 sts=2 sws=2: *}