Fixed PHP Warnings
This commit is contained in:
parent
e401dfa8bd
commit
81a0a217b5
|
@ -381,6 +381,7 @@ if ($print_agent) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$table = new stdClass();
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->class = "databox data";
|
$table->class = "databox data";
|
||||||
$table->cellpadding = '0';
|
$table->cellpadding = '0';
|
||||||
|
|
|
@ -59,6 +59,7 @@ if (! check_acl ($config["id_user"], $agent["id_grupo"], "AR") && !$is_extra) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// START: TABLE AGENT BUILD
|
// START: TABLE AGENT BUILD
|
||||||
|
$table_agent = new stdClass();
|
||||||
$table_agent->id = 'agent_details_main';
|
$table_agent->id = 'agent_details_main';
|
||||||
$table_agent->width = '82%';
|
$table_agent->width = '82%';
|
||||||
$table_agent->cellspacing = 0;
|
$table_agent->cellspacing = 0;
|
||||||
|
@ -182,6 +183,7 @@ $table_agent->rowclass[] = '';
|
||||||
// END: TABLE AGENT BUILD
|
// END: TABLE AGENT BUILD
|
||||||
|
|
||||||
// START: TABLE CONTACT BUILD
|
// START: TABLE CONTACT BUILD
|
||||||
|
$table_contact = new stdClass();
|
||||||
$table_contact->id = 'agent_contact_main';
|
$table_contact->id = 'agent_contact_main';
|
||||||
$table_contact->width = '100%';
|
$table_contact->width = '100%';
|
||||||
$table_contact->cellspacing = 0;
|
$table_contact->cellspacing = 0;
|
||||||
|
@ -225,6 +227,7 @@ $table_contact->data[] = $data;
|
||||||
// END: TABLE CONTACT BUILD
|
// END: TABLE CONTACT BUILD
|
||||||
|
|
||||||
// START: TABLE DATA BUILD
|
// START: TABLE DATA BUILD
|
||||||
|
$table_data = new stdClass();
|
||||||
$table_data->id = 'agent_data_main';
|
$table_data->id = 'agent_data_main';
|
||||||
$table_data->width = '100%';
|
$table_data->width = '100%';
|
||||||
$table_data->cellspacing = 0;
|
$table_data->cellspacing = 0;
|
||||||
|
@ -481,7 +484,7 @@ if (!empty($network_interfaces)) {
|
||||||
|
|
||||||
// END: TABLE INTERFACES
|
// END: TABLE INTERFACES
|
||||||
|
|
||||||
$table = null;
|
$table = new stdClass();
|
||||||
$table->id = 'agent_details';
|
$table->id = 'agent_details';
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->cellspacing = 0;
|
$table->cellspacing = 0;
|
||||||
|
|
|
@ -417,6 +417,7 @@ function print_form_filter_monitors($id_agent, $status_filter_monitor = -1,
|
||||||
$status_text_monitor = '', $status_module_group=-1) {
|
$status_text_monitor = '', $status_module_group=-1) {
|
||||||
|
|
||||||
$form_text = '';
|
$form_text = '';
|
||||||
|
$table = new stdClass();
|
||||||
$table->class = "databox filters";
|
$table->class = "databox filters";
|
||||||
$table->width = "100%";
|
$table->width = "100%";
|
||||||
$table->style[0] = 'font-weight: bold;';
|
$table->style[0] = 'font-weight: bold;';
|
||||||
|
|
|
@ -29,6 +29,7 @@ echo '<br><div style="margin:auto; width:90%; padding: 10px; background: #fff">'
|
||||||
|
|
||||||
$anyfound = false;
|
$anyfound = false;
|
||||||
|
|
||||||
|
$table = new stdClass();
|
||||||
$table->id = 'summary';
|
$table->id = 'summary';
|
||||||
$table->width = '98%';
|
$table->width = '98%';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue