Happy New Year!
[platal.git] / templates / skin / default.tpl
index 9b509dc..696dc7a 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
     {include file=skin/common.bandeau.head.tpl}
   </head>
   <body>
-    {include file=skin/common.devel.tpl}
+    {include core=plpage.devel.tpl}
     {if !$simple}
       {include file=skin/common.bandeau.tpl}
     {/if}
-    {if $smarty.session.suid}
+    {if t($smarty.session.suid)}
     <div id="suid">
       <a href="exit">
         Quitter le SU sur {$smarty.session.hruid} ({$smarty.session.perms->flags()})
@@ -41,7 +41,7 @@
   {if $simple}
 
     <div id="content">
-      {include file="skin/common.content.tpl"}
+      {include core=plpage.content.tpl}
     </div>
 
   {else}
     <table id="body" cellpadding="0" cellspacing="0">
       <tr>
         <td id="body-logo">
-          <a href=""><img src="images/skins/default_headlogo.jpg" alt="[ LOGO ]" /></a>
+          <a href="index"><img src="images/skins/default_headlogo.jpg" alt="[ LOGO ]" /></a>
         </td>
         <td id="body-top">
-          <a href=""><img src="images/skins/default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
+          <a href="index"><img src="images/skins/default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
           {include file="skin/common.title.header.tpl"}
-          <a href=""><img src="images/skins/default_lesX.gif" alt="[LES X SUR LE WEB]" /></a>
+          <a href="index"><img src="images/skins/default_lesX.gif" alt="[LES X SUR LE WEB]" /></a>
         </td>
       </tr>
       <tr>
@@ -62,7 +62,7 @@
         {include file=skin/common.menu.tpl}
         </td>
         <td id="content">
-          {include file="skin/common.content.tpl"}
+          {include core=plpage.content.tpl}
         </td>
       </tr>
       <tr>