* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-#bandeau-X a { vertical-align: middle; }
-#bandeau-X a:link, #bandeau-X a:visited { text-decoration: none ; color: #505050; }
-#bandeau-X a:hover { text-decoration: underline; color: black; }
-#bandeau-X a:active { color: #CCCCCC ; background: #505050 ; }
-body {margin:0px;}
-#bandeau-X {
-background:#CCCCCC;color:#505050;font-size:10px;font-family:Verdana, Arial, Helvetica, sans-serif;height:15px;border:none;padding:0;margin:0 }
-#bandeau-X img { vertical-align:middle;border:0;padding:0;margin:0 }
+@media screen {
+ #bandeau-X a { vertical-align: middle; }
+ #bandeau-X a:link, #bandeau-X a:visited { text-decoration: none ; color: #505050; }
+ #bandeau-X a:hover { text-decoration: underline; color: black; }
+ #bandeau-X a:active { color: #CCCCCC ; background: #505050 ; }
+ body {margin:0px;}
+ #bandeau-X {
+ background:#CCCCCC;color:#505050;font-size:10px;font-family:Verdana, Arial, Helvetica, sans-serif;height:15px;border:none;padding:0;margin:0 }
+ #bandeau-X img { vertical-align:middle;border:0;padding:0;margin:0 }
+}
$page->changeTpl('skin/common.bandeau.tpl', NO_SKIN);
$page->assign('login', $login == 'login');
$page->assign('seed', $login);
+ $page->assign('external', true);
}
function handler_css(&$page)
+++ /dev/null
-{**************************************************************************}
-{* *}
-{* Copyright (C) 2003-2011 Polytechnique.org *}
-{* http://opensource.polytechnique.org/ *}
-{* *}
-{* This program is free software; you can redistribute it and/or modify *}
-{* it under the terms of the GNU General Public License as published by *}
-{* the Free Software Foundation; either version 2 of the License, or *}
-{* (at your option) any later version. *}
-{* *}
-{* This program is distributed in the hope that it will be useful, *}
-{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
-{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
-{* GNU General Public License for more details. *}
-{* *}
-{* You should have received a copy of the GNU General Public License *}
-{* along with this program; if not, write to the Free Software *}
-{* Foundation, Inc., *}
-{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
-{* *}
-{**************************************************************************}
-
-<link rel="stylesheet" media="screen" type="text/css" href="css/bandeau.css"/>
-
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
incluez le fichier http://www.polytechnique.org/bandeau dans vos php
ou http://www.polytechnique.org/bandeau/login pour profiter du login
automatique. Et rajoutez à la liste de css de vos pages
- http://www.polytechnique.org/bandeau.css.
+ http://www.polytechnique.org/css/bandeau.css.
Pour avoir l'icone, pour des raisons de sécurité il n'y a pas d'accès
direct, il faut alors rediriger bandeau/icone.png vers celle du site :
http://www.polytechnique.org/bandeau/icone.png
<div id="bandeau-X">
- <img src="bandeau/icone.png" alt=""/>
+ <img src="{if $external}bandeau/icone.png{else}images/x.png{/if}" width="13" height="14" alt=""/>
<a href="http://www.polytechnique.fr/">L'École</a> ·
<a href="http://www.polytechnique.edu/">Institutional site</a>
˜˜
<link rel="apple-touch-icon" href="images/logo.png" type="image/png" />
<link rel="stylesheet" type="text/css" href="css/base.css" media="all"/>
+ <link rel="stylesheet" type="text/css" href="css/bandeau.css" />
<link rel="index" href="index" />
<link rel="author" href="changelog" />
{include file=skin/common.doctype.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.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 core=plpage.devel.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/humlinux.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
{include file=skin/common.doctype.tpl}
<link rel="stylesheet" type="text/css" href="css/keynote.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/linux.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/liteskin.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/nbviolet.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/newxorg.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/oldtimes.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
{include file=skin/common.doctype.tpl}
<link rel="stylesheet" type="text/css" href="css/openweb.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
{include file=skin/common.doctype.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/sharky.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/spectral.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
<link rel="stylesheet" type="text/css" href="css/default.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/trapped.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}
<link rel="apple-touch-icon" href="images/logo-xnet.png" type="image/png" />
<link rel="stylesheet" type="text/css" href="css/xnet.css" media="screen" />
- <link rel="stylesheet" type="text/css" href="css/base.css" media="screen" />
+ <link rel="stylesheet" type="text/css" href="css/base.css" media="all" />
+ <link rel="stylesheet" type="text/css" href="css/bandeau.css" />
<link rel="bookmark" href="http://www.polytechnique.fr/" title="| École polytechnique" />
<link rel="bookmark" href="http://www.polytechnique.edu/" title="| Institutionnal site" />
<link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" />
{include core=plpage.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
{include core=plpage.devel.tpl}