X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fdeco.tpl;h=091da7d549d3eca1ed31016b385b54dbf023fe39;hb=59bec5bc5512a4f962ebac7b0346f59cdf56f901;hp=de73a9b068a6e666c8539b39c1ac2c7dc11e03c7;hpb=3f4285762f6fa1566aac2a17a6dd04105e9d8623;p=platal.git diff --git a/templates/profile/deco.tpl b/templates/profile/deco.tpl index de73a9b..091da7d 100644 --- a/templates/profile/deco.tpl +++ b/templates/profile/deco.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,192 +20,40 @@ {* *} {**************************************************************************} - -{literal} - - -{if $smarty.request.medal_op eq "ajouter"} -
- Ta demande a bien été prise en compte, elle sera validée prochainement par un administrateur. -
-{/if} -
- - - - - - - - - - - {foreach from=$medals item=m} - - - - - - {/foreach} - {foreach from=$medals_valid item=v} - - - - - {/foreach} - - - + +
- Médailles, Décorations, Prix, ... -
- - - - - -
- - - ces informations sont normalement publiques (JO, ...) mais tu peux choisir de les associer a ta fiche publique -
-
- {$m.medal} - - {$m.medal}
- {if $grades[$m.id]|@count} - {foreach from=$grades[$m.id] item=g} - {if $g.gid eq $m.gid}{$g.text}{/if} - {/foreach} - {/if} -
- - retirer - -
- mid}src="images/medals/{$m.img}"{/if} - {/foreach} - {/foreach} - title="Validation" alt="Validation" width="32" /> - - - {foreach from=$medal_list item=list} - {foreach from=$list item=m} - {if $m.id eq $v->mid}{$m.text} (en attente de validation){/if} - {/foreach} - {/foreach} -
- {foreach from=$grades key=mid item=grd} - {if $mid eq $v->mid} - {foreach from=$grd item=g} - {if $g.gid eq $v->gid}{$g.text}{/if} - {/foreach} - {/if} - {/foreach} -
- - annuler - -
-   - - + + + + + - - -
+
+ +
+ Médailles, Décorations, Prix, ... +
+
+ - -
- - ajouter + -
- - -{* vim:set et sw=2 sts=2 sws=2: *} + + {foreach from=$medals item=medal key=id} + {include file="profile/deco.medal.tpl" medal=$medal id=$id} + {/foreach} +
Si ta décoration ou ta médaille ne figure pas dans la liste, + contacte-nous.
+
+ +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}