Merge branch 'ent-2129-Ventana-SNMP-walk-muy-pequena' into 'develop'

Fixed size snmp walk modal

See merge request artica/pandorafms!1427
This commit is contained in:
vgilc 2018-04-17 16:21:15 +02:00
commit 4e102e12da
1 changed files with 5 additions and 5 deletions

View File

@ -561,8 +561,8 @@ function snmp_browser_print_container ($return = false, $width = '100%', $height
$table->data[0][2] = '<strong>'.__('Starting OID').'</strong> &nbsp;&nbsp;'; $table->data[0][2] = '<strong>'.__('Starting OID').'</strong> &nbsp;&nbsp;';
$table->data[0][2] .= html_print_input_text ('starting_oid', '.1.3.6.1.2', '', 25, 0, true); $table->data[0][2] .= html_print_input_text ('starting_oid', '.1.3.6.1.2', '', 25, 0, true);
$table->data[0][3] = '<strong>' . __('Version') . '</strong> &nbsp;&nbsp;'; $table->data[1][0] = '<strong>' . __('Version') . '</strong> &nbsp;&nbsp;';
$table->data[0][3] .= html_print_select ( $table->data[1][0] .= html_print_select (
array ('1' => 'v. 1', array ('1' => 'v. 1',
'2' => 'v. 2', '2' => 'v. 2',
'2c' => 'v. 2c', '2c' => 'v. 2c',
@ -587,10 +587,10 @@ function snmp_browser_print_container ($return = false, $width = '100%', $height
$servers_to_exec[$row['id_server']] = $row['name'] . $s_type; $servers_to_exec[$row['id_server']] = $row['name'] . $s_type;
} }
} }
$table->data[0][4] = '<strong>' . __('Server to execute') . '</strong> &nbsp;&nbsp;'; $table->data[1][1] = '<strong>' . __('Server to execute') . '</strong> &nbsp;&nbsp;';
$table->data[0][4] .= html_print_select($servers_to_exec, 'server_to_exec', '', '', '', '', true); $table->data[1][1] .= html_print_select($servers_to_exec, 'server_to_exec', '', '', '', '', true);
$table->data[0][5] = html_print_button(__('Browse'), 'browse', false, 'snmpBrowse()', 'class="sub search" style="margin-top:0px;"', true); $table->data[1][2] = html_print_button(__('Browse'), 'browse', false, 'snmpBrowse()', 'class="sub search" style="margin-top:0px;"', true);
// SNMP v3 options // SNMP v3 options
$table3 = new stdClass(); $table3 = new stdClass();