2013-08-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php, include/functions_snmp_browser.php, include/functions_api.php: fixed PHP warnings and PHP notices. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d9cb5abea0
commit
3d6d479574
|
@ -1,3 +1,9 @@
|
|||
2013-08-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/agentes/modificar_agente.php,
|
||||
include/functions_snmp_browser.php, include/functions_api.php: fixed
|
||||
PHP warnings and PHP notices.
|
||||
|
||||
2013-08-20 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/servers/servers.build_table.php, include/functions_db.php,
|
||||
|
|
|
@ -480,7 +480,7 @@ if ($agents !== false) {
|
|||
// Has remote configuration ?
|
||||
if (enterprise_installed()) {
|
||||
enterprise_include_once('include/functions_config_agents.php');
|
||||
if (enterprise_hook('config_agents_has_remote_configuration', $agent["id_agente"])) {
|
||||
if (config_agents_has_remote_configuration($agent["id_agente"])) {
|
||||
echo "<a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=main&id_agente=".$agent["id_agente"]."&disk_conf=1'>";
|
||||
echo html_print_image("images/application_edit.png", true, array("align" => 'middle', "title" => __('Edit remote config')));
|
||||
echo "</a>";
|
||||
|
|
|
@ -4079,7 +4079,7 @@ function api_get_graph_module_data($id, $thrash1, $other, $thrash2) {
|
|||
$date, '', 0, 0,true,
|
||||
false, $homeurl, $ttl);
|
||||
|
||||
// Extract url of the image from img tag
|
||||
// Extract url of the image from img tag
|
||||
preg_match("/src='([^']*)'/i",$image, $match);
|
||||
|
||||
if (empty($match[1])) {
|
||||
|
|
|
@ -505,6 +505,9 @@ function snmp_browser_print_container ($return = false, $width = '95%', $height
|
|||
$output .= '<div style="width: 100%">';
|
||||
$output .= html_print_table($table, true);
|
||||
$output .= '</div>';
|
||||
if (!isset($snmp_version)) {
|
||||
$snmp_version = null;
|
||||
}
|
||||
if ($snmp_version == 3) {
|
||||
$output .= '<div id="snmp3_browser_options">';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue