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 needed class.
// require_once $config['homedir'].'/include/class/NetTools.class.php';
hd('MIS HUEVOS EN VINAGRETA');
require_once $config['homedir'].'/include/class/NetTools.class.php';

View File

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