Fixes vim mode line.
[platal.git] / templates / skin / espace.tpl
index b146eea..80ac947 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2014 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
 {*                                                                        *}
 {**************************************************************************}
-<?xml version="1.0" encoding="iso-8859-15"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-  <head>
-    <base href="{$globals->baseurl}/" />
+
+{include file=skin/common.doctype.tpl}
     <link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
     <link rel="stylesheet" type="text/css" href="css/espace.css" media="all" />
     {include file=skin/common.header.tpl}
-    {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.forlife} ({$smarty.session.perms})
+        Quitter le SU sur {$smarty.session.hruid} ({$smarty.session.perms->flags()})
       </a>
     </div>
     {/if}
@@ -45,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="events"><img src="images/skins/espace_logo.gif" alt="[ LOGO ]" /></a>
+          <a href="index"><img src="images/skins/espace_logo.gif" alt="[ LOGO ]" /></a>
         </td>
         <td id="body-top">
-          <a href="events"><img src="images/skins/espace_ban.jpg" alt="[ Polytechnique.org ]" /></a>
+          <a href="index"><img src="images/skins/espace_ban.jpg" alt="[ Polytechnique.org ]" /></a>
           {include file="skin/common.title.header.tpl"}
-          <a href="events"><img src="images/skins/espace_lesX.gif" alt="[LES X SUR LE WEB]" /></a>
+          <a href="index"><img src="images/skins/espace_lesX.gif" alt="[LES X SUR LE WEB]" /></a>
         </td>
       </tr>
       <tr>
@@ -66,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>
@@ -78,4 +74,4 @@
   {/if}
   </body>
 </html>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}