From 629e500fcacc4610c66f77b647c61507c95ecbf3 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Sun, 1 Apr 2007 16:26:04 +0000 Subject: [PATCH] Typo and charset fixes git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1646 839d8a87-29fc-0310-9880-83ba4fa771e5 --- templates/geoloc/city.tpl | 2 +- templates/geoloc/country.tpl | 4 +- templates/geoloc/init.tpl | 98 +++++++++++++++++++++--------------------- templates/search/quick.tpl | 2 +- upgrade/0.9.14/geoloc.utf8.php | 21 +++++---- 5 files changed, 65 insertions(+), 62 deletions(-) diff --git a/templates/geoloc/city.tpl b/templates/geoloc/city.tpl index 0636647..de51c16 100644 --- a/templates/geoloc/city.tpl +++ b/templates/geoloc/city.tpl @@ -22,6 +22,6 @@ {assign var="beginning" value=true} {assign var="nb_displayed" value=0} - {iterate from=$users item="user"}{if !$beginning}
{/if}{if $nb_displayed < 10}{$user.prenom|utf8_encode} {$user.nom|strtolower|ucwords|utf8_encode} - {$user.promo}{else}...{/if}{assign var="nb_displayed" value=$nb_displayed+1}{assign var="beginning" value=false}{/iterate} + {iterate from=$users item="user"}{if !$beginning}
{/if}{if $nb_displayed < 10}{$user.prenom} {$user.nom|strtolower|ucwords} - {$user.promo}{else}...{/if}{assign var="nb_displayed" value=$nb_displayed+1}{assign var="beginning" value=false}{/iterate}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} diff --git a/templates/geoloc/country.tpl b/templates/geoloc/country.tpl index 4aa9c2df..1201862 100644 --- a/templates/geoloc/country.tpl +++ b/templates/geoloc/country.tpl @@ -23,13 +23,13 @@ {foreach from=$countries item="country"} - + {if $country.nbPop > 0 or $country.id eq 0} - + {/if} diff --git a/templates/geoloc/init.tpl b/templates/geoloc/init.tpl index 78d1336..7cb6d85 100644 --- a/templates/geoloc/init.tpl +++ b/templates/geoloc/init.tpl @@ -1,50 +1,50 @@ -{**************************************************************************} -{* *} -{* Copyright (C) 2003-2007 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 *} -{* *} -{**************************************************************************} - +{**************************************************************************} +{* *} +{* Copyright (C) 2003-2007 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 *} +{* *} +{**************************************************************************} + {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} diff --git a/templates/search/quick.tpl b/templates/search/quick.tpl index 15a9e61..13a4b02 100644 --- a/templates/search/quick.tpl +++ b/templates/search/quick.tpl @@ -94,7 +94,7 @@ notre base de données.