mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-30 13:44:48 +01:00
20 lines
639 B
Smarty
20 lines
639 B
Smarty
|
{if $freeze}
|
||
|
{if $value}
|
||
|
{if $quotas[$value].unknown}
|
||
|
<span class='LSformElement_quota_unknown'>{$quotas[$value].unknown}</span>
|
||
|
{else}
|
||
|
{$quotas[$value].valueTxt}
|
||
|
{/if}
|
||
|
{else}
|
||
|
{$noValueTxt}
|
||
|
{/if}
|
||
|
{else}
|
||
|
<input name='{$attr_name}_size[]' type=text class='LSformElement_quota' value="{$quotas[$value].valueSize}"/>
|
||
|
<select name='{$attr_name}_sizeFact[]' class='LSform LSformElement_quota'>
|
||
|
{html_options options=$sizeFacts selected=$quotas[$value].valueSizeFact}
|
||
|
</select>
|
||
|
{if $quotas[$value].unknown}
|
||
|
<span class='LSformElement_quota_unknown'>{$quotas[$value].unknown}</span>
|
||
|
{/if}
|
||
|
{/if}
|