ipreg/tpl/locationedit.tpl

52 lines
1.0 KiB
Smarty

<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" width="100%">
<tr>
<td>
<b>{lang_location_edit}:</b><br>
</td>
<td align="right">
<input type="image" src="images/save.gif" title="{lang_submit}">
</td>
</tr>
</table>
<p>
<table border="0">
<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>
</table>
</form>