This commit is contained in:
2026-05-15 18:33:51 +02:00
parent 3601be572f
commit c980004309
8442 changed files with 783630 additions and 1 deletions

View File

@@ -0,0 +1,79 @@
<form method="post" action="{url Maps='Edit' idMaps=$objMaps->GetId()}" enctype="multipart/form-data">
{if isset($objMaps)}
<input type="hidden" name="idMaps" value="{$objMaps->GetId()}" />
{/if}
<div class="panelRightTop"></div>
<div class="panelRightBody">
<div class="paddedContent">
{assign var="additionalTitle" value=""}
{dropDownContainer title="Ogólne" additionalTitle=$additionalTitle}
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="frameTableForm tableContetntWhite">
<tbody>
<tr>
<td>nazwa:</td>
<td>
{formField name='name' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objMaps' func='GetName'}
{if isset($error.name)}<div style="color: red;" id="actionError">{$error.name}</div>{/if}
</td>
</tr>
<tr>
<td>miasto:</td>
<td>
{formField name='city' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objMaps' func='GetCity'}
</td>
</tr>
<tr>
<td>adres:</td>
<td>
{formField name='address' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objMaps' func='GetAddress'}
</td>
</tr>
<tr>
<td>kordynaty - lng:</td>
<td>
{formField name='lng' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objMaps' func='GetLng'}
</td>
</tr>
<tr>
<td>kordynaty - lat:</td>
<td>
{formField name='lat' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objMaps' func='GetLat'}
</td>
</tr>
<tr>
<td>waga:</td>
<td>
{formField name='weight' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objMaps' func='GetWeight'}
</td>
</tr>
<tr>
<td>Publikuj:</td>
<td>{formField type='checkbox' name='publication' obj='objMaps' func='GetPublication'}</td>
</tr>
{*<tr>
<td>Opis:</td>
<td>{formField type='textarea' name='description' obj='objMaps' func='GetDescription'}</td>
</tr>*}
</tbody>
</table>
{/dropDownContainer}
</div>
</div>
<div class="panelRightBottom">
<div class="panelButtons">
{if isset($idStructure)}
<input type="button" class="cancel" value="Anuluj" name="" onclick="document.location.href='{url label=editStructure id=$idStructure}'" />
{else}
<input type="button" class="cancel" value="Anuluj" name="" onclick="document.location.href='{url Maps=index}'"/>
{/if}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" value="Zapisz" name="doMapsEdit"/>
</div>
</div>
</form>