66 lines
1.9 KiB
Smarty
66 lines
1.9 KiB
Smarty
<form action="childwp.php" method="post" name="fchildwp">
|
|
<input type="hidden" name="cacheid" value="{$cacheid|escape}" />
|
|
<input type="hidden" name="childid" value="{$childid|escape}" />
|
|
<input type="hidden" name="deleteid" value="{$deleteid|escape}" />
|
|
|
|
<div class="content2-pagetitle">
|
|
<img src="resource2/{$opt.template.style}/images/description/20x20-compass.png" style="align: left; margin-right: 10px;" alt="{t}Child waypoint{/t}" title="{t}Child waypoint{/t}" />
|
|
{$pagetitle|escape}
|
|
</div>
|
|
|
|
<table>
|
|
<tr>
|
|
{foreach from=$wpNameImages key=typeName item=typeImage}
|
|
<td><img src="{$typeImage}"></td><td>{$typeName}</td><td> </td>
|
|
{/foreach}
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="table">
|
|
<tr>
|
|
<td valign="top">{t}Waypoint type:{/t}</td>
|
|
<td>
|
|
<select name="wp_type" {if $disabled}disabled=""{/if}>
|
|
<option value="0">{t}Please select type{/t}</option>
|
|
{html_options values=$wpTypeIds output=$wpTypeNames selected=$wpType}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
|
|
{if isset($wpTypeError)}
|
|
<tr>
|
|
<td></td>
|
|
<td class="errormsg">
|
|
{$wpTypeError}
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
|
|
<tr>
|
|
<td valign="top">{t}Coordinate:{/t}</td>
|
|
<td>
|
|
{include file='coordinate_input.tpl'}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td valign="top">{t}Description:{/t}</td>
|
|
<td>
|
|
<textarea name="desc" rows="5" cols="60" {if $disabled}disabled="disabled"{/if}>{$wpDesc}</textarea>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="spacer" colspan="2"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td></td>
|
|
<td>
|
|
<input type="submit" name="back" value="{t}Cancel{/t}" class="formbutton" onclick="javascript:submitbutton('back')" />
|
|
<input type="submit" name="submitform" value="{$submitButton}" class="formbutton" onclick="javascript:submitbutton('submitform')" /></button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|