Fix: bug #14088 overview: Erreur dans la log Apache apres mise jour cvs du 11/08/05
This commit is contained in:
parent
3ffe31e170
commit
0b31f0ad3c
@ -133,6 +133,8 @@ if (isset($user->conf->MAIN_THEME) && $user->conf->MAIN_THEME)
|
||||
{
|
||||
$conf->theme=$user->conf->MAIN_THEME;
|
||||
$conf->css = "theme/".$conf->theme."/".$conf->theme.".css";
|
||||
// Si feuille de style en php existe
|
||||
if (file_exists(DOL_DOCUMENT_ROOT.'/'.$conf->css.".php")) $conf->css.=".php";
|
||||
}
|
||||
if (isset($user->conf->MAIN_DISABLE_JAVASCRIPT) && $user->conf->MAIN_DISABLE_JAVASCRIPT)
|
||||
{
|
||||
@ -237,7 +239,8 @@ function top_htmlhead($head, $title="", $target="")
|
||||
print '<link rel="stylesheet" type="text/css" media="print" HREF="'.DOL_URL_ROOT.'/theme/print.css">'."\n";
|
||||
|
||||
// Definition en alternate style sheet des feuilles de styles les plus maintenues
|
||||
print '<link rel="alternate stylesheet" type="text/css" title="Eldy" href="'.DOL_URL_ROOT.'/theme/eldy/eldy.css">'."\n";
|
||||
// Les navigateurs qui supportent sont rares.
|
||||
print '<link rel="alternate stylesheet" type="text/css" title="Eldy" href="'.DOL_URL_ROOT.'/theme/eldy/eldy.css.php">'."\n";
|
||||
print '<link rel="alternate stylesheet" type="text/css" title="Freelug" href="'.DOL_URL_ROOT.'/theme/freelug/freelug.css">'."\n";
|
||||
print '<link rel="alternate stylesheet" type="text/css" title="Yellow" href="'.DOL_URL_ROOT.'/theme/yellow/yellow.css">'."\n";
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<?php
|
||||
/* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -18,6 +19,11 @@
|
||||
* $Source$
|
||||
*/
|
||||
|
||||
header('Content-type: text/css');
|
||||
|
||||
require("../../conf/conf.php");
|
||||
|
||||
?>
|
||||
|
||||
/***** Style du fond *****/
|
||||
body {
|
||||
@ -72,7 +78,7 @@ textarea.flat
|
||||
font: 12px helvetica, verdana, arial, sans-serif;
|
||||
font-size: 100%;
|
||||
border: 1px solid #ccd7e0;
|
||||
background-image : url(/theme/eldy/img/button_bg.png);
|
||||
background-image : url(<?php echo $dolibarr_main_url_root.'/theme/eldy/img/button_bg.png' ?>);
|
||||
background-position : bottom;
|
||||
padding: 0px 0px 0px 0px;
|
||||
margin: 0px 0px 0px 0px;
|
||||
Loading…
Reference in New Issue
Block a user