Edytuj element

{if isset($objProduct)} {/if}
{assign var="additionalTitle" value=""} {dropDownContainer title="Ogólne" additionalTitle=$additionalTitle}
Nazwa: {formField name='name' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objProduct' func='getName'} {if isset($error.name)}
{$error.name}
{/if}
Publikuj: {formField type='checkbox' name='publication' obj='objProduct' func='GetPublication'}
Data publikacji: kalendarz {formField type='input' name='datepublication' errorClass='validate' obj='objProduct' func='GetDatePublicationWithoutTime' id='datepub'} {if isset($error.datepublication)}
{$error.datepublication}
{/if}
Godzina: {formField type='input' maxlength='2' errorClass='validate' name='timepublication' obj='objProduct' func='GetDatePublicationTime'} format (HH)
Kolejność: {formField type='input' maxlength='2' class='inputWidth141' errorClass='validate' name='weight' obj='objFile' func='GetWeight'}
{/dropDownContainer} {dropDownContainer title="Karta"}
{if $objProduct->GetPictureMini()}{/if}
Usuń obrazek
{/dropDownContainer} {dropDownContainer title="Plik"}
{if $objProduct->GetFile()} {assign var=objFile value=$objProduct->GetFile()}

{$objFile->GetName()}

{/if}



{/dropDownContainer} {dropDownContainer title="Treść"}
{if isset($objProduct)} {assign var='tresc' value=$objProduct->GetDescription()} {else} {assign var='tresc' value=''} {/if} {insertCkEditor width='1020' height='380' name='tresc' toolbar='Formix' value=$tresc}
{/dropDownContainer} {dropDownContainer title="Opis dodatkowy" isHidden=true}
{if isset($objProduct)} {assign var='zajawka' value=$objProduct->GetShortnote()} {else} {assign var='zajawka' value=''} {/if} {insertCkEditor width='1020' height='380' name='zajawka' toolbar='Basic' value=$zajawka}
{if isset($error.zajawka)}
{$error.zajawka}
{/if}
{/dropDownContainer} {dropDownContainer title="Kategorie" isHidden=true}
Kategorie: {foreach from=$arrayStructureProductCategory item=productCategory key=idProductCategory} GetChecked() || $objProduct->getIdMfProductCategory() == $productCategory->GetId()} checked{/if} />{$productCategory->GetName()};
{if $productCategory->GetHaveChildren()} {foreach from=$productCategory->GetArrayChildren() item=subProductCategory key=idSubProductCategory}  -> GetChecked()} checked{/if} />{$subProductCategory->GetName()};
{/foreach} {/if} {/foreach}


{/dropDownContainer} {dropDownContainer title="Parametry" isHidden=true} {foreach from=$arraySpecType item=specTypeName key=idSpecTypeName}
{$specTypeName}{**}
{assign var=x value=0} {foreach from=$arrayObjProductSpecification item=objProductSpecification} {assign var=x value=$x+1} {if $objProductSpecification->GetTyp() == $idSpecTypeName} GetChecked()} checked{/if} />{$objProductSpecification->GetValue()}; {/if} {/foreach}
lub dodaj nowy:
{/foreach} {/dropDownContainer} {dropDownContainer title="Parametry dla mieszkania"} {**} {* *} {* *}
Piętro:
Promocja: {formField type='checkbox' name='sale' obj='objProduct' func='GetSale'}
Nowość: {formField type='checkbox' name='new' obj='objProduct' func='GetNew'}
Status:
Polecany: {formField type='checkbox' name='special' obj='objProduct' func='GetSpecial'}
Typ: {formField name='type' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objProduct' func='GetType'} {if isset($error.type)}
{$error.type}
{/if}
Numer: {formField name='amount' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objProduct' func='GetAmount'} {if isset($error.amount)}
{$error.amount}
{/if}
Cena: {formField name='price' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objProduct' func='GetPrice'} {if isset($error.price)}
{$error.price}
{/if}
Cena promocyjna: {formField name='price_sale' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objProduct' func='GetPriceSale'} {if isset($error.price_sale)}
{$error.price_sale}
{/if}
Powierzchnia: {formField name='dimension' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objProduct' func='GetDimension'} {if isset($error.dimension)}
{$error.dimension}
{/if}
Powierzchnia balkonu/tarasu/loggii: {formField name='code' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objProduct' func='GetCode'} {if isset($error.code)}
{$error.code}
{/if}
Powierzchnia balkonu/tarasu/loggii opis: {formField name='zajawka' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objProduct' func='GetShortnote'} {if isset($error.zajawka)}
{$error.zajawka}
{/if}
Liczba pokoi: {formField name='bulb' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='objProduct' func='GetBulb'} {if isset($error.bulb)}
{$error.bulb}
{/if}
{/dropDownContainer} {dropDownContainer title="Seria" isHidden=true}
Wybierz serię:
lub dodaj nową:
{/dropDownContainer} {dropDownContainer title="Dodaj zdjecia" isHidden=true} {/dropDownContainer} {dropDownContainer title="Zdjecia" isHidden=true}
{foreach from=$arrayImage item=image name=photo key=key}
test
Usuń
{/foreach}
{if isset($arrayPhoto)} {foreach from=$arrayPhoto item=file name=photo key=key}
test
{/foreach} {/if}
{/dropDownContainer}
{if isset($idStructure)} {else} {/if}