Refactored, no more redirects. Improved error messaging system
This commit is contained in:
+4
-6
@@ -1,7 +1,5 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="node">
|
||||
<input type="hidden" name="node_id" value="{$node->id}">
|
||||
<input type="hidden" name="asset_id" value="{$node->asset_id}">
|
||||
<form method="POST" action="node.php">
|
||||
<input type="hidden" name="id" value="{$node->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
@@ -11,7 +9,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=delete" alt="{$lang_submit}">
|
||||
<input type="image" name="submit[delete]" src="image.php?icon=delete" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -30,7 +28,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>
|
||||
|
||||
Reference in New Issue
Block a user