$r) { if ('account' != $r['name']) continue; bx_import('BxDolProfile'); $oProfile = BxDolProfile::getInstance(bx_get_logged_profile_id ()); $sUrlIcon = $oProfile->getThumb(); if (!$sUrlIcon) break; $a[$k]['bx_if:image'] = array ( 'condition' => true, 'content' => array('icon_url' => $sUrlIcon), ); $a[$k]['bx_if:icon']['condition'] = false; } return $a; } } /** @} */