diff --git a/htdocs/theme/bluelagoon/bluelagoon.css b/htdocs/theme/bluelagoon/bluelagoon.css.php similarity index 97% rename from htdocs/theme/bluelagoon/bluelagoon.css rename to htdocs/theme/bluelagoon/bluelagoon.css.php index 57401e7e2f94557c82e4d65ddc06da0f019073cf..ee890807b1567efc4d582f19662c7511e76bb20f 100644 --- a/htdocs/theme/bluelagoon/bluelagoon.css +++ b/htdocs/theme/bluelagoon/bluelagoon.css.php @@ -1,5 +1,7 @@ -/* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net> +<?php +/* Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org> + * Copyright (C) 2007 Regis Houssin <regis@dolibarr.fr> * * 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 @@ -17,11 +19,23 @@ */ /** - * \file htdocs/theme/bluelagoon/bluelagoon.css.php + * \file htdocs/theme/bluelagoon/bluelagoon.css.php * \brief Fichier de style CSS du theme Blue lagoon * \version $Id$ */ +require("../../conf/conf.php"); + +// Define css type +header('Content-type: text/css'); +// Important: Avoid page request by browser and dynamic build at +// each Dolibarr page access. +if (empty($conf->global->MAIN_FEATURES_LEVEL) || $conf->global->MAIN_FEATURES_LEVEL < 2) +{ + header('Cache-Control: max-age=3600, public, must-revalidate'); +} +?> + /***** Style du fond *****/ body { diff --git a/htdocs/theme/rodolphe/rodolphe.css b/htdocs/theme/rodolphe/rodolphe.css.php similarity index 97% rename from htdocs/theme/rodolphe/rodolphe.css rename to htdocs/theme/rodolphe/rodolphe.css.php index 1102605e7cb23c3c8dad79a557fcf029183de9a5..0981de40b22802788a23f3d6b7a4db989cc1c0ec 100644 --- a/htdocs/theme/rodolphe/rodolphe.css +++ b/htdocs/theme/rodolphe/rodolphe.css.php @@ -1,5 +1,7 @@ -/* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net> +<?php +/* Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org> + * Copyright (C) 2007 Regis Houssin <regis@dolibarr.fr> * * 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 @@ -16,7 +18,24 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id$ */ +/** + * \file htdocs/theme/rodolphe/rodoplhe.css.php + * \brief Fichier de style CSS du theme Rodolphe + * \version $Id$ + */ + +require("../../conf/conf.php"); + +// Define css type +header('Content-type: text/css'); +// Important: Avoid page request by browser and dynamic build at +// each Dolibarr page access. +if (empty($conf->global->MAIN_FEATURES_LEVEL) || $conf->global->MAIN_FEATURES_LEVEL < 2) +{ + header('Cache-Control: max-age=3600, public, must-revalidate'); +} +?> + /***** Style du fond *****/ body {