projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes bug in postal addresses formatting.
[platal.git]
/
templates
/
stats
/
evolution_inscrits.tpl
diff --git
a/templates/stats/evolution_inscrits.tpl
b/templates/stats/evolution_inscrits.tpl
index
dc5fcf2
..
d42e16d
100644
(file)
--- a/
templates/stats/evolution_inscrits.tpl
+++ b/
templates/stats/evolution_inscrits.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
04
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
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 *}
@@
-20,35
+20,32
@@
{* *}
{**************************************************************************}
{* *}
{**************************************************************************}
-
-<h1>
- Evolution du nombre d'inscrits au site polytechnique.org
-</h1>
+<h1>Evolution du nombre d'inscrits au site polytechnique.org</h1>
<div class="center">
<div class="center">
-{if $
smarty.request.jours eq 1826
}
+{if $
jours eq 1825
}
[<strong>depuis 5 ans</strong>]
{else}
[<strong>depuis 5 ans</strong>]
{else}
-[<a href="
?jours=1826
">depuis 5 ans</a>]
+[<a href="
stats/evolution/1825
">depuis 5 ans</a>]
{/if}
{/if}
-{if $
smarty.request.jours eq 731
}
+{if $
jours eq 730
}
[<strong>depuis 2 ans</strong>]
{else}
[<strong>depuis 2 ans</strong>]
{else}
-[<a href="
?jours=731
">depuis 2 ans</a>]
+[<a href="
stats/evolution/730
">depuis 2 ans</a>]
{/if}
{/if}
-{if
(!$smarty.request.jours) or ($smarty.request.jours eq 364)
}
+{if
$jours eq 365
}
[<strong>depuis un an</strong>]
{else}
[<strong>depuis un an</strong>]
{else}
-[<a href="
?jours=364
">depuis un an</a>]
+[<a href="
stats/evolution/365
">depuis un an</a>]
{/if}
{/if}
-{if $
smarty.request.
jours eq 30}
+{if $jours eq 30}
[<strong>depuis un mois</strong>]
{else}
[<strong>depuis un mois</strong>]
{else}
-[<a href="
?jours=
30">depuis 1 mois</a>]
+[<a href="
stats/evolution/
30">depuis 1 mois</a>]
{/if}
</div>
<div class="center">
{/if}
</div>
<div class="center">
- <img src="
{"stats/graph_evolution.php?jours="|url}{$smarty.request.
jours}" alt=" [ INSCRITS ] " />
+ <img src="
stats/graph/evolution/{$
jours}" alt=" [ INSCRITS ] " />
</div>
</div>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2
enc=utf-8
: *}