Fixed PHP Warnings

This commit is contained in:
mdtrooper 2015-05-25 13:31:10 +02:00
parent e401dfa8bd
commit 81a0a217b5
4 changed files with 7 additions and 1 deletions

View File

@ -381,6 +381,7 @@ if ($print_agent) {
}
}
$table = new stdClass();
$table->width = '100%';
$table->class = "databox data";
$table->cellpadding = '0';

View File

@ -59,6 +59,7 @@ if (! check_acl ($config["id_user"], $agent["id_grupo"], "AR") && !$is_extra) {
}
// START: TABLE AGENT BUILD
$table_agent = new stdClass();
$table_agent->id = 'agent_details_main';
$table_agent->width = '82%';
$table_agent->cellspacing = 0;
@ -182,6 +183,7 @@ $table_agent->rowclass[] = '';
// END: TABLE AGENT BUILD
// START: TABLE CONTACT BUILD
$table_contact = new stdClass();
$table_contact->id = 'agent_contact_main';
$table_contact->width = '100%';
$table_contact->cellspacing = 0;
@ -225,6 +227,7 @@ $table_contact->data[] = $data;
// END: TABLE CONTACT BUILD
// START: TABLE DATA BUILD
$table_data = new stdClass();
$table_data->id = 'agent_data_main';
$table_data->width = '100%';
$table_data->cellspacing = 0;
@ -481,7 +484,7 @@ if (!empty($network_interfaces)) {
// END: TABLE INTERFACES
$table = null;
$table = new stdClass();
$table->id = 'agent_details';
$table->width = '100%';
$table->cellspacing = 0;

View File

@ -417,6 +417,7 @@ function print_form_filter_monitors($id_agent, $status_filter_monitor = -1,
$status_text_monitor = '', $status_module_group=-1) {
$form_text = '';
$table = new stdClass();
$table->class = "databox filters";
$table->width = "100%";
$table->style[0] = 'font-weight: bold;';

View File

@ -29,6 +29,7 @@ echo '<br><div style="margin:auto; width:90%; padding: 10px; background: #fff">'
$anyfound = false;
$table = new stdClass();
$table->id = 'summary';
$table->width = '98%';