2011-10-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* godmode/agentes/agent_manager.php: Added confirmation at delete 
	agent time.
	
	Fixes: #3419809



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-10-27 08:39:34 +00:00
parent 38f5926de5
commit 0545ef028f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2011-10-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/agent_manager.php: Added confirmation at delete
agent time.
Fixes: #3419809
2011-10-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/postgresql.php

View File

@ -167,7 +167,7 @@ if (!$new_agent) {
// Delete link from here
if (!$new_agent) {
$table->data[0][1] .= "&nbsp;&nbsp;<span align='right'><a 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] .= "&nbsp;&nbsp;<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[1][0] = __('IP Address');