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
+47
View File
@@ -0,0 +1,47 @@
<form method="POST" action="submit.php">
<input type="hidden" name="edit" value="location">
<input type="hidden" name="location_id" value="{location_id}">
<table border="0">
<tr>
<td colspan="2">
<b>{lang_location_edit}:</b><br>
</td>
</tr>
<tr>
<td>
{lang_location_name}:
</td>
<td>
<input type="text" name="location_name" value="{location_name}">
</td>
</tr>
<tr>
<td>
{lang_location_parent}:
</td>
<td>
[BLOCK table AS parent]
<select name="parent">
<option value="0">(none)</option>
[BLOCK parentrow]
<option value="{parent_id}" {selected}>{parent_name}</option>
[END parentrow]
</select>
[END table]
</td>
</tr>
<tr>
<td>
{lang_location_info}:
</td>
<td>
<textarea name="location_info">{location_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>