mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
fixed visual error on Open
This commit is contained in:
parent
13d8c065e6
commit
a77a72cea5
@ -804,20 +804,20 @@ $table_adv_options .= '
|
|||||||
'.$table_adv_gis.$table_adv_agent_icon.$table_adv_url.$table_adv_quiet.$table_adv_status.$table_adv_remote.$table_adv_safe.'
|
'.$table_adv_gis.$table_adv_agent_icon.$table_adv_url.$table_adv_quiet.$table_adv_status.$table_adv_remote.$table_adv_safe.'
|
||||||
</div>';
|
</div>';
|
||||||
|
|
||||||
|
if (enterprise_installed()) {
|
||||||
echo '<div class="ui_toggle">';
|
echo '<div class="ui_toggle">';
|
||||||
ui_toggle(
|
ui_toggle(
|
||||||
$table_adv_options,
|
$table_adv_options,
|
||||||
__('Advanced options'),
|
__('Advanced options'),
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
'white_box white_box_opened',
|
'white_box white_box_opened',
|
||||||
'no-border flex'
|
'no-border flex'
|
||||||
);
|
);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
}
|
||||||
|
|
||||||
$table = new stdClass();
|
$table = new stdClass();
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
@ -931,18 +931,46 @@ foreach ($fields as $field) {
|
|||||||
$i += 2;
|
$i += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($fields)) {
|
if (enterprise_installed()) {
|
||||||
|
if (!empty($fields)) {
|
||||||
|
echo '<div class="ui_toggle">';
|
||||||
|
ui_toggle(
|
||||||
|
html_print_table($table, true),
|
||||||
|
__('Custom fields'),
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
'white_box white_box_opened',
|
||||||
|
'no-border'
|
||||||
|
);
|
||||||
|
echo '</div>';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
echo '<div class="ui_toggle">';
|
echo '<div class="ui_toggle">';
|
||||||
ui_toggle(
|
ui_toggle(
|
||||||
html_print_table($table, true),
|
$table_adv_options,
|
||||||
__('Custom fields'),
|
__('Advanced options'),
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
'white_box white_box_opened',
|
'white_box white_box_opened',
|
||||||
'no-border'
|
'no-border flex'
|
||||||
);
|
);
|
||||||
|
if (!empty($fields)) {
|
||||||
|
ui_toggle(
|
||||||
|
html_print_table($table, true),
|
||||||
|
__('Custom fields'),
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
'white_box white_box_opened',
|
||||||
|
'no-border'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user