really fix 316
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Sun, 5 Jun 2005 09:30:52 +0000 (09:30 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:29:07 +0000 (23:29 +0200)
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

include/platal/globals.inc.php.in
templates/xnet/groupe/evenements.tpl
templates/xnet/groupe/evt-detail.tpl
templates/xnet/groupe/form_evenement.tpl

index c7bc5c7..8e0d124 100644 (file)
@@ -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);
+    }
 }
 
 // }}}
index a01f4bd..e1ca9ff 100644 (file)
@@ -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               *}
+{*                                                                        *}
+{**************************************************************************}
+
 <h1>{$asso.nom} :
 {if ($smarty.request.add || $smarty.request.mod) && $admin}
 <a href='{$smarty.server.PHP_SELF}'>Evénements</a>
index 22f57fa..6215d09 100644 (file)
@@ -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               *}
+{*                                                                        *}
+{**************************************************************************}
+
 <h1>{$asso.nom} : <a href="{$smarty.server.PHP_SELF}">Evénements</a></h1>
 
 <h2>{$evt.intitule}</h2>
index 2b5e93d..655e7d9 100644 (file)
@@ -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               *}
+{*                                                                        *}
+{**************************************************************************}
+
 <p class="descr">
   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