projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the same button for all email validation.
[platal.git]
/
templates
/
marketing
/
this_week.tpl
diff --git
a/templates/marketing/this_week.tpl
b/templates/marketing/this_week.tpl
index
659c355
..
efb2f1f
100644
(file)
--- a/
templates/marketing/this_week.tpl
+++ b/
templates/marketing/this_week.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-201
0
Polytechnique.org *}
+{* Copyright (C) 2003-201
1
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-24,7
+24,7
@@
<h1>Inscrits des 7 derniers jours</h1>
<p>
<h1>Inscrits des 7 derniers jours</h1>
<p>
-{$
ins->total()
} Polytechniciens se sont inscrits ces 7 derniers jours !
+{$
users|@count
} Polytechniciens se sont inscrits ces 7 derniers jours !
</p>
<div class="right">
</p>
<div class="right">
@@
-38,18
+38,17
@@
<th>Promo</th>
<th>Nom</th>
</tr>
<th>Promo</th>
<th>Nom</th>
</tr>
-{
iterate item=in from=$in
s}
+{
foreach item=user from=$user
s}
<tr class="{cycle values="impair,pair"}">
<tr class="{cycle values="impair,pair"}">
- <td class="center">{$
in.date_ins
|date_format:"%x %X"}</td>
+ <td class="center">{$
user->registration_date
|date_format:"%x %X"}</td>
<td class="center">
<td class="center">
- <a href="marketing/promo/{$
in.promo}">{$in.promo
}</a>
+ <a href="marketing/promo/{$
user->promo()}">{$user->promo()
}</a>
</td>
<td>
</td>
<td>
- <a href="profile/{$in.forlife}" class="popup2">
- {$in.nom} {$in.prenom}</a>
+ {profile user=$user}
</td>
</tr>
</td>
</tr>
-{/
iterate
}
+{/
foreach
}
</table>
<div class="right">
</table>
<div class="right">