From 6e1e795f9d762590fde34c0a6d6d3479299ae8e6 Mon Sep 17 00:00:00 2001 From: x2001corpet Date: Wed, 14 Jun 2006 00:54:11 +0000 Subject: [PATCH] mutualise la partie qui affiche la date et le nb d'inscrits dans les skins + formulaire de recherche rapide dans cette barre git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@313 839d8a87-29fc-0310-9880-83ba4fa771e5 --- ChangeLog | 4 ++++ htdocs/css/default.css | 7 +++++- templates/skin/common.title.header.tpl | 41 ++++++++++++++++++++++++++++++++++ templates/skin/default.tpl | 18 ++------------- templates/skin/espace.tpl | 18 ++------------- templates/skin/humlinux.tpl | 18 ++------------- templates/skin/linux.tpl | 18 ++------------- templates/skin/liteskin.tpl | 18 ++------------- templates/skin/nbviolet.tpl | 18 ++------------- templates/skin/newxorg.tpl | 18 ++------------- templates/skin/oldtimes.tpl | 18 ++------------- templates/skin/openweb.tpl | 18 ++------------- templates/skin/sharky.tpl | 18 ++------------- templates/skin/spectral.tpl | 18 ++------------- templates/skin/trapped.tpl | 18 ++------------- 15 files changed, 75 insertions(+), 193 deletions(-) create mode 100644 templates/skin/common.title.header.tpl diff --git a/ChangeLog b/ChangeLog index 13329ae..4df9c06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,10 @@ New : * Profile : - See fiche send to AX. -Car + * Skin : + - Common file for header above title. -Car + - Add a quick search form in this common header. -Car + * Xnet : - Use wiki from Xnet. -Car - Use wiki for group pages. -Car diff --git a/htdocs/css/default.css b/htdocs/css/default.css index fec37e1..929e846 100644 --- a/htdocs/css/default.css +++ b/htdocs/css/default.css @@ -1,5 +1,5 @@ /*************************************************************************** - * 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 * @@ -545,6 +545,11 @@ div.adresse { vertical-align: top; } +#quick_search { + color: gray; + text-align: right; +} + div#content { padding: 1em; margin: 0em; diff --git a/templates/skin/common.title.header.tpl b/templates/skin/common.title.header.tpl new file mode 100644 index 0000000..9423df8 --- /dev/null +++ b/templates/skin/common.title.header.tpl @@ -0,0 +1,41 @@ +{**************************************************************************} +{* *} +{* Copyright (C) 2003-2006 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 *} +{* *} +{**************************************************************************} + + + + + +
+ + + {insert name="getNbIns"} polytechniciens sur le web +
+
+ +
+
+ {insert name="getNbNotifs"} +
diff --git a/templates/skin/default.tpl b/templates/skin/default.tpl index 1ed8664..b41a0a3 100644 --- a/templates/skin/default.tpl +++ b/templates/skin/default.tpl @@ -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 *} @@ -57,21 +57,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} [LES X SUR LE WEB] diff --git a/templates/skin/espace.tpl b/templates/skin/espace.tpl index a947781..89f7dfd 100644 --- a/templates/skin/espace.tpl +++ b/templates/skin/espace.tpl @@ -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 *} @@ -59,21 +59,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} [LES X SUR LE WEB] diff --git a/templates/skin/humlinux.tpl b/templates/skin/humlinux.tpl index 286dff0..d447670 100644 --- a/templates/skin/humlinux.tpl +++ b/templates/skin/humlinux.tpl @@ -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 *} @@ -59,21 +59,7 @@ [LES X SUR LE WEB] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} diff --git a/templates/skin/linux.tpl b/templates/skin/linux.tpl index 01f0dfe..69a2017 100644 --- a/templates/skin/linux.tpl +++ b/templates/skin/linux.tpl @@ -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 *} @@ -59,21 +59,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} [LES X SUR LE WEB] diff --git a/templates/skin/liteskin.tpl b/templates/skin/liteskin.tpl index a8c8ed2..d7172bd 100644 --- a/templates/skin/liteskin.tpl +++ b/templates/skin/liteskin.tpl @@ -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 *} @@ -59,21 +59,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} diff --git a/templates/skin/nbviolet.tpl b/templates/skin/nbviolet.tpl index bcca45b..6dd1c17 100644 --- a/templates/skin/nbviolet.tpl +++ b/templates/skin/nbviolet.tpl @@ -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 *} @@ -59,21 +59,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} [LES X SUR LE WEB] diff --git a/templates/skin/newxorg.tpl b/templates/skin/newxorg.tpl index fe375e2..bbb60f6 100644 --- a/templates/skin/newxorg.tpl +++ b/templates/skin/newxorg.tpl @@ -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 *} @@ -59,21 +59,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} diff --git a/templates/skin/oldtimes.tpl b/templates/skin/oldtimes.tpl index 8aff1b0..60d2eba 100644 --- a/templates/skin/oldtimes.tpl +++ b/templates/skin/oldtimes.tpl @@ -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 *} @@ -59,21 +59,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} [LES X SUR LE WEB] diff --git a/templates/skin/openweb.tpl b/templates/skin/openweb.tpl index 8aaf7ad..10e9f79 100644 --- a/templates/skin/openweb.tpl +++ b/templates/skin/openweb.tpl @@ -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 *} @@ -58,21 +58,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 92f7489..dbf56aa 100644 --- a/templates/skin/sharky.tpl +++ b/templates/skin/sharky.tpl @@ -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 *} @@ -59,21 +59,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} diff --git a/templates/skin/spectral.tpl b/templates/skin/spectral.tpl index d47d5d0..dcff345 100644 --- a/templates/skin/spectral.tpl +++ b/templates/skin/spectral.tpl @@ -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 *} @@ -59,21 +59,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} [LES X SUR LE WEB] diff --git a/templates/skin/trapped.tpl b/templates/skin/trapped.tpl index 40956f6..c57daca 100644 --- a/templates/skin/trapped.tpl +++ b/templates/skin/trapped.tpl @@ -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 *} @@ -59,21 +59,7 @@ [ Polytechnique.org ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ {include file="skin/common.title.header.tpl"} [LES X SUR LE WEB] -- 2.1.4