Changes adopted from version 0.5
This commit is contained in:
+51
-27
@@ -2,51 +2,75 @@
|
||||
<input type="hidden" name="edit" value="location">
|
||||
<input type="hidden" name="location_id" value="{location_id}">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_location_edit}:</b><br>
|
||||
<td class="header">
|
||||
{location_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK location_table AS location_table]
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_name}:
|
||||
<td class="header">
|
||||
{lang_location}
|
||||
</td>
|
||||
<td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="location_name" value="{location_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_parent}:
|
||||
<td class="label">
|
||||
{lang_location_info}
|
||||
</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 class="value">
|
||||
<textarea name="location_info" cols="30" rows="10">{location_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[END location_table]
|
||||
|
||||
<p>
|
||||
|
||||
[BLOCK parentlocation_table AS parentlocation_table]
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{lang_location_parent}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{lang_location_parent}
|
||||
</td>
|
||||
<td class="value">
|
||||
<select name="parentlocation_id">
|
||||
<option value="0">(none)</option>
|
||||
[BLOCK parentlocation_row]
|
||||
<option value="{parentlocation_id}" {parentlocation_selected}>{nbsp}{parentlocation_name}</option>
|
||||
[END parentlocation_row]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[END parentlocation_table]
|
||||
|
||||
</form>
|
||||
Reference in New Issue
Block a user