common.content.tpl and common.devel.tpl have been moved to the core.
[platal.git] / templates / xnet / skin.tpl
index 4bf4f96..f90a53e 100644 (file)
     <link rel="bookmark" href="http://www.polytechnique.org/"       title="| Polytechnique.org" />
     <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" />
 
-    {foreach from=$pl_css item=css}
-    <link rel="stylesheet" type="text/css" href="css/{$css}" />
-    {/foreach}
-    {foreach from=$pl_inline_css item=css} 
-    <style type="text/css"> 
-    {$css|smarty:nodefaults} 
-    </style> 
-    {/foreach} 
-    {foreach from=$pl_link item=link}
-    <link rel="{$link.rel}" href="{$link.href}" />
-    {/foreach}
+    {include core=plpage.header.tpl}
     <script type="text/javascript">
     var platal_baseurl = "{$globals->baseurl}/"
     if (window.top != window)
       document.write('<link rel="stylesheet" type="text/css" href="css/onlycontent.css" media="all"/>');
     </script>
-    {foreach from=$pl_js item=js}
-    <script type="text/javascript" src="javascript/{$js}"></script>
-    {/foreach}
     {javascript name=overlib}
-
-    {if $pl_rss}
-    <link rel="alternate" type="application/rss+xml" title="{$pl_rss.title}" href="{$pl_rss.href}" />
-    {/if}
-
-    {if $pl_extra_header}
-    {$pl_extra_header|smarty:nodefaults}
-    {/if}
-
-    <title>Les associations polytechniciennes</title>
     {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}
         </td>
         <td id="body">
-          {include file="skin/common.content.tpl"}
+          {include core=plpage.content.tpl}
         </td>
       </tr>
       {else}
       <tr>
         <td colspan="2">
-          {include file="skin/common.content.tpl"}
+          {include core=plpage.content.tpl}
         </td>
       </tr>
       {if !$simple}