{/if}
{/foreach}
{/if}
{* The 3 elements below are displayed with simple parsing (parse_data_simple()), which is probably better than using parse_data(), for performance and to obtain a more predictable parsing.
Converting these elements to HTML may still be better. Chealer *}
{if $p.shorthint}
{$p.shorthint|parse:true}
{/if}
{if $p.detail}
{$p.detail|parse:true}
{/if}
{if $p.hint}
{$p.hint|parse:true}
{/if}
{* Used by some preferences of type text (and textarea) *}
{if $p.translatable eq 'y'}
{button _class="btn btn-link tips" _type="link" href="tiki-preference_translate.php?pref={$p.preference|escape}" _icon_name="language" _text="" _title=":{tr}Translate{/tr} {$p.name|escape}"}
{/if}
{if $p.packages_required}
{foreach from=$p.packages_required item=dep}
{if $dep.met}
{icon name="ok" class="pref_dependency tips text-success" title="{tr}Requires package:{/tr} "|cat:$dep.label|escape|cat:" (OK)"}
{else}