X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcarnet%2Fpanel.tpl;h=bde74a848f79132dbf853794d8029a6f5474b265;hb=adb35e56d5b3da825a097a79f14fc9926befa959;hp=f11f0631f9735ab611c85e36a6fb7e6801b7accc;hpb=483fb3124f63ac5a7b5e25b4168fc3f6b9954ea4;p=platal.git diff --git a/templates/carnet/panel.tpl b/templates/carnet/panel.tpl index f11f063..bde74a8 100644 --- a/templates/carnet/panel.tpl +++ b/templates/carnet/panel.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 *} @@ -39,19 +39,19 @@ Il faut pour cela se rendre sur la page de configuration
{if $smarty.session.core_rss_hash} -{icon name=feed title='fil rss'} +{icon name=feed title='fil rss'} {/if}
{foreach from=$notifs->_data item=c key=cid}

{if ($c|@count) > 1} -{$notifs->_cats[$cid].mail} : +{$notifs->_cats[$cid].mail} : {else} {foreach from=$c item=promo} {if ($promo|@count) > 1} - {$notifs->_cats[$cid].mail} : + {$notifs->_cats[$cid].mail} : {else} - {$notifs->_cats[$cid].mail_sg} : + {$notifs->_cats[$cid].mail_sg} : {/if} {/foreach} {/if}

@@ -62,7 +62,7 @@ Il faut pour cela se rendre sur la page de configuration {foreach from=$c key=p item=promo} {section name=row loop=$promo} $smarty.session.watch_last ) || ( $promo[row].date eq $today ) }style="font-weight: bold"{/if}> - {if $smarty.section.row.first}{$p}{/if} + {if $smarty.section.row.first}{$p}{/if} {if $promo[row].inscrit} @@ -76,9 +76,12 @@ Il faut pour cela se rendre sur la page de configuration {$promo[row].prenom} {$promo[row].nom} {/if} - + {$promo[row].date|date_format} + {if $promo[row].data} + {$promo[row].data|smarty:nodefaults} + {/if} {/section} {/foreach}