Refactored, no more redirects. Improved error messaging system
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="assigniptonode">
|
||||
<form method="POST" action="node.php">
|
||||
<input type="hidden" name="node_ip" value="{$node_ip}">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet->id}">
|
||||
|
||||
@@ -10,7 +9,7 @@
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
<input type="image" name="submit[link]" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -37,7 +36,7 @@
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet->id}&page={$node_ip}">{$subnet->address}/{$subnet->mask}</a>
|
||||
<a href="subnet.php?f=view&id={$subnet->id}&page={$node_ip}">{$subnet->address}/{$subnet->mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -50,12 +49,12 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="assignnodetoasset" checked> {$lang_assignnodetoasset_existing}
|
||||
<input type="radio" id="opt1" name="action" value="assignnodetoasset" checked> <label for="opt1">{$lang_assignnodetoasset_existing}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="nodeadd"> {$lang_assignnodetoasset_new}
|
||||
<input type="radio" id="opt2" name="action" value="nodeadd"> <label for="opt2">{$lang_assignnodetoasset_new}</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user