system: cosmetic tweaks for #2083

This commit is contained in:
Franco Fichtner 2018-03-12 20:51:04 +00:00
parent 68cfe2aaf8
commit fdf4eccfaa

View File

@ -92,18 +92,19 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
header(url_safe('Location: /system_advanced_sysctl.php'));
exit;
}
}
legacy_html_escape_form_data($a_tunable);
if ($act != 'edit') {
$main_buttons = array(
array('href' => 'system_advanced_sysctl.php?act=edit', 'label' => gettext('Add a new tunable')),
);
}
include("head.inc");
?>
include("head.inc");
?>
<body>
<script>
$( document ).ready(function() {
@ -186,6 +187,12 @@ $( document ).ready(function() {
</tr>
<?php
$i++; endforeach; ?>
<tr>
<td colspan="4">
<?= gettext('Tunables are composed of runtime settings for sysctl.conf which take effect ' .
'immediately after apply and boot settings for loader.conf which require a reboot.') ?>
</td>
</tr>
</tbody>
</table>
<?php