This commit is contained in:
sparkyx 2007-10-26 20:32:28 +00:00
parent 6c29be470a
commit e28571eb14
2 changed files with 15 additions and 4 deletions

View file

@ -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();
?>

View file

@ -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;