mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
17 lines
551 B
Smarty
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"> — удалить файл
|
|
</label>
|
|
<br/>
|
|
{/if} |