2012-04-18 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/agentes/agent_manager.php: Fixed a problem with links and new menu strcuture. MERGED FROM 4.0.2 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c6b7093616
commit
014c8a37ef
|
@ -1,3 +1,10 @@
|
|||
2012-04-18 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* godmode/agentes/agent_manager.php: Fixed a problem with links
|
||||
and new menu strcuture.
|
||||
|
||||
MERGED FROM 4.0.2
|
||||
|
||||
2012-04-18 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* godmode/agentes/agent_disk_conf_editor.php: Print message
|
||||
|
|
|
@ -170,7 +170,7 @@ if ($disk_conf_delete) {
|
|||
@unlink ($filename['conf']);
|
||||
}
|
||||
|
||||
echo '<form name="conf_agent" method="post" action="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente">';
|
||||
echo '<form name="conf_agent" method="post" action="index.php?sec=estado&sec2=godmode/agentes/configurar_agente">';
|
||||
|
||||
$table->width = '98%';
|
||||
$table->class = "databox_color";
|
||||
|
@ -195,7 +195,7 @@ if ($id_agente) {
|
|||
// Remote configuration available
|
||||
if (!$new_agent) {
|
||||
if (file_exists ($filename['md5'])) {
|
||||
$table->data[0][1] .= ' <a href="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=main&id_agente='.$id_agente.'&disk_conf='.$agent_md5.'">';
|
||||
$table->data[0][1] .= ' <a href="index.php?sec=estado&sec2=godmode/agentes/configurar_agente&tab=main&id_agente='.$id_agente.'&disk_conf='.$agent_md5.'">';
|
||||
$table->data[0][1] .= html_print_image ("images/application_edit.png", true, array ("border" => 0, "title" => __('This agent can be remotely configured')));
|
||||
$table->data[0][1] .= '</a>'.ui_print_help_tip (__('You can remotely edit this agent configuration'), true);
|
||||
}
|
||||
|
@ -203,7 +203,7 @@ if (!$new_agent) {
|
|||
|
||||
// Delete link from here
|
||||
if (!$new_agent) {
|
||||
$table->data[0][1] .= " <span align='right'><a onClick=\"if (!confirm('" . __('Are you sure?') . "')) return false;\" title='".__("Delete agent")."' href='index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&borrar_agente=$id_agente&search=&offset=0&sort_field=&sort=none'><img src='images/cross.png'></a>";
|
||||
$table->data[0][1] .= " <span align='right'><a onClick=\"if (!confirm('" . __('Are you sure?') . "')) return false;\" title='".__("Delete agent")."' href='index.php?sec=estado&sec2=godmode/agentes/modificar_agente&borrar_agente=$id_agente&search=&offset=0&sort_field=&sort=none'><img src='images/cross.png'></a>";
|
||||
}
|
||||
|
||||
$table->data[1][0] = __('IP Address');
|
||||
|
@ -288,7 +288,7 @@ if (!$new_agent) {
|
|||
if (file_exists ($filename['md5'])) {
|
||||
$table->data[3][1] = date ("F d Y H:i:s", fileatime ($filename['md5']));
|
||||
// Delete remote configuration
|
||||
$table->data[3][1] .= '<a href="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=main&disk_conf_delete=1&id_agente='.$id_agente.'">';
|
||||
$table->data[3][1] .= '<a href="index.php?sec=estado&sec2=godmode/agentes/configurar_agente&tab=main&disk_conf_delete=1&id_agente='.$id_agente.'">';
|
||||
$table->data[3][1] .= html_print_image ("images/cross.png", true, array ('title' => __('Delete remote configuration file'), 'style' => 'vertical-align: middle;')).'</a>';
|
||||
$table->data[3][1] .= '</a>'.ui_print_help_tip (__('Delete this conf file implies that for restore you must reactive remote config in the local agent.'), true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue