Make use of Yapter Template Engine

This commit is contained in:
2023-02-13 09:31:40 +01:00
parent 7322231d3e
commit 8d00ee5e1b
100 changed files with 4804 additions and 2666 deletions
+53
View File
@@ -0,0 +1,53 @@
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="asset">
<table border="0">
<tr>
<td colspan="2">
<b>{lang_asset_add}:</b><br>
</td>
</tr>
<tr>
<td>
{lang_asset_name}:
</td>
<td>
<input type="text" name="asset_name">
</td>
</tr>
<tr>
<td>
{lang_hostname}:
</td>
<td>
<input type="text" name="hostname">
</td>
</tr>
[BLOCK table AS assetclass]
<tr>
<td>
{lang_assetclass}:
</td>
<td>
<select name="assetclass_id">
[BLOCK assetclassrow]
<option value="{assetclass_id}">{assetclass_name}</option>
[END assetclassrow]
</select>
</td>
</tr>
[END table]
<tr>
<td>
{lang_asset_info}:
</td>
<td>
<textarea name="asset_info"></textarea>
</td>
</tr>
<tr>
<td colspan="2" align="right">
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
</td>
</tr>
</table>
</form>