This commit is contained in:
Jose Gonzalez 2020-12-16 14:26:32 +01:00
parent 010dc65dd4
commit 6da8f33e20
2 changed files with 19 additions and 13 deletions

View File

@ -32,5 +32,4 @@ global $config;
require_once $config['homedir'].'/include/functions.php'; require_once $config['homedir'].'/include/functions.php';
// Require needed class. // Require needed class.
// require_once $config['homedir'].'/include/class/NetTools.class.php'; require_once $config['homedir'].'/include/class/NetTools.class.php';
hd('MIS HUEVOS EN VINAGRETA');

View File

@ -44,7 +44,7 @@ class NetTools extends HTML
*/ */
public function __construct() public function __construct()
{ {
echo 'Estoy funcionando';
} }
@ -130,17 +130,24 @@ class NetTools extends HTML
$table->data[4][0] = __('Snmpget path'); $table->data[4][0] = __('Snmpget path');
$table->data[4][1] = html_print_input_text('snmpget_path', $snmpget_path, '', 40, 255, true); $table->data[4][1] = html_print_input_text('snmpget_path', $snmpget_path, '', 40, 255, true);
echo '<form id="form_setup" method="post" >'; $form = '<form id="form_setup" method="post" >';
echo '<fieldset>'; $form .= '<fieldset>';
echo '<legend>'.__('Options').'</legend>'; $form .= '<legend>'.__('Options').'</legend>';
html_print_input_hidden('update_traceroute', 1); $form .= html_print_input_hidden('update_traceroute', 1, true);
html_print_table($table); $form .= html_print_table($table);
echo '</fieldset>'; $form .= '</fieldset>';
$form .= html_print_div(
[
'id' => '',
'class' => 'action-buttons',
'style' => 'width: 100%',
'content' => html_print_submit_button(__('Update'), 'update_button', false, 'class="sub upd"'),
]
);
echo '<div class="action-buttons" style="width: '.$table->width.'">'; $form .= '</form>';
html_print_submit_button(__('Update'), 'update_button', false, 'class="sub upd"');
echo '</div>'; echo $form;
echo '</form>';
} }