2013-05-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_snmp_browser.php: fixed PHP warning with to access out the table array. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7fb7981c90
commit
b33d2778b9
|
@ -1,3 +1,8 @@
|
|||
2013-05-29 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_snmp_browser.php: fixed PHP warning with to
|
||||
access out the table array.
|
||||
|
||||
2013-05-29 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/agentes/ver_agente.php: cleaned source code style.
|
||||
|
|
|
@ -442,14 +442,22 @@ function snmp_browser_print_container ($return = false, $width = '95%', $height
|
|||
$table2->data = array ();
|
||||
|
||||
$table2->data[0][0] = html_print_input_text ('search_text', '', '', 25, 0, true);
|
||||
$table2->data[0][0] .= '<a href="javascript:">' . html_print_image ("images/zoom.png", true, array ('title' => __('Search'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchText();')) . '</a>';
|
||||
$table2->data[0][1] = ' ' . '<a href="javascript:">' . html_print_image ("images/go_first.png", true, array ('title' => __('First match'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchFirstMatch();')) . '</a>';
|
||||
$table2->data[0][1] .= ' ' . '<a href="javascript:">' . html_print_image ("images/go_previous.png", true, array ('title' => __('Previous match'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchPrevMatch();')) . '</a>';
|
||||
$table2->data[0][1] .= ' ' . '<a href="javascript:">' . html_print_image ("images/go_next.png", true, array ('title' => __('Next match'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchNextMatch();')) . '</a>';
|
||||
$table2->data[0][1] .= ' ' . '<a href="javascript:">' . html_print_image ("images/go_last.png", true, array ('title' => __('Last match'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchLastMatch();')) . '</a>';
|
||||
$table2->data[0][0] .= '<a href="javascript:">' .
|
||||
html_print_image ("images/zoom.png", true, array ('title' => __('Search'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchText();')) . '</a>';
|
||||
$table2->data[0][1] = ' ' . '<a href="javascript:">' .
|
||||
html_print_image ("images/go_first.png", true, array ('title' => __('First match'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchFirstMatch();')) . '</a>';
|
||||
$table2->data[0][1] .= ' ' . '<a href="javascript:">' .
|
||||
html_print_image ("images/go_previous.png", true, array ('title' => __('Previous match'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchPrevMatch();')) . '</a>';
|
||||
$table2->data[0][1] .= ' ' . '<a href="javascript:">' .
|
||||
html_print_image ("images/go_next.png", true, array ('title' => __('Next match'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchNextMatch();')) . '</a>';
|
||||
$table2->data[0][1] .= ' ' . '<a href="javascript:">' .
|
||||
html_print_image ("images/go_last.png", true, array ('title' => __('Last match'), 'style' => 'vertical-align: middle;', 'onclick' => 'searchLastMatch();')) . '</a>';
|
||||
$table2->cellstyle[0][1] = 'text-align:center;';
|
||||
|
||||
$table2->data[0][2] .= ' ' . '<a href="javascript:">' . html_print_image ("images/expand.png", true, array ('title' => __('Expand the tree') . ' (' . __('can be slow') . ')', 'style' => 'vertical-align: middle;', 'onclick' => 'expandAll();')) . '</a>';
|
||||
$table2->data[0][2] = ' ' . '<a href="javascript:">' .
|
||||
html_print_image("images/expand.png", true,
|
||||
array('title' => __('Expand the tree (can be slow)'),
|
||||
'style' => 'vertical-align: middle;', 'onclick' => 'expandAll();')) . '</a>';
|
||||
$table2->data[0][2] .= ' ' . '<a href="javascript:">' . html_print_image ("images/collapse.png", true, array ('title' => __('Collapse the tree'), 'style' => 'vertical-align: middle;', 'onclick' => 'collapseAll();')) . '</a>';
|
||||
$table2->cellstyle[0][2] = 'text-align:center;';
|
||||
|
||||
|
|
Loading…
Reference in New Issue