X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fdeco.tpl;h=f28401808d5213f4d2f59f9211f0788f6a70e7ec;hb=077c74b09704769fd80c38e542d5bed047d2b850;hp=5fc23ce44fa81544bd379f89760e4d9c623858e5;hpb=5ddeb07cc787dd1dc3630a31f1528f5cc7c4d9b9;p=platal.git diff --git a/templates/profile/deco.tpl b/templates/profile/deco.tpl index 5fc23ce..f284018 100644 --- a/templates/profile/deco.tpl +++ b/templates/profile/deco.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,193 +20,40 @@ {* *} {**************************************************************************} - -{literal} - - -{if $smarty.request.medal_op eq "ajouter"} -
- Médailles, Décorations, Prix, ... - | -||||
---|---|---|---|---|
-
|
- ||||
- - | -
- {$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 - - | ||
- - | -- | +