mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-24 02:49:07 +01:00
19 lines
733 B
Smarty
19 lines
733 B
Smarty
{if $freeze}
|
|
{if $value}
|
|
{if $quotas[$value].unknown}
|
|
<span class='LSformElement_mailQuota_unknown'>Valeur incorrecte</span>
|
|
{else}
|
|
{$quotas[$value].valueTxt|escape:"htmlall"}
|
|
{/if}
|
|
{else}
|
|
{$noValueTxt|escape:"htmlall"}
|
|
{/if}
|
|
{else}
|
|
<input name='{$attr_name|escape:"htmlall"}_size[]' type=text class='LSformElement_mailQuota' value='{$quotas[$value].valueSize|escape:"htmlall"}'/>
|
|
<select name='{$attr_name|escape:"htmlall"}_sizeFact[]' class='LSform LSformElement_mailQuota'>
|
|
{html_options options=$sizeFacts selected=$quotas[$value].valueSizeFact}
|
|
</select>
|
|
{if $quotas[$value].unknown}
|
|
<span class='LSformElement_mailQuota_unknown'>{tr msg="Incorrect value"}</span>
|
|
{/if}
|
|
{/if}
|