X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcarnet%2Fpanel.tpl;h=8add8b0c84212a3a8a594fcb5297b8c4d8801e41;hb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;hp=02aa2c2a118a394237adf0db0309a71a73b9b42f;hpb=84fc72ffb0ef96311a18e668c2d427e8642753d5;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}
+