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
+4 -5
View File
@@ -1,6 +1,5 @@
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="asset">
<input type="hidden" name="asset_id" value="{$asset_id}">
<form method="POST" action="asset.php">
<input type="hidden" name="id" value="{$asset_id}">
<table class="title">
<tr>
@@ -9,7 +8,7 @@
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" src="image.php?icon=shred" alt="{$lang_asset_del}" {if $suser_tooltips}title="{$lang_asset_del}" {/if}/>
<input type="image" name="submit[delete]" src="images/bin.png" alt="{$lang_asset_del}" {if $suser_tooltips}title="{$lang_asset_del}" {/if}/>
</td>
</tr>
</table>
@@ -29,7 +28,7 @@
{$lang_asset_name}
</td>
<td class="value">
<a href="assetview.php?asset_id={$asset_id}">{$asset_name}</a>
<a href="asset.php?f=view&id={$asset_id}">{$asset_name}</a>
</td>
</tr>
</table>