mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
UX console in progress... (ux console v3.0)
This commit is contained in:
parent
1d9bf2a1d5
commit
f9d6bbf323
@ -1500,11 +1500,11 @@ function html_print_table (&$table, $return = false) {
|
|||||||
$table->border = '0';
|
$table->border = '0';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty ($table->tablealign) || $table->tablealign != 'left' || $table->tablealign != 'right') {
|
if (empty ($table->tablealign) || (($table->tablealign != 'left') && ($table->tablealign != 'right'))) {
|
||||||
$table->tablealign = '';
|
$table->tablealign = '"';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$table->tablealign = 'style="float:'.$table->tablealign.';"'; //Align is deprecated. Use float instead
|
$table->tablealign = 'float:'.$table->tablealign.';"'; //Align is deprecated. Use float instead
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset ($table->cellpadding)) {
|
if (!isset ($table->cellpadding)) {
|
||||||
@ -1526,10 +1526,10 @@ function html_print_table (&$table, $return = false) {
|
|||||||
$tableid = empty ($table->id) ? 'table'.$table_count : $table->id;
|
$tableid = empty ($table->id) ? 'table'.$table_count : $table->id;
|
||||||
|
|
||||||
if (!empty($table->width)) {
|
if (!empty($table->width)) {
|
||||||
$output .= '<table style="width:' . $table->width . ';' . $styleTable . '"'.$table->tablealign;
|
$output .= '<table style="width:' . $table->width . '; ' . $styleTable . ' '.$table->tablealign;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$output .= '<table style="' . $styleTable . '"'.$table->tablealign;
|
$output .= '<table style="' . $styleTable . ' ' . $table->tablealign;
|
||||||
}
|
}
|
||||||
$output .= ' cellpadding="'.$table->cellpadding.'" cellspacing="'.$table->cellspacing.'"';
|
$output .= ' cellpadding="'.$table->cellpadding.'" cellspacing="'.$table->cellspacing.'"';
|
||||||
$output .= ' border="'.$table->border.'" class="'.$table->class.'" id="'.$tableid.'">';
|
$output .= ' border="'.$table->border.'" class="'.$table->class.'" id="'.$tableid.'">';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user