1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-16 21:34:25 +03:00
ifhub.club/application/frontend/skin/developer/forms/property/form.field.file.tpl

17 lines
551 B
Smarty

{$oValue = $oProperty->getValue()}
{$oValueType = $oValue->getValueTypeObject()}
{include file="components/field/field.file.tpl"
sName = "property[{$oProperty->getId()}][file]"
sClasses = 'width-300'
sNote = $oProperty->getDescription()
sLabel = $oProperty->getTitle()}
{$aFile=$oValue->getDataOne('file')}
{if $aFile}
Загружен файл: {$aFile.name}.{$aFile.extension} <br/>
<label>
<input type="checkbox" name="property[{$oProperty->getId()}][remove]" value="1"> &mdash; удалить файл
</label>
<br/>
{/if}