From: x2000habouzit Date: Tue, 31 Aug 2004 11:38:21 +0000 (+0000) Subject: gpli-sation X-Git-Tag: xorg/old~1661 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=d7d1d1b198163e0b2dc1cc3c6e79a27ad63cf244;p=platal.git gpli-sation --- diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..fab2e63 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,9 @@ +Polytechnique.org TEAM : + + Pierre Habouzit project manager + Guillaume Gommard + Jean-Marc Coic + Jean Sébastien Bedo + Jeremy Lainé + Yann Chevalier + diff --git a/guide-todo b/guide-todo deleted file mode 100644 index 7283862..0000000 --- a/guide-todo +++ /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,
est à éviter, utiliser
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 index 0000000..5f373b1 --- /dev/null +++ b/scripts/devel/foobar.php @@ -0,0 +1,28 @@ + diff --git a/scripts/devel/foobar.pl b/scripts/devel/foobar.pl new file mode 100644 index 0000000..aea4fd5 --- /dev/null +++ b/scripts/devel/foobar.pl @@ -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 index 0000000..dff0fc5 --- /dev/null +++ b/scripts/devel/foobar.tpl @@ -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: *}