{if $p.helpurl} {$icon = "help"} {elseif $p.description} {$icon = "information"} {/if} {if isset($icon)} `$p.preference`"}Preference name: %0{/tr}

{if $p.separator && $p.type neq 'multiselector'}
{tr _0=$p.separator}Use "%0" to separate values.{/tr}{/if}"> {icon name=$icon}
{/if} {if $p.warning} {icon name="warning"} {/if} {if $p.modified and $p.available} {icon name="undo"} {/if} {if !empty($p.popup_html)} {icon name="actions"} {/if} {if !empty($p.voting_html)} {$p.voting_html} {/if} {$p.pages} {if isset($pref_filters) and not $pref_filters.advanced.selected and in_array('advanced', $p.tags)} {tr}advanced{/tr} {/if} {if isset($pref_filters) and not $pref_filters.experimental.selected and in_array('experimental', $p.tags)} {tr}experimental{/tr} {/if} {if $p.dependencies} {foreach from=$p.dependencies item=dep} {if $dep.met} {icon name="ok" class="pref_dependency tips text-success" title="{tr}Requires:{/tr} "|cat:$dep.label|escape|cat:" (OK)"} {elseif $dep.type eq 'profile'} {else} {/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} {/if} {/foreach} {/if} {foreach from=$p.notes item=note}
{$note|escape}
{/foreach}