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
+5 -6
View File
@@ -1,6 +1,5 @@
<form method="POST" action="submit.php">
<input type="hidden" name="edit" value="subnet">
<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>
@@ -53,7 +52,7 @@
{$lang_subnet_dhcpstart}
</td>
<td class="value">
<input type="text" name="subnet_dhcpstart" size="15" value="{$subnet->dhcp_start}">
<input type="text" name="dhcp_start" size="15" value="{$subnet->dhcp_start}">
</td>
</tr>
<tr>
@@ -61,7 +60,7 @@
{$lang_subnet_dhcpend}
</td>
<td class="value">
<input type="text" name="subnet_dhcpend" size="15" value="{$subnet->dhcp_end}">
<input type="text" name="dhcp_end" size="15" value="{$subnet->dhcp_end}">
</td>
</tr>
<tr>
@@ -69,7 +68,7 @@
NTP Server
</td>
<td class="value">
<input type="text" name="subnet_ntp_server" size="45" value="{$subnet->ntp_server}">
<input type="text" name="ntp_server" size="45" value="{$subnet->ntp_server}">
</td>
</tr>
<tr>