diff --git a/application/views/components/appointments_modal.php b/application/views/components/appointments_modal.php index ae5ce7ce..b72376cf 100644 --- a/application/views/components/appointments_modal.php +++ b/application/views/components/appointments_modal.php @@ -43,6 +43,7 @@ // Group services by category, only if there is at least one service // with a parent category. $has_category = FALSE; + foreach ($available_services as $service) { if ( ! empty($service['category_id'])) @@ -72,6 +73,7 @@ // We need the uncategorized services at the end of the list, so we will use // another iteration only for the uncategorized services. $grouped_services['uncategorized'] = []; + foreach ($available_services as $service) { if ($service['category_id'] == NULL) @@ -83,7 +85,7 @@ foreach ($grouped_services as $key => $group) { $group_label = $key !== 'uncategorized' - ? $group[0]['category_name'] + ? e($group[0]['category_name']) : 'Uncategorized'; if (count($group) > 0) @@ -93,7 +95,7 @@ foreach ($group as $service) { echo ''; + . e($service['name']) . ''; } echo ''; @@ -105,7 +107,7 @@ foreach ($available_services as $service) { echo ''; + . e($service['name']) . ''; } } ?> @@ -137,8 +139,8 @@ diff --git a/application/views/components/backend_footer.php b/application/views/components/backend_footer.php index 29ff3ced..2e4d5f77 100644 --- a/application/views/components/backend_footer.php +++ b/application/views/components/backend_footer.php @@ -44,7 +44,7 @@
- ! + !
diff --git a/application/views/components/google_analytics_script.php b/application/views/components/google_analytics_script.php index a69b8e89..20f0c9d3 100644 --- a/application/views/components/google_analytics_script.php +++ b/application/views/components/google_analytics_script.php @@ -10,7 +10,7 @@ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,"script","//www.google-analytics.com/analytics.js","ga"); - ga("create", "", "auto"); + ga("create", "", "auto"); ga("send", "pageview"); @@ -21,7 +21,7 @@ window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag("js", new Date()); - gtag("config", ""); + gtag("config", ""); diff --git a/application/views/components/matomo_analytics_script.php b/application/views/components/matomo_analytics_script.php index d528c595..246a21ad 100644 --- a/application/views/components/matomo_analytics_script.php +++ b/application/views/components/matomo_analytics_script.php @@ -13,7 +13,7 @@ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function () { - var u = ""; + var u = ""; _paq.push(['setTrackerUrl', u + 'matomo.php']); _paq.push(['setSiteId', '1']); var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0]; @@ -24,7 +24,7 @@ diff --git a/application/views/emails/account_recovery_email.php b/application/views/emails/account_recovery_email.php index 3166ab85..d962bffc 100644 --- a/application/views/emails/account_recovery_email.php +++ b/application/views/emails/account_recovery_email.php @@ -16,7 +16,7 @@
@@ -37,7 +37,7 @@ | - +
diff --git a/application/views/emails/appointment_deleted_email.php b/application/views/emails/appointment_deleted_email.php index 417202ce..0fc36a03 100644 --- a/application/views/emails/appointment_deleted_email.php +++ b/application/views/emails/appointment_deleted_email.php @@ -21,7 +21,7 @@
@@ -44,7 +44,7 @@ - + @@ -52,7 +52,7 @@ - + @@ -87,7 +87,7 @@ - + @@ -98,7 +98,7 @@ - + @@ -114,7 +114,7 @@ - + @@ -122,7 +122,7 @@ - + @@ -130,7 +130,7 @@ - + @@ -138,7 +138,7 @@ - + @@ -148,7 +148,7 @@

- +

@@ -159,8 +159,8 @@ Easy!Appointments | - - + + diff --git a/application/views/emails/appointment_saved_email.php b/application/views/emails/appointment_saved_email.php index 68272a03..58780def 100644 --- a/application/views/emails/appointment_saved_email.php +++ b/application/views/emails/appointment_saved_email.php @@ -25,7 +25,7 @@
@@ -48,7 +48,7 @@ - + @@ -56,7 +56,7 @@ - + @@ -91,7 +91,7 @@ - + @@ -102,7 +102,7 @@ - + @@ -118,7 +118,7 @@ - + @@ -126,7 +126,7 @@ - + @@ -134,7 +134,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -151,8 +151,8 @@ - - + +
@@ -163,8 +163,8 @@ Easy!Appointments | - - + +