From 736f75d4a6e546ebe371b71d64f6f4169cf9e262 Mon Sep 17 00:00:00 2001 From: Cipher2472 Date: Sat, 21 Nov 2020 19:29:26 +0530 Subject: [PATCH] Removed old metric vitals form --- interface/forms_admin/forms_admin.php | 30 +++++++++++++-------------- library/globals.inc.php | 15 +------------- 2 files changed, 16 insertions(+), 29 deletions(-) diff --git a/interface/forms_admin/forms_admin.php b/interface/forms_admin/forms_admin.php index dd5a76865..ef109ec19 100644 --- a/interface/forms_admin/forms_admin.php +++ b/interface/forms_admin/forms_admin.php @@ -1,4 +1,4 @@ - @@ -76,7 +76,7 @@
  - '>
+ '>
@@ -94,14 +94,14 @@ if ($bigdata != false) foreach($bigdata as $registry) { - $priority_category = sqlQuery("select priority, category, nickname from registry where id=?", array($registry['id'])); + $priority_category = sqlQuery("select priority, category, nickname from registry where id=?", array($registry['id'])); ?> "; @@ -181,8 +181,8 @@ { // 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 (($fname == "vitalsM")) continue; + if (stristr($fname, ".tar.gz") || stristr($fname, ".tar") || stristr($fname, ".zip") || stristr($fname, ".gz")) $phpState = "PHP compressed"; else @@ -197,7 +197,7 @@ else $form_title = $fname; ?> - + 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( - xl('Telephone Country Code'), - 'num', - '1', // default = North America - xl('1 = North America. See http://www.wtng.info/ for a list of other country codes.') - ), 'date_display_format' => array( xl('Date Display Format'), @@ -3278,7 +3265,7 @@ ), ), - 'LIMS' => array( + 'LIMS' => array( 'lims_enabled' => array( xl('LIMS Enabled/Disabled'), 'bool',
- + - + + + ?> ".xl('DB installed').""; else echo "".xl('install DB').""; - ?> + ?> ' . xl('n/a') . ''; ?> - + - +