From 2e21b055458b8b39d964b1434da939e9d0a58393 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 27 May 2022 09:23:38 +0200 Subject: [PATCH] Rename the "limit_customer_visibility" setting to "limit_customer_access" --- application/language/arabic/translations_lang.php | 4 ++-- application/language/bulgarian/translations_lang.php | 4 ++-- application/language/catalan/translations_lang.php | 4 ++-- application/language/chinese/translations_lang.php | 4 ++-- application/language/czech/translations_lang.php | 4 ++-- application/language/danish/translations_lang.php | 4 ++-- application/language/dutch/translations_lang.php | 4 ++-- application/language/english/translations_lang.php | 4 ++-- application/language/estonian/translations_lang.php | 4 ++-- application/language/finnish/translations_lang.php | 4 ++-- application/language/french/translations_lang.php | 4 ++-- application/language/greek/translations_lang.php | 4 ++-- application/language/hebrew/translations_lang.php | 4 ++-- application/language/hindi/translations_lang.php | 4 ++-- application/language/hungarian/translations_lang.php | 4 ++-- application/language/italian/translations_lang.php | 4 ++-- application/language/japanese/translations_lang.php | 4 ++-- .../language/luxembourgish/translations_lang.php | 4 ++-- application/language/marathi/translations_lang.php | 4 ++-- application/language/polish/translations_lang.php | 4 ++-- .../language/portuguese-br/translations_lang.php | 4 ++-- application/language/portuguese/translations_lang.php | 4 ++-- application/language/romanian/translations_lang.php | 4 ++-- application/language/russian/translations_lang.php | 4 ++-- application/language/serbian/translations_lang.php | 4 ++-- application/language/slovak/translations_lang.php | 4 ++-- application/language/spanish/translations_lang.php | 4 ++-- application/language/swedish/translations_lang.php | 4 ++-- application/language/turkish/translations_lang.php | 4 ++-- ...g.php => 039_add_limit_customer_access_setting.php} | 10 +++++----- application/views/pages/booking_settings.php | 10 +++++----- 31 files changed, 68 insertions(+), 68 deletions(-) rename application/migrations/{039_add_limit_customer_visibility_setting.php => 039_add_limit_customer_access_setting.php} (83%) diff --git a/application/language/arabic/translations_lang.php b/application/language/arabic/translations_lang.php index f82fbae6..c00f11a1 100755 --- a/application/language/arabic/translations_lang.php +++ b/application/language/arabic/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/bulgarian/translations_lang.php b/application/language/bulgarian/translations_lang.php index d29d118b..4f16ce51 100755 --- a/application/language/bulgarian/translations_lang.php +++ b/application/language/bulgarian/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/catalan/translations_lang.php b/application/language/catalan/translations_lang.php index cc123d77..9d86e849 100644 --- a/application/language/catalan/translations_lang.php +++ b/application/language/catalan/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Enllaç de reserva'; $lang['add_new_event'] = 'Afegeix un nou esdeveniment'; $lang['what_kind_of_event'] = 'Quin tipus d\'esdeveniment voleu afegir?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/chinese/translations_lang.php b/application/language/chinese/translations_lang.php index 5be7ea65..912a07b7 100755 --- a/application/language/chinese/translations_lang.php +++ b/application/language/chinese/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/czech/translations_lang.php b/application/language/czech/translations_lang.php index cf66a0af..6469625e 100644 --- a/application/language/czech/translations_lang.php +++ b/application/language/czech/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/danish/translations_lang.php b/application/language/danish/translations_lang.php index c936f997..e2aeb982 100755 --- a/application/language/danish/translations_lang.php +++ b/application/language/danish/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/dutch/translations_lang.php b/application/language/dutch/translations_lang.php index 5055b1b7..b5e8c076 100755 --- a/application/language/dutch/translations_lang.php +++ b/application/language/dutch/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/english/translations_lang.php b/application/language/english/translations_lang.php index 80035733..eadf98d3 100755 --- a/application/language/english/translations_lang.php +++ b/application/language/english/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/estonian/translations_lang.php b/application/language/estonian/translations_lang.php index 0394343b..7caf57b4 100644 --- a/application/language/estonian/translations_lang.php +++ b/application/language/estonian/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Broneeringu link'; $lang['add_new_event'] = 'Lisa uus sündmus'; $lang['what_kind_of_event'] = 'Mis laadi sündmust soovid lisada?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/finnish/translations_lang.php b/application/language/finnish/translations_lang.php index d1f8b173..1ebee6a8 100755 --- a/application/language/finnish/translations_lang.php +++ b/application/language/finnish/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/french/translations_lang.php b/application/language/french/translations_lang.php index 8a38717a..3d5e78da 100755 --- a/application/language/french/translations_lang.php +++ b/application/language/french/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/greek/translations_lang.php b/application/language/greek/translations_lang.php index 5e87fa47..a0dd302a 100755 --- a/application/language/greek/translations_lang.php +++ b/application/language/greek/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/hebrew/translations_lang.php b/application/language/hebrew/translations_lang.php index 3041ff64..83a0c213 100644 --- a/application/language/hebrew/translations_lang.php +++ b/application/language/hebrew/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/hindi/translations_lang.php b/application/language/hindi/translations_lang.php index 775f9cc1..43d7186b 100755 --- a/application/language/hindi/translations_lang.php +++ b/application/language/hindi/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/hungarian/translations_lang.php b/application/language/hungarian/translations_lang.php index 11cee8b8..21ccbd06 100755 --- a/application/language/hungarian/translations_lang.php +++ b/application/language/hungarian/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/italian/translations_lang.php b/application/language/italian/translations_lang.php index 4760134f..38db88d3 100755 --- a/application/language/italian/translations_lang.php +++ b/application/language/italian/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/japanese/translations_lang.php b/application/language/japanese/translations_lang.php index 7cb133e8..cfa66ade 100755 --- a/application/language/japanese/translations_lang.php +++ b/application/language/japanese/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/luxembourgish/translations_lang.php b/application/language/luxembourgish/translations_lang.php index 9768fbd6..7d224707 100755 --- a/application/language/luxembourgish/translations_lang.php +++ b/application/language/luxembourgish/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/marathi/translations_lang.php b/application/language/marathi/translations_lang.php index acf89062..a3177ad7 100644 --- a/application/language/marathi/translations_lang.php +++ b/application/language/marathi/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/polish/translations_lang.php b/application/language/polish/translations_lang.php index 3227daf2..50fbcb31 100755 --- a/application/language/polish/translations_lang.php +++ b/application/language/polish/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/portuguese-br/translations_lang.php b/application/language/portuguese-br/translations_lang.php index 4f9a3768..1bdcfb0a 100755 --- a/application/language/portuguese-br/translations_lang.php +++ b/application/language/portuguese-br/translations_lang.php @@ -364,6 +364,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/portuguese/translations_lang.php b/application/language/portuguese/translations_lang.php index 975576c0..6b8a613b 100755 --- a/application/language/portuguese/translations_lang.php +++ b/application/language/portuguese/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/romanian/translations_lang.php b/application/language/romanian/translations_lang.php index 0b78d1a7..126a1ead 100755 --- a/application/language/romanian/translations_lang.php +++ b/application/language/romanian/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/russian/translations_lang.php b/application/language/russian/translations_lang.php index 52274fed..8bca10c4 100755 --- a/application/language/russian/translations_lang.php +++ b/application/language/russian/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/serbian/translations_lang.php b/application/language/serbian/translations_lang.php index 5d72b8d1..6826c434 100644 --- a/application/language/serbian/translations_lang.php +++ b/application/language/serbian/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/slovak/translations_lang.php b/application/language/slovak/translations_lang.php index 111d2a18..63c3a25a 100755 --- a/application/language/slovak/translations_lang.php +++ b/application/language/slovak/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/spanish/translations_lang.php b/application/language/spanish/translations_lang.php index c7810337..21fa8b78 100755 --- a/application/language/spanish/translations_lang.php +++ b/application/language/spanish/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/swedish/translations_lang.php b/application/language/swedish/translations_lang.php index 097cfa7e..fab5dcae 100644 --- a/application/language/swedish/translations_lang.php +++ b/application/language/swedish/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/language/turkish/translations_lang.php b/application/language/turkish/translations_lang.php index 8117783f..1098b579 100755 --- a/application/language/turkish/translations_lang.php +++ b/application/language/turkish/translations_lang.php @@ -365,6 +365,6 @@ $lang['booking_link'] = 'Booking Link'; $lang['add_new_event'] = 'Add New Event'; $lang['what_kind_of_event'] = 'What kind of event would you like to add?'; $lang['theme'] = 'Theme'; -$lang['limit_customer_visibility'] = 'Limit Customer Visibility'; -$lang['limit_customer_visibility_hint'] = 'If enabled, providers and secretaries will only be able to view and manage customers they have an appointment with.'; +$lang['limit_customer_access'] = 'Limit Customer Access'; +$lang['limit_customer_access_hint'] = 'If enabled, providers and secretaries will only be able to access customers they have an appointment with.'; // End diff --git a/application/migrations/039_add_limit_customer_visibility_setting.php b/application/migrations/039_add_limit_customer_access_setting.php similarity index 83% rename from application/migrations/039_add_limit_customer_visibility_setting.php rename to application/migrations/039_add_limit_customer_access_setting.php index 27594218..36bd1ac6 100644 --- a/application/migrations/039_add_limit_customer_visibility_setting.php +++ b/application/migrations/039_add_limit_customer_access_setting.php @@ -11,18 +11,18 @@ * @since v1.4.0 * ---------------------------------------------------------------------------- */ -class Migration_Add_limit_customer_visibility_setting extends EA_Migration { +class Migration_Add_limit_customer_access_setting extends EA_Migration { /** * Upgrade method. */ public function up() { - if ( ! $this->db->get_where('settings', ['name' => 'limit_customer_visibility'])->num_rows()) + if ( ! $this->db->get_where('settings', ['name' => 'limit_customer_access'])->num_rows()) { $this->db->insert('settings', [ 'create_datetime' => date('Y-m-d H:i:s'), 'update_datetime' => date('Y-m-d H:i:s'), - 'name' => 'limit_customer_visibility', + 'name' => 'limit_customer_access', 'value' => '0' ]); } @@ -33,9 +33,9 @@ class Migration_Add_limit_customer_visibility_setting extends EA_Migration { */ public function down() { - if ($this->db->get_where('settings', ['name' => 'limit_customer_visibility'])->num_rows()) + if ($this->db->get_where('settings', ['name' => 'limit_customer_access'])->num_rows()) { - $this->db->delete('settings', ['name' => 'limit_customer_visibility']); + $this->db->delete('settings', ['name' => 'limit_customer_access']); } } } diff --git a/application/views/pages/booking_settings.php b/application/views/pages/booking_settings.php index d0b23c77..1a901664 100755 --- a/application/views/pages/booking_settings.php +++ b/application/views/pages/booking_settings.php @@ -241,16 +241,16 @@
- -
- +