2011-08-17 Sancho Lerena <slerena@artica.es>

* operation/snmpconsole/snmp_view.php: SQL optimization and
        added space between icons.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2011-08-17 16:18:26 +00:00
parent ade85fe547
commit b95fea3f52
2 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2011-08-17 Sancho Lerena <slerena@artica.es>
* operation/snmpconsole/snmp_view.php: SQL optimization and
added space between icons.
* snmp_wizard.png: New icon for new feature SNMP Wizard in
agent godmode (taken from enterprise massive SNMP module).

View File

@ -316,7 +316,7 @@ ui_toggle($filter, __('Toggle filter(s)'));
unset ($table);
// Prepare index for pagination
$trapcount = db_get_sql ("SELECT COUNT(*) FROM ttrap " . $whereSubquery);
$trapcount = db_get_sql ("SELECT COUNT(id_trap) FROM ttrap " . $whereSubquery);
$urlPagination = "index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_view&filter_agent=" . $filter_agent
. "&filter_oid=" . $filter_oid . "&filter_severity=" . $filter_severity
@ -328,7 +328,7 @@ echo '<form name="eventtable" method="POST" action="index.php?sec=snmpconsole&se
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->width = '95%';
$table->width = '99%';
$table->class = "databox";
$table->head = array ();
$table->size = array ();