ipreg/tpl/locationadd.tpl

51 lines
976 B
Smarty

<form method="POST" action="submit.php">
<input type="hidden" name="add" value="location">
<table border="0" width="100%">
<tr>
<td>
<b>{lang_location_add}:</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">
</td>
</tr>
[BLOCK table AS location]
<tr>
<td>
{lang_location_parent}:
</td>
<td>
<select name="parent">
<option value="0">(none)</option>
[BLOCK locationrow]
<option value="{location_id}" {location_selected}>{location_name}</option>
[END locationrow]
</select>
</td>
</tr>
[END table]
<tr>
<td>
{lang_location_info}:
</td>
<td>
<textarea name="location_info"></textarea>
</td>
</tr>
</table>
</form>