mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 05:55:02 +03:00
parent
20572356d1
commit
c4cba1602c
|
@ -6,6 +6,7 @@
|
|||
|
||||
{block 'field' prepend}
|
||||
{$_sMods = "$_sMods checkbox"}
|
||||
{$_sValue = ( $_sValue ) ? $_sValue : '1'}
|
||||
{/block}
|
||||
|
||||
{block 'field_input'}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
{* Переменные *}
|
||||
{$_sMods = $smarty.local.sMods}
|
||||
{$_sValue = $smarty.local.sValue}
|
||||
{$_sInputClasses = $smarty.local.sInputClasses}
|
||||
{$_sInputAttributes = $smarty.local.sInputAttributes}
|
||||
{$_aRules = $smarty.local.aRules}
|
||||
|
@ -29,8 +30,8 @@
|
|||
*}
|
||||
{function field_input_attr_value}
|
||||
{strip}
|
||||
{if $smarty.local.sValue}
|
||||
{$smarty.local.sValue}
|
||||
{if $_sValue}
|
||||
{$_sValue}
|
||||
{elseif isset($_aRequest[$smarty.local.sName])}
|
||||
{$_aRequest[$smarty.local.sName]}
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue