Refactored, no more redirects. Improved error messaging system

This commit is contained in:
2023-03-06 19:25:21 +01:00
parent 7cfcaeb9d7
commit 78b97c5094
87 changed files with 1801 additions and 2633 deletions
+4 -5
View File
@@ -1,5 +1,4 @@
<form method="POST" action="submit.php">
<input type="hidden" name="redirect" value="nat">
<form method="POST" action="nat.php">
<input type="hidden" name="node_id" value="{$node->id}">
<table class="title">
@@ -28,7 +27,7 @@
{$lang_ip}
</td>
<td class="value">
<a href="nodeview.php?node_id={$node->id}">{$node->ip}</a>
<a href="node.php?f=view&id={$node->id}">{$node->ip}</a>
</td>
</tr>
</table>
@@ -41,12 +40,12 @@
</tr>
<tr>
<td class="value">
<input type="radio" name="action" value="natadd" checked>&nbsp;{$lang_nat_add}
<input type="radio" name="action" id="opt1" value="natadd" checked>&nbsp;<label for="opt2">{$lang_nat_add}</label>
</td>
</tr>
<tr>
<td class="value">
<input type="radio" name="action" value="natdel">&nbsp;{$lang_nat_del}
<input type="radio" name="action" id="opt2" value="natdel">&nbsp;<label for="opt2">{$lang_nat_del}</label>
</td>
</tr>
</table>