pandorafms/pandora_console/godmode/agentes/agent_wizard.php

51 lines
1.9 KiB
PHP
Raw Normal View History

<?php
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
global $config;
check_login ();
$wizard_section = get_parameter('wizard_section', 'snmp_interfaces_explorer');
$idAgent = (int) get_parameter('id_agente', 0);
$ipAgent = db_get_value('direccion', 'tagente', 'id_agente', $idAgent);
switch($wizard_section) {
case 'snmp_interfaces_explorer':
$snmp_interfaces_explorer_style = 'font-weight: bold;';
$wmi_explorer_style = '';
break;
case 'wmi_explorer':
$snmp_interfaces_explorer_style = '';
$wmi_explorer_style = 'font-weight: bold;';
break;
2013-07-15 Sergio Martin <sergio.martin@artica.es> * include/languages/cs.po include/languages/et.mo include/languages/pt_BR.po include/languages/nl.mo include/languages/es.po include/languages/pl.mo include/languages/ko.po include/languages/it.mo include/languages/sl.mo include/languages/sk.po include/languages/uk.po include/languages/pt.mo include/languages/ro.po include/languages/en_AU.mo include/languages/ast.mo include/languages/bg.mo include/languages/index.pot include/languages/bn.po include/languages/nb.po include/languages/cs.mo include/languages/en.po include/languages/ar.po include/languages/pt_BR.mo include/languages/es.mo include/languages/ko.mo include/languages/fr.po include/languages/sk.mo include/languages/uk.mo include/languages/ro.mo include/languages/mr.po include/languages/ca.po include/languages/da.po include/languages/tr.po include/languages/sv.po include/languages/de.po include/languages/ja.po include/languages/zh_TW.po include/languages/nb.mo include/languages/bn.mo include/languages/he.po include/languages/fi.po include/languages/ar.mo include/languages/en.mo include/languages/hi.po include/languages/zh_CN.po include/languages/fr.mo include/languages/te.po include/languages/eu.po include/languages/en_GB.po include/languages/mr.mo include/languages/hu.po include/languages/ca.mo include/languages/da.mo include/languages/tr.mo include/languages/de.mo include/languages/sv.mo include/languages/ru.po include/languages/ja.mo include/languages/zh_TW.mo include/languages/he.mo include/languages/fi.mo include/languages/hi.mo include/languages/zh_CN.mo include/languages/el.po include/languages/gl.po include/languages/te.mo include/languages/eu.mo include/languages/en_GB.mo include/languages/et.po include/languages/hu.mo include/languages/nl.po include/languages/pl.po include/languages/it.po include/languages/sl.po include/languages/pt.po include/languages/ru.mo include/languages/en_AU.po include/languages/ast.po include/languages/bg.po include/languages/el.mo include/languages/gl.mo: Upgrade the languages from launchpad * pandoradb_data.sql pandoradb.data.postgreSQL.sql pandoradb.data.oracle.sql godmode/agentes/agent_wizard.wmi_explorer.php godmode/agentes/agent_wizard.snmp_explorer.php godmode/agentes/agent_wizard.php godmode/agentes/configurar_agente.php: Added SNMP wizard on Agent Wizards subtab git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-15 13:55:44 +02:00
case 'snmp_explorer':
$snmp_interfaces_explorer_style = '';
$wmi_explorer_style = 'font-weight: bold;';
break;
}
/*
echo "<div style='text-align: right; width: 98%; padding-top: 10px; padding-bottom: 10px;'>";
echo "<a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=agent_wizard&wizard_section=snmp_interfaces_explorer&id_agente=$idAgent' style='" . $snmp_interfaces_explorer_style . "'>" . __('SNMP Interfaces explorer') . "</a>";
echo " | ";
echo "<a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=agent_wizard&wizard_section=wmi_explorer&id_agente=$idAgent' style='" . $wmi_explorer_style . "'>" . __('WMI explorer') . "</a>";
echo "</div>";
*/
require("agent_wizard." . $wizard_section . ".php");
?>