X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fdeco.tpl;h=33226f693e87068f8e324e74f3aa0d57a779ccfc;hb=29abb563dfe6d9e813c76f656532aae0d69da4f2;hp=ae09bea4183c434508e854584e34399b18a50584;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/templates/profile/deco.tpl b/templates/profile/deco.tpl index ae09bea..33226f6 100644 --- a/templates/profile/deco.tpl +++ b/templates/profile/deco.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,193 +20,41 @@ {* *} {**************************************************************************} - -{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} - - - + +
- 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 + + + + + + - - {/foreach} - - - - - -
+ Médailles, Décorations, Prix, ... +
+
+ + {icon name="flag_green" title="site public"} + + bien que publiques (JO, ...), tu peux choisir de ne pas associer ces informations à ta fiche publique -
-   - - {foreach from=$medal_list key=type item=list} - + {foreach from=$list item=m} {/foreach} {/foreach} - - - - ajouter + -
- + + {foreach from=$medals item=medal key=id} + {include file="profile/deco.medal.tpl" medal=$medal id=$id} + {/foreach} +
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}