From: Pierre Habouzit (MadCoder Date: Sun, 5 Jun 2005 09:30:52 +0000 (+0000) Subject: really fix 316 X-Git-Tag: xorg/old~85 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=45b91d008f8450cc252e3a1b8f445121470ff06e;p=platal.git really fix 316 Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.6--patch-34 forgot the globals.inc.php.in thing git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-679 --- diff --git a/include/platal/globals.inc.php.in b/include/platal/globals.inc.php.in index c7bc5c7..8e0d124 100644 --- a/include/platal/globals.inc.php.in +++ b/include/platal/globals.inc.php.in @@ -89,6 +89,14 @@ class PlatalGlobals extends DiogenesCoreGlobals } } } + + function setlocale() + { + global $globals; + setlocale(LC_MESSAGES, $globals->core->locale); + setlocale(LC_TIME, $globals->core->locale); + setlocale(LC_CTYPE, $globals->core->locale); + } } // }}} diff --git a/templates/xnet/groupe/evenements.tpl b/templates/xnet/groupe/evenements.tpl index a01f4bd..e1ca9ff 100644 --- a/templates/xnet/groupe/evenements.tpl +++ b/templates/xnet/groupe/evenements.tpl @@ -1,3 +1,25 @@ +{**************************************************************************} +{* *} +{* 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 *} +{* *} +{**************************************************************************} +

{$asso.nom} : {if ($smarty.request.add || $smarty.request.mod) && $admin} Evénements diff --git a/templates/xnet/groupe/evt-detail.tpl b/templates/xnet/groupe/evt-detail.tpl index 22f57fa..6215d09 100644 --- a/templates/xnet/groupe/evt-detail.tpl +++ b/templates/xnet/groupe/evt-detail.tpl @@ -1,3 +1,25 @@ +{**************************************************************************} +{* *} +{* 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 *} +{* *} +{**************************************************************************} +

{$asso.nom} : Evénements

{$evt.intitule}

diff --git a/templates/xnet/groupe/form_evenement.tpl b/templates/xnet/groupe/form_evenement.tpl index 2b5e93d..655e7d9 100644 --- a/templates/xnet/groupe/form_evenement.tpl +++ b/templates/xnet/groupe/form_evenement.tpl @@ -1,3 +1,25 @@ +{**************************************************************************} +{* *} +{* 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 *} +{* *} +{**************************************************************************} +

Un événement peut être une réunion, un séminaire, une conférence, un voyage promo, etc... Pour en organiser un et bénéficier des outils de suivi d'inscription et de