X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fcarnet%2Fpanel.tpl;h=8add8b0c84212a3a8a594fcb5297b8c4d8801e41;hb=ddaa62b8da770c403dddc57a5fda6e175762a2ee;hp=02aa2c2a118a394237adf0db0309a71a73b9b42f;hpb=6e909db8e8f8a25a0d44e3ff74bcc5f76eb2ea92;p=platal.git
diff --git a/templates/carnet/panel.tpl b/templates/carnet/panel.tpl
index 02aa2c2..8add8b0 100644
--- a/templates/carnet/panel.tpl
+++ b/templates/carnet/panel.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -43,56 +43,36 @@ Il faut pour cela se rendre sur la page de configuration
{/if}
-{foreach from=$notifs->_data item=c key=cid}
-{if ($c|@count) > 1}
-{$notifs->_cats[$cid].mail} :
-{else}
- {foreach from=$c item=promo}
- {if ($promo|@count) > 1}
- {$notifs->_cats[$cid].mail} :
- {else}
- {if $promo[0].sexe}
- {$notifs->_cats[$cid].mail_sg_xette} :
- {else}
- {$notifs->_cats[$cid].mail_sg} :
- {/if}
+{foreach from=$notifs item=cat}
+