2
0
forked from Wavyzz/dolibarr

Fix: bug sur le nombre de colonne enregistr

This commit is contained in:
Regis Houssin
2007-09-09 16:30:13 +00:00
parent 48c7d36518
commit 18eaa3055f
2 changed files with 7 additions and 7 deletions

View File

@@ -3360,6 +3360,7 @@ function viewExcelFileContent($file_to_include='',$max_rows=0,$max_cols=0)
var sheet_HTML = Array();\n"; var sheet_HTML = Array();\n";
for($sheet=0;$sheet<count($data->sheets);$sheet++) for($sheet=0;$sheet<count($data->sheets);$sheet++)
{ {
$table_output[$sheet] .= $data->sheets[$sheet]['numCols'];
$table_output[$sheet] .= "<TABLE CLASS='table_body'> $table_output[$sheet] .= "<TABLE CLASS='table_body'>
<TR> <TR>
<TD>&nbsp;</TD>"; <TD>&nbsp;</TD>";

View File

@@ -1264,14 +1264,14 @@ form.inplaceeditor-form a { /* The cancel link */
.table_data .table_data
{ {
border-style:ridge; border-style:ridge;
border-width:1; border-width: 1px;
} }
.tab_base .tab_base
{ {
background:#C5D0DD; background:#C5D0DD;
font-weight:bold; font-weight:bold;
border-style:ridge; border-style:ridge;
border-width:1; border: 1px;
cursor:pointer; cursor:pointer;
} }
.table_sub_heading .table_sub_heading
@@ -1279,16 +1279,15 @@ form.inplaceeditor-form a { /* The cancel link */
background:#CCCCCC; background:#CCCCCC;
font-weight:bold; font-weight:bold;
border-style:ridge; border-style:ridge;
border-width:1; border-width: 1px;
} }
.table_body .table_body
{ {
background:#F0F0F0; background:#F0F0F0;
font-wieght:normal; font-weight:normal;
font-size:12;
font-family:sans-serif; font-family:sans-serif;
border-style:ridge; border-style:ridge;
border-width:1; border-width: 1px;
border-spacing: 0px; border-spacing: 0px;
border-collapse: collapse; border-collapse: collapse;
} }
@@ -1298,6 +1297,6 @@ form.inplaceeditor-form a { /* The cancel link */
color:white; color:white;
font-weight:bold; font-weight:bold;
border-style:groove; border-style:groove;
border-width:1; border: 1px;
cursor:pointer; cursor:pointer;
} }