Refactored, no more redirects. Improved error messaging system
This commit is contained in:
+4
-5
@@ -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> {$lang_nat_add}
|
||||
<input type="radio" name="action" id="opt1" value="natadd" checked> <label for="opt2">{$lang_nat_add}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="natdel"> {$lang_nat_del}
|
||||
<input type="radio" name="action" id="opt2" value="natdel"> <label for="opt2">{$lang_nat_del}</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user