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
+6 -6
View File
@@ -1,15 +1,15 @@
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="locationsubnet">
<input type="hidden" name="location_id" value="{$location_id}">
<form method="POST" action="location.php">
<input type="hidden" name="id" value="{$location->id}">
<table class="title">
<tr>
<td class="header">
{lang_locationsubnet}
{$lang_locationsubnet} DEL
</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}">
{* TODO link und unlink icons! *}
<input type="image" name="submit[subnetunlink]" src="image.php?icon=save" alt="{$lang_submit}">
</td>
</tr>
</table>
@@ -28,7 +28,7 @@
{$lang_location_name}
</td>
<td class="value">
<a href="locationview.php?location_id={$location_id}">{$location_name}</a>
<a href="location.php?f=view&id={$location->id}">{$location->name}</a>
</td>
</tr>
</table>