projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/platal-0.10.2'
[platal.git]
/
templates
/
geoloc
/
city.tpl
diff --git
a/templates/geoloc/city.tpl
b/templates/geoloc/city.tpl
index
03395e6
..
27f619f
100644
(file)
--- a/
templates/geoloc/city.tpl
+++ b/
templates/geoloc/city.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
\r
{* *}
\r
{**************************************************************************}
\r
{* *}
\r
-{* Copyright (C) 2003-200
8
Polytechnique.org *}
\r
+{* Copyright (C) 2003-200
9
Polytechnique.org *}
\r
{* http://opensource.polytechnique.org/ *}
\r
{* *}
\r
{* This program is free software; you can redistribute it and/or modify *}
\r
{* http://opensource.polytechnique.org/ *}
\r
{* *}
\r
{* This program is free software; you can redistribute it and/or modify *}
\r
@@
-22,6
+22,6
@@
<city id="{$smarty.request.cityid}">
\r
{assign var="beginning" value=true}
\r
{assign var="nb_displayed" value=0}
\r
<city id="{$smarty.request.cityid}">
\r
{assign var="beginning" value=true}
\r
{assign var="nb_displayed" value=0}
\r
- {
iterate from=$users item="user"}{if !$beginning}<br/>{/if}{if $nb_displayed < 10}<a href="javascript:ficheXorg('{$user.alias}');">{$user.prenom} {$user.nom|strtolower|ucwords} - {$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
+ {
foreach from=$users item="user"}{if !$beginning}<br/>{/if}{if $nb_displayed < 10}<a href="javascript:ficheXorg('{$user.alias}');">{$user.prenom} {$user.nom|mb_strtolower|ucwords} - {$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}{/foreach
}
\r
</city>
\r
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
\r
</city>
\r
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
\r