{assign var=hasPopup value='n'} {capture name=popup}
{foreach from=$popupFields|default:null item=field} {if $field.isPublic eq 'y' and ($field.isHidden eq 'n' or $field.isHidden eq 'c' or $field.isHidden eq 'p' or $field.isHidden eq 'a' or $tiki_p_admin_trackers eq 'y' or $tiki_p_admin eq 'y') and $field.type ne 'x' and $field.type ne 'h' and ($field.type ne 'p' or $field.options_array[0] ne 'password') and (empty($field.visibleBy) or in_array($default_group, $field.visibleBy) or tiki_p_admin_trackers eq 'y' or $tiki_p_admin eq 'y')} {$hasPopup = 'y'} {/if} {/foreach}
{$field.name|escape}{trackeroutput field=$field item=$popupItem showpopup=n showlinks=n}
{/capture} {if $hasPopup eq 'y'} {popup text=$smarty.capture.popup fullhtml="1" hauto=true vauto=true trigger="hover"} {/if}