From 4bc27dc169d9d268503d2c321e48c059b41883d4 Mon Sep 17 00:00:00 2001 From: peitra Date: Wed, 22 Jul 2020 23:07:13 +0100 Subject: [PATCH 1/3] Diable Old Metric vitals Form --- library/globals.inc.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/library/globals.inc.php b/library/globals.inc.php index ad28a40c3..b270cdcbb 100755 --- a/library/globals.inc.php +++ b/library/globals.inc.php @@ -431,16 +431,9 @@ ), '1', xl('Applies to Vitals form') - ) - , - 'disable_deprecated_metrics_form' => array( - xl('Disable Old Metric Vitals Form'), - 'bool', // data type - '1', // default = true - xl('This was the older metric-only Vitals form, now deprecated.') - ), - - 'phone_country_code' => array( + ) , + + 'phone_country_code' => array( xl('Telephone Country Code'), 'num', '1', // default = North America From 17d69cc2e98977dc3acff6bbee206137aff6b896 Mon Sep 17 00:00:00 2001 From: peitra Date: Wed, 12 Aug 2020 12:49:32 +0100 Subject: [PATCH 2/3] u --- interface/forms_admin/forms_admin.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/interface/forms_admin/forms_admin.php b/interface/forms_admin/forms_admin.php index 52e73bbbf..d3cae0572 100644 --- a/interface/forms_admin/forms_admin.php +++ b/interface/forms_admin/forms_admin.php @@ -181,8 +181,6 @@ { // added 8-2009 by BM - do not show the metric vitals form as option since deprecated // also added a toggle in globals.php in case user wants the option to add this deprecated form - if (($fname == "vitalsM") && ($GLOBALS['disable_deprecated_metrics_form'])) continue; - if (stristr($fname, ".tar.gz") || stristr($fname, ".tar") || stristr($fname, ".zip") || stristr($fname, ".gz")) $phpState = "PHP compressed"; else From e2bdbedeaca2ba3d8ae9630aa8c2f4026b5330b2 Mon Sep 17 00:00:00 2001 From: peitra Date: Sun, 16 Aug 2020 14:14:06 +0100 Subject: [PATCH 3/3] comment removed --- interface/forms_admin/forms_admin.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/interface/forms_admin/forms_admin.php b/interface/forms_admin/forms_admin.php index d3cae0572..7fafb17d5 100644 --- a/interface/forms_admin/forms_admin.php +++ b/interface/forms_admin/forms_admin.php @@ -179,8 +179,6 @@ foreach ( $inDir as $fname ) { - // added 8-2009 by BM - do not show the metric vitals form as option since deprecated - // also added a toggle in globals.php in case user wants the option to add this deprecated form if (stristr($fname, ".tar.gz") || stristr($fname, ".tar") || stristr($fname, ".zip") || stristr($fname, ".gz")) $phpState = "PHP compressed"; else