From e28571eb145e2a0ed68fcac4487c4bad421a8a85 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 26 Oct 2007 20:32:28 +0000 Subject: [PATCH] cosmetic --- html/bilan.php | 10 ++++++++++ html/style-light.css | 9 +++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/html/bilan.php b/html/bilan.php index a0747d0f1..cb477aef7 100644 --- a/html/bilan.php +++ b/html/bilan.php @@ -64,5 +64,15 @@ if ( $bilan->b_type=='odt') header("Accept-Ranges: bytes"); } +if ( $bilan->b_type=='ods') + { + header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); + header("Cache-Control: must-revalidate"); + header('Content-type: "application/vnd.oasis.opendocument.spreadsheet"'); + header('Content-Disposition: attachment;filename="'.$bilan->b_name.'.ods"',FALSE); + header("Accept-Ranges: bytes"); + + } + $bilan->generate(); ?> diff --git a/html/style-light.css b/html/style-light.css index b99e73e08..027d1e95f 100644 --- a/html/style-light.css +++ b/html/style-light.css @@ -10,6 +10,7 @@ BODY { font-weight:bold; } + table.result { font-size:10px; color:blue; @@ -395,7 +396,7 @@ div.u_redcontent input.text { font-weight:normal; border-color:336699; border-style:solid; - background-color:white; + background-color:orange; border-width:1px; color:blue; } @@ -405,17 +406,17 @@ div.u_content input.text { border-color:336699; border-style:solid; border-width:1px; - background-color:white; + background-color:orange; color:blue; } div.u_redcontent input:focus { - background-color:fff6aa; + background-color:orange; } div.u_content input:focus { - background-color:fff6aa; + background-color:orange; } div.u_redcontent textarea:focus{ background-color: orange;