mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 09:32:15 +09:00
Store three-letter country code instead of calling code
This commit is contained in:
parent
342c011a6c
commit
0e9ce525da
8 changed files with 87 additions and 38 deletions
|
|
@ -59,11 +59,10 @@
|
|||
<td class="nowr" loop="$usedIdentifiers=>$name,$title">
|
||||
<!--@if($name === 'email_address')-->
|
||||
<a href="#popup_menu_area" class="member_{$member_info['member_srl']}">{getEncodeEmailAddress($member_info['email_address'])}</a>
|
||||
<!--@elseif($name === 'phone_number')-->
|
||||
<!--@if($member_info['phone_country'] && $member_info['phone_country'] != $member_config->phone_number_default_country)-->
|
||||
(+{$member_info['phone_country']})
|
||||
<!--@end-->
|
||||
<!--@if($member_info['phone_country'] == 82)-->
|
||||
<!--@elseif($name === 'phone_number' && $member_info['phone_number'])-->
|
||||
<!--@if($config->phone_number_hide_country !== 'Y')-->
|
||||
{\Rhymix\Framework\i18n::formatPhoneNumber($member_info['phone_number'], $member_info['phone_country'])}
|
||||
<!--@elseif(($config->phone_number_default_country === 'KOR' || $memberConfig->phone_number_default_country == '82') && ($member_info['phone_country'] === 'KOR' || $member_info['phone_country'] == '82'))-->
|
||||
{\Rhymix\Framework\Korea::formatPhoneNumber($member_info['phone_number'])}
|
||||
<!--@else-->
|
||||
{$member_info['phone_number']}
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@
|
|||
<select id="phone_number_default_country" name="phone_number_default_country">
|
||||
<!--@foreach($country_list as $country_info)-->
|
||||
<!--@if($country_info->calling_code)-->
|
||||
<option value="{$country_info->calling_code}" selected="selected"|cond="$country_info->calling_code == $config->phone_number_default_country">
|
||||
<option value="{$country_info->iso_3166_1_alpha3}" selected="selected"|cond="$country_info->iso_3166_1_alpha3 === $config->phone_number_default_country || $country_info->calling_code === $config->phone_number_default_country">
|
||||
{$lang_type === 'ko' ? $country_info->name_korean : $country_info->name_english} (+{$country_info->calling_code})
|
||||
</option>
|
||||
<!--@endif-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue