exit getphoto.php => photo
[platal.git] / templates / login.tpl
index e319c4a..3b3800d 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -20,7 +20,6 @@
 {*                                                                        *}
 {**************************************************************************}
 
-
 {if $ask_naissance}
 
 {include file='include/form_naissance.tpl'}
@@ -44,7 +43,7 @@ Bienvenue {$smarty.session.prenom}
   
 {if $fiche_incitation}
   <p>La dernière mise à jour de ta
-  <a href="{rel}/fiche.php}?user={$smarty.session.forlife}" class="popup2">fiche</a>
+  <a href="{rel}/fiche.php?user={$smarty.session.forlife}" class="popup2">fiche</a>
   date du {$fiche_incitation|date_format}.
   Il est possible qu'elle ne soit pas à jour.
   Si tu souhaites la modifier, <a href="profil.php">clique ici !</a>
@@ -83,6 +82,8 @@ Bienvenue {$smarty.session.prenom}
   <table class="bicol">
     <tr>
       <th>
+        <a href="?lu={$ev.id}{if $previd}#newsid{$previd}{/if}" style="display:block;float:right"><img alt="Cacher" title="Cacher cet article" src="{rel}/images/retirer.gif"/></a>
+        {assign var="previd" value=$ev.id}
         <a id="newsid{$ev.id}"></a>
         {tidy}
           {$ev.titre|nl2br}
@@ -95,7 +96,7 @@ Bienvenue {$smarty.session.prenom}
           {$ev.texte|smarty:nodefaults|nl2br}
         {/tidy}
         <br />
-        <p class="smaller">Annonce proposée par
+        <p class="smaller"><a href="#" style="display:block;float:right"><img alt="Sommaire" title="Remonter tout en haut" src="{rel}/images/up.png"/></a>Annonce proposée par
         <a href="{rel}/fiche.php?user={$ev.forlife}" class="popup2">
           {$ev.prenom} {$ev.nom} X{$ev.promo}
         </a>
@@ -105,6 +106,30 @@ Bienvenue {$smarty.session.prenom}
   </table>
   {/iterate}
 
+  <br/>
+  
+  <table class="bicol">
+    <tr>
+      <th>
+        Sommaire des informations événementielles
+      </th>
+    </tr>
+    {iterate item=ev from=$evenement_summary}
+    <tr class="{cycle values="impair,pair"}">
+      <td class="half">
+        &bull;
+        <a href="{if !$ev.nonlu}?nonlu={$ev.id}{/if}#newsid{$ev.id}">
+        {if $ev.nonlu}<strong>{/if}
+        {tidy}
+          {$ev.titre|nl2br}
+        {/tidy}
+        {if $ev.nonlu}</strong>{/if}
+        </a>
+      </td>
+    </tr>
+    {/iterate}
+  </table>
+
   <p class="smaller">
   Nota Bene : les informations présentées ici n'engagent que leurs auteurs
   respectifs et sont publiées à leur initiative. L'association Polytechnique.org
@@ -115,11 +140,15 @@ Bienvenue {$smarty.session.prenom}
   </p>
 
   <p>
-  <a href="evenements.php">Proposer une information événementielle</a>
+  <a href="{rel}/events/submit">Proposer une information événementielle</a>
   </p>
   {if $smarty.session.core_rss_hash}
   <div class="right">
-    <a href='{rel}/rss.php/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}.xml'><img src='{rel}/images/rssicon.gif' alt='fil rss' /></a>
+    <a href='{rel}/rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml'><img src='{rel}/images/rssicon.gif' alt='fil rss' /></a>
+  </div>
+  {else}
+  <div class="right">
+    <a href='{rel}/prefs/rss?referer=events'><img src='{rel}/images/rssact.gif' alt='fil rss' /></a>
   </div>
   {/if}
 {/if}