From: x2001corpet Date: Sat, 18 Nov 2006 18:05:44 +0000 (+0000) Subject: remonte les sommaires d'evenement en haut de page X-Git-Tag: xorg/0.9.12~94 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8e95ff415873ce98ed0f25efcf186d469b89b684;p=platal.git remonte les sommaires d'evenement en haut de page git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1104 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/templates/login.tpl b/templates/login.tpl index a104701..7fddd6b 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -77,41 +77,6 @@ Bienvenue {$smarty.session.prenom} - {iterate item=ev from=$evenement} -
- - - - - - - - -
- - {assign var="previd" value=$ev.id} - - {tidy} - {$ev.titre|nl2br} - {/tidy} -
- {tidy} - {$ev.texte|smarty:nodefaults|nl2br} - {/tidy} -
-

SommaireAnnonce proposée par - - {$ev.prenom} {$ev.nom} X{$ev.promo} - -

-
- {/iterate} -
@@ -151,6 +116,41 @@ Bienvenue {$smarty.session.prenom} {/if}
+ {iterate item=ev from=$evenement} +
+ + + + + + + + +
+ + {assign var="previd" value=$ev.id} + + {tidy} + {$ev.titre|nl2br} + {/tidy} +
+ {tidy} + {$ev.texte|smarty:nodefaults|nl2br} + {/tidy} +
+

SommaireAnnonce proposée par + + {$ev.prenom} {$ev.nom} X{$ev.promo} + +

+
+ {/iterate} +

Nota Bene : les informations présentées ici n'engagent que leurs auteurs respectifs et sont publiées à leur initiative. L'association Polytechnique.org diff --git a/templates/xnet/groupe/asso.tpl b/templates/xnet/groupe/asso.tpl index 24a9b35..964c12a 100644 --- a/templates/xnet/groupe/asso.tpl +++ b/templates/xnet/groupe/asso.tpl @@ -87,15 +87,6 @@
-{if $articles->total()} -

-{iterate item=art from=$articles} -{include file="xnet/groupe/form.announce.tpl"} -
-{/iterate} -
-{/if} - {if $article_index && $article_index->total()} @@ -128,6 +119,17 @@
{/if} +
+ +{if $articles->total()} +
+{iterate item=art from=$articles} +{include file="xnet/groupe/form.announce.tpl"} +
+{/iterate} +
+{/if} + {if $is_admin}
[Ajouter une annonce]