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 -5
View File
@@ -1,6 +1,5 @@
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="subnetvlan">
<input type="hidden" name="subnet_id" value="{$subnet->id}">
<form method="POST" action="subnet.php">
<input type="hidden" name="id" value="{$subnet->id}">
<table class="title">
<tr>
@@ -9,7 +8,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=save" alt="{$lang_submit}">
<input type="image" name="submit[exec-vadd]" src="image.php?icon=save" alt="{$lang_submit}">
</td>
</tr>
</table>
@@ -28,7 +27,7 @@
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
</td>
<td class="value">
<a href="subnetview.php?subnet_id={$subnet->id}">{$subnet->address}/{$subnet->mask}</a>
<a href="subnet.php?f=view&id={$subnet->id}">{$subnet->address}/{$subnet->mask}</a>
</td>
</tr>
</table>