2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* godmode/snmpconsole/snmp_filters.php: Added confirmation
        message in delete action.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-09-01 14:56:46 +00:00
parent 5ada268713
commit 71d943c4ee
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/snmpconsole/snmp_filters.php: Added confirmation message in
delete action.
2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_nc_groups.php: fixed the javascript to promt to

View File

@ -135,7 +135,7 @@ if ($edit_filter > -2) {
$data[1] = $row['filter'];
$data[2] = '<a href="index.php?sec=gsnmpconsole&sec2=godmode/snmpconsole/snmp_filters&edit_filter='.$row['id_snmp_filter'].'">' .
html_print_image("images/config.png", true, array("border" => '0', "alt" => __('Update'))) . '</a>' .
'&nbsp;&nbsp;<a href="index.php?sec=gsnmpconsole&sec2=godmode/snmpconsole/snmp_filters&delete_filter='.$row['id_snmp_filter'].'">' .
'&nbsp;&nbsp;<a onclick="if (confirm(\'' . __('Are you sure?') . '\')) return true; else return false;" href="index.php?sec=gsnmpconsole&sec2=godmode/snmpconsole/snmp_filters&delete_filter='.$row['id_snmp_filter'].'">' .
html_print_image("images/cross.png", true, array("border" => '0', "alt" => __('Delete'))) . '</a>';
array_push ($table->data, $data);
}