Refactored, no more redirects. Improved error messaging system
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" 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} ADD
|
||||
</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[subnetlink]" src="images/page_save.png" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -28,7 +27,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>
|
||||
|
||||
Reference in New Issue
Block a user