{php} global $current_language; $app_list_strings = return_app_list_strings_language($current_language); $this->assign('APP_LIST', $app_list_strings['phone_type_dom']); $select_option_type = ''; foreach ($app_list_strings['phone_type_dom'] as $key=>$val) { $select_option_type .= ''; } {/php} {assign var=phones value="^|^"|explode:{{sugarvar key='value' string=true}}} {assign var=phoneCounter value=0} {assign var=cur_count value=$phones|@count }
{foreach name=outer item=phone from=$phones} {assign var=item value="^,^"|explode:$phone} {assign var=phoneCounter value=$phoneCounter+1} {/foreach}
    {$APP.LBL_PHONE_MAIN} {$APP.LBL_PHONE_DONT_CALL}