Refactored, no more redirects. Improved error messaging system
This commit is contained in:
+3
-4
@@ -1,5 +1,4 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="node">
|
||||
<form method="POST" action="node.php">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
@@ -9,7 +8,7 @@
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
<input type="image" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -28,7 +27,7 @@
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="node_ip" value="{$node_ip}">
|
||||
<input type="text" name="node_ip" value="{$node_ip}" autofocus>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user