Refactored asset and location

This commit is contained in:
2023-03-04 14:55:07 +01:00
parent 32bd592098
commit 7cfcaeb9d7
21 changed files with 494 additions and 219 deletions
+28 -29
View File
@@ -1,39 +1,38 @@
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="location">
<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">
<img class="icon" src="images/building.png" alt="" />
{$location_name}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" src="images/building_delete.png" alt="{$lang_location_del}">
</td>
</tr>
<tr>
<td class="header">
<img class="icon" src="images/building.png" alt="" />
{$location->name}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" name="submit[delete]" src="images/building_delete.png" alt="{$lang_location_del}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{$lang_location_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_location_name}
</td>
<td class="value">
<a href="locationview.php?location_id={$location->id}">{$location->name}</a>
</td>
</tr>
<tr>
<td class="header">
{$lang_location_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_location_name}
</td>
<td class="value">
<a href="location.php?f=view&id={$location->id}">{$location->name}</a>
</td>
</tr>
</table>
</form>