diff --git a/app/call_block/call_block.php b/app/call_block/call_block.php index 0890af6c80..b314f7345b 100644 --- a/app/call_block/call_block.php +++ b/app/call_block/call_block.php @@ -139,7 +139,7 @@ require_once "resources/require.php"; } echo " ".$tmp_date_added."\n"; echo " ".$row['call_block_action']."\n"; - echo " ".ucwords($row['call_block_enabled'])."\n"; + echo " ".$text['label-'.$row['call_block_enabled']]."\n"; echo " "; if (permission_exists('call_block_edit')) { echo "$v_link_label_edit"; diff --git a/app/conference_centers/conference_centers.php b/app/conference_centers/conference_centers.php index 303c333476..742819ac03 100644 --- a/app/conference_centers/conference_centers.php +++ b/app/conference_centers/conference_centers.php @@ -165,7 +165,7 @@ else { echo " \n"; echo " ".$row['conference_center_extension']." \n"; //echo " ".$row['conference_center_order']." \n"; - echo " ".ucwords($row['conference_center_enabled'])." \n"; + echo " ".$text['label-'.$row['conference_center_enabled']]." \n"; echo " ".$row['conference_center_description']." \n"; echo " "; if (permission_exists('conference_center_edit')) { diff --git a/app/contacts/contact_extensions.php b/app/contacts/contact_extensions.php index 95148688ff..5064225441 100644 --- a/app/contacts/contact_extensions.php +++ b/app/contacts/contact_extensions.php @@ -98,7 +98,7 @@ else { echo $row['extension']; } echo " \n"; - echo " ".ucwords($row['enabled'])." \n"; + echo " ".$text['label-'.$row['enabled']]." \n"; echo " ".$row['description']." \n"; echo " "; if (permission_exists('extension_edit')) { diff --git a/app/contacts/contact_settings.php b/app/contacts/contact_settings.php index 66ff90ab30..ecc053eb8c 100644 --- a/app/contacts/contact_settings.php +++ b/app/contacts/contact_settings.php @@ -104,7 +104,7 @@ else { } echo "  \n"; echo " \n"; - echo " ".ucwords($row['contact_setting_enabled'])." \n"; + echo " ".$text['label-'.$row['contact_setting_enabled']]." \n"; echo " ".$row['contact_setting_description']." \n"; echo " "; if (permission_exists('contact_setting_edit')) { diff --git a/app/destinations/destinations.php b/app/destinations/destinations.php index a8b6e99cf5..6bd8a315d0 100644 --- a/app/destinations/destinations.php +++ b/app/destinations/destinations.php @@ -179,7 +179,7 @@ else { echo " ".ucwords($row['destination_type'])."\n"; echo " ".format_phone($row['destination_number'])."\n"; echo " ".$row['destination_context']."\n"; - echo " ".ucwords($row['destination_enabled'])."\n"; + echo " ".$text['label-'.$row['destination_enabled']]."\n"; echo " ".$row['destination_description']." \n"; echo " "; if (permission_exists('destination_edit')) { diff --git a/app/dialplan/dialplans.php b/app/dialplan/dialplans.php index cd8d4c8ec7..531a38a1a5 100644 --- a/app/dialplan/dialplans.php +++ b/app/dialplan/dialplans.php @@ -316,7 +316,7 @@ else { echo " ".$row['dialplan_context']."\n"; echo " ".$row['dialplan_order']."\n"; echo " "; - echo " ".ucwords($row['dialplan_enabled'])."\n"; + echo " ".$text['label-'.$row['dialplan_enabled']]."\n"; echo " \n"; echo " ".((strlen($row['dialplan_description']) > 0) ? $row['dialplan_description'] : " ")."\n"; echo " \n"; diff --git a/app/ivr_menus/ivr_menus.php b/app/ivr_menus/ivr_menus.php index 624efb90ba..c945ec683a 100644 --- a/app/ivr_menus/ivr_menus.php +++ b/app/ivr_menus/ivr_menus.php @@ -127,7 +127,7 @@ else { echo " \n"; echo " ".$row['ivr_menu_extension']." \n"; echo " ".ucwords($row['ivr_menu_direct_dial'])."\n"; - echo " ".ucwords($row['ivr_menu_enabled'])."\n"; + echo " ".$text['label-'.$row['ivr_menu_enabled']]."\n"; echo " ".$row['ivr_menu_description']." \n"; echo " "; if (permission_exists('ivr_menu_edit')) { diff --git a/app/ring_groups/ring_groups.php b/app/ring_groups/ring_groups.php index ab9d772622..a6f77cd75a 100644 --- a/app/ring_groups/ring_groups.php +++ b/app/ring_groups/ring_groups.php @@ -141,7 +141,7 @@ require_once "resources/paging.php"; } echo " \n"; echo " ".$row['ring_group_extension']." \n"; - echo " ".ucwords($row['ring_group_enabled'])." \n"; + echo " ".$text['label-'.$row['ring_group_enabled']]." \n"; if (permission_exists('ring_group_forward')) { echo " ".$text['link-call-forward']."\n"; } diff --git a/app/voicemails/voicemails.php b/app/voicemails/voicemails.php index 4224259456..be0343e997 100644 --- a/app/voicemails/voicemails.php +++ b/app/voicemails/voicemails.php @@ -186,7 +186,7 @@ else { echo " ".$text['label-greetings']."\n"; } echo " \n"; - echo " ".ucwords($row['voicemail_enabled'])." \n"; + echo " ".$text['label-'.$row['voicemail_enabled']]." \n"; echo " ".$row['voicemail_description']." \n"; if (permission_exists('voicemail_edit') || permission_exists('voicemail_delete')) { echo " "; diff --git a/core/default_settings/default_settings.php b/core/default_settings/default_settings.php index d9d1052447..52293206ca 100644 --- a/core/default_settings/default_settings.php +++ b/core/default_settings/default_settings.php @@ -406,7 +406,7 @@ else { echo "  \n"; echo " \n"; echo " \n"; - echo " ".ucwords($row['default_setting_enabled'])."\n"; + echo " ".$text['label-'.$row['default_setting_enabled']]."\n"; echo " \n"; echo " ".$row['default_setting_description']." \n"; echo " "; diff --git a/core/domain_settings/domain_settings.php b/core/domain_settings/domain_settings.php index 76a58c339d..0421f4bd3e 100644 --- a/core/domain_settings/domain_settings.php +++ b/core/domain_settings/domain_settings.php @@ -236,7 +236,7 @@ if (sizeof($_REQUEST) > 1) { echo "  \n"; echo " \n"; echo " \n"; - echo " ".ucwords($row['domain_setting_enabled'])."\n"; + echo " ".$text['label-'.$row['domain_setting_enabled']]."\n"; echo " \n"; echo " ".$row['domain_setting_description']." \n"; echo " "; diff --git a/core/users/user_settings.php b/core/users/user_settings.php index a47f0cde5d..98d06cbeb8 100644 --- a/core/users/user_settings.php +++ b/core/users/user_settings.php @@ -206,7 +206,7 @@ else { echo "  \n"; echo " \n"; echo " \n"; - echo " ".ucwords($row['user_setting_enabled'])."\n"; + echo " ".$text['label-'.$row['user_setting_enabled']]."\n"; echo " \n"; echo " ".$row['user_setting_description']." \n"; echo " ";