mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
21 lines
714 B
Smarty
21 lines
714 B
Smarty
{$value = $property->getValue()}
|
|
{$valueType = $value->getValueTypeObject()}
|
|
|
|
<div class="ls-property">
|
|
<div class="ls-property-list-item-label">
|
|
{$property->getTitle()}
|
|
</div>
|
|
|
|
{if $value->getValueVarchar()}
|
|
{if $oUserCurrent || ! $property->getParam('access_only_auth')}
|
|
<a href="{router page="property/download"}{$value->getValueVarchar()}/">{$value->getValueForDisplay()}</a>
|
|
{if $valueType->getCountDownloads()}
|
|
<br/>{lang 'property.file.downloads'}: {$valueType->getCountDownloads()}
|
|
{/if}
|
|
{else}
|
|
{lang 'property.file.forbidden'}
|
|
{/if}
|
|
{else}
|
|
{lang 'property.file.empty'}
|
|
{/if}
|
|
</div> |