Convert source code to UTF-8
[platal.git] / templates / geoloc / city.tpl
CommitLineData
56670b6a 1{**************************************************************************}\r
2{* *}\r
5ddeb07c 3{* Copyright (C) 2003-2007 Polytechnique.org *}\r
56670b6a 4{* http://opensource.polytechnique.org/ *}\r
5{* *}\r
6{* This program is free software; you can redistribute it and/or modify *}\r
7{* it under the terms of the GNU General Public License as published by *}\r
8{* the Free Software Foundation; either version 2 of the License, or *}\r
9{* (at your option) any later version. *}\r
10{* *}\r
11{* This program is distributed in the hope that it will be useful, *}\r
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}\r
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}\r
14{* GNU General Public License for more details. *}\r
15{* *}\r
16{* You should have received a copy of the GNU General Public License *}\r
17{* along with this program; if not, write to the Free Software *}\r
18{* Foundation, Inc., *}\r
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}\r
20{* *}\r
21<?xml version="1.0" encoding="utf-8"?>\r
22<city id="{$smarty.request.cityid}">\r
23 {assign var="beginning" value=true}\r
24 {assign var="nb_displayed" value=0}\r
509310c2 25 {iterate from=$users item="user"}{if !$beginning}<br/>{/if}{if $nb_displayed < 10}<a href="javascript:ficheXorg('{$user.alias}');">{$user.prenom|utf8_encode} {$user.nom|strtolower|ucwords|utf8_encode} - {$user.promo}</a>{else}<a href="javascript:clickOnCity({$smarty.request.cityid})">...</a>{/if}{assign var="nb_displayed" value=$nb_displayed+1}{assign var="beginning" value=false}{/iterate}\r
56670b6a 26</city>\r
a7de4ef7 27{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}\r