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 -6
View File
@@ -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>