#9756 change styles modules bulks
This commit is contained in:
parent
db26c7d038
commit
d2009b72df
File diff suppressed because it is too large
Load Diff
|
@ -1873,7 +1873,8 @@ function html_print_extended_select_for_unit(
|
||||||
$select_style=false,
|
$select_style=false,
|
||||||
$unique_name=true,
|
$unique_name=true,
|
||||||
$disabled=false,
|
$disabled=false,
|
||||||
$no_change=0
|
$no_change=0,
|
||||||
|
$class='w100p'
|
||||||
) {
|
) {
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
|
@ -1905,7 +1906,7 @@ function html_print_extended_select_for_unit(
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
echo '<div id="'.$uniq_name.'_default" class="w100p inline_line">';
|
echo '<div id="'.$uniq_name.'_default" class="'.$class.' inline_line">';
|
||||||
html_print_select(
|
html_print_select(
|
||||||
$fields,
|
$fields,
|
||||||
$uniq_name.'_select',
|
$uniq_name.'_select',
|
||||||
|
@ -3876,6 +3877,14 @@ function html_print_table(&$table, $return=false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($table->tdid)) {
|
||||||
|
foreach ($table->tdid as $keyrow => $tid) {
|
||||||
|
foreach ($tid as $key => $id) {
|
||||||
|
$tdid[$keyrow][$key] = $id;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($table->cellstyle)) {
|
if (isset($table->cellstyle)) {
|
||||||
foreach ($table->cellstyle as $keyrow => $cstyle) {
|
foreach ($table->cellstyle as $keyrow => $cstyle) {
|
||||||
foreach ($cstyle as $key => $cst) {
|
foreach ($cstyle as $key => $cst) {
|
||||||
|
@ -4059,6 +4068,10 @@ function html_print_table(&$table, $return=false)
|
||||||
$colspan[$keyrow][$key] = '';
|
$colspan[$keyrow][$key] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($tdid[$keyrow][$key])) {
|
||||||
|
$tdid[$keyrow][$key] = '';
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($rowspan[$keyrow][$key])) {
|
if (!isset($rowspan[$keyrow][$key])) {
|
||||||
$rowspan[$keyrow][$key] = '';
|
$rowspan[$keyrow][$key] = '';
|
||||||
}
|
}
|
||||||
|
@ -4079,10 +4092,16 @@ function html_print_table(&$table, $return=false)
|
||||||
$style[$key] = '';
|
$style[$key] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($class === 'datos5' && $key === 1) {
|
if ($tdid[$keyrow][$key] !== '') {
|
||||||
$output .= '<td id="'.$tableid.'-'.$keyrow.'-'.$key.'" style="'.$cellstyle[$keyrow][$key].$style[$key].$valign[$key].$align[$key].$size[$key].$wrap[$key].$colspan[$keyrow][$key].' '.$rowspan[$keyrow][$key].' class="'.$class.' '.$cellclass[$keyrow][$key].'">'.$item.'</td>'."\n";
|
$tid = $tdid[$keyrow][$key];
|
||||||
} else {
|
} else {
|
||||||
$output .= '<td id="'.$tableid.'-'.$keyrow.'-'.$key.'" style="'.$cellstyle[$keyrow][$key].$style[$key].$valign[$key].$align[$key].$size[$key].$wrap[$key].'" '.$colspan[$keyrow][$key].' '.$rowspan[$keyrow][$key].' class="'.$class.' '.$cellclass[$keyrow][$key].'">'.$item.'</td>'."\n";
|
$tid = $tableid.'-'.$keyrow.'-'.$key;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($class === 'datos5' && $key === 1) {
|
||||||
|
$output .= '<td id="'.$tid.'" style="'.$cellstyle[$keyrow][$key].$style[$key].$valign[$key].$align[$key].$size[$key].$wrap[$key].$colspan[$keyrow][$key].' '.$rowspan[$keyrow][$key].' class="'.$class.' '.$cellclass[$keyrow][$key].'">'.$item.'</td>'."\n";
|
||||||
|
} else {
|
||||||
|
$output .= '<td id="'.$tid.'" style="'.$cellstyle[$keyrow][$key].$style[$key].$valign[$key].$align[$key].$size[$key].$wrap[$key].'" '.$colspan[$keyrow][$key].' '.$rowspan[$keyrow][$key].' class="'.$class.' '.$cellclass[$keyrow][$key].'">'.$item.'</td>'."\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue