From f2bdbe0171aefc77418afbbcb19c159a90561813 Mon Sep 17 00:00:00 2001 From: Nilesh Prasad Date: Tue, 15 Aug 2017 22:52:40 +0530 Subject: [PATCH 1/2] minor ui-changes in adminsitartion and cleanup --- interface/forms/fee_sheet/new.php | 2 +- interface/forms/patient_encounter/common.php | 14 ++--- interface/usergroup/addrbook_list.php | 51 +++++++++---------- interface/usergroup/facilities.php | 48 +++++++++-------- interface/usergroup/facility_user.php | 19 ++++--- interface/usergroup/usergroup_admin.php | 44 +++++++--------- patients/messaging/messages.php | 4 +- .../document_categories/general_list.php | 10 ---- .../document_categories/general_upload.php | 11 ---- templates/documents/general_list.php | 29 ++++------- .../insurance_companies/general_edit.php | 26 +++++----- templates/insurance_numbers/general_edit.php | 14 ++--- templates/pharmacies/general_edit.php | 20 ++++---- 13 files changed, 128 insertions(+), 164 deletions(-) diff --git a/interface/forms/fee_sheet/new.php b/interface/forms/fee_sheet/new.php index b6918ffe5..39ded1a5f 100644 --- a/interface/forms/fee_sheet/new.php +++ b/interface/forms/fee_sheet/new.php @@ -1070,7 +1070,7 @@ function newEvt() {   -   +   '> diff --git a/interface/forms/patient_encounter/common.php b/interface/forms/patient_encounter/common.php index dcc58466f..1bbc70e8b 100644 --- a/interface/forms/patient_encounter/common.php +++ b/interface/forms/patient_encounter/common.php @@ -167,7 +167,7 @@ class="css_button link_submit" onClick="top.restoreSession()">
: -
@@ -178,7 +178,7 @@ class="css_button link_submit" onClick="top.restoreSession()"> - - - - + value='' title=''/> @@ -287,7 +287,7 @@ class="css_button link_submit" onClick="top.restoreSession()">> - ' title=''/> @@ -311,7 +311,7 @@ class="css_button link_submit" onClick="top.restoreSession()">
- ' - class='text' title='' />  + class='text' title='' /> + + : ' - class='text' title='' />  + class='text' title='' /> + + : ' - class='text' title='' />  + class='text' title='' /> + + : ' - class='text' title='' />  -' /> + + + + title='' />    - - - + +
@@ -181,6 +192,7 @@ class='text' title='' />&n } ?>
'>
+
@@ -191,10 +203,7 @@ class='text' title='' />&n - - - - + \ No newline at end of file diff --git a/interface/usergroup/facilities.php b/interface/usergroup/facilities.php index b0b9ae0d1..72771c0ba 100644 --- a/interface/usergroup/facilities.php +++ b/interface/usergroup/facilities.php @@ -36,6 +36,7 @@ require_once("../../library/acl.inc"); require_once("$srcdir/sql.inc"); require_once("$srcdir/formdata.inc.php"); +require_once("$srcdir/headers.inc.php"); $alertmsg = ''; @@ -98,13 +99,11 @@ ?> - - - - + - - -
- +
-   - -
+ + + +
+   + + +
-
+
+
- - - - - +
+ + + + - - + + - + @@ -198,4 +202,4 @@ - + \ No newline at end of file diff --git a/interface/usergroup/facility_user.php b/interface/usergroup/facility_user.php index 1c666bb9d..f8749f3e8 100644 --- a/interface/usergroup/facility_user.php +++ b/interface/usergroup/facility_user.php @@ -33,6 +33,7 @@ require_once("../globals.php"); +require_once("$srcdir/headers.inc.php"); require_once("$srcdir/sql.inc"); require_once("$srcdir/formdata.inc.php"); require_once("$srcdir/options.inc.php"); @@ -67,12 +68,10 @@ ?> - - - - + - @@ -138,11 +137,11 @@
-
      
+
- - - + + + " . text(xl_layout_label($layout_entry['title'])) . " "; @@ -174,4 +173,4 @@ - + \ No newline at end of file diff --git a/interface/usergroup/usergroup_admin.php b/interface/usergroup/usergroup_admin.php index 319fc8083..ee05ad0b7 100644 --- a/interface/usergroup/usergroup_admin.php +++ b/interface/usergroup/usergroup_admin.php @@ -25,7 +25,8 @@ require_once("$srcdir/sql.inc"); require_once("$srcdir/auth.inc"); require_once("$srcdir/formdata.inc.php"); -require_once ($GLOBALS['srcdir'] . "/classes/postmaster.php"); +require_once($GLOBALS['srcdir'] . "/classes/postmaster.php"); +require_once("$srcdir/headers.inc.php"); $alertmsg = ''; $bg_msg = ''; @@ -374,14 +375,11 @@ ?> + - - - - - - - + \ No newline at end of file diff --git a/patients/messaging/messages.php b/patients/messaging/messages.php index cdb313290..b197ce09a 100644 --- a/patients/messaging/messages.php +++ b/patients/messaging/messages.php @@ -634,13 +634,13 @@ class="pull-right glyphicon glyphicon-warning-sign text-danger"> -
- +
- +
" . text($fldname) . "\n"; if (is_array($fldtype)) { - echo " \n"; foreach ($fldtype as $key => $value) { if ($_GET['mode'] == "user") { if ($globalValue == $key) $globalTitle = $value; @@ -399,7 +399,7 @@ function checkBackgroundServices(){ if ($_GET['mode'] == "user") { $globalTitle = $globalValue; } - echo " \n"; } @@ -407,7 +407,7 @@ function checkBackgroundServices(){ if ($_GET['mode'] == "user") { $globalTitle = $globalValue; } - echo " \n"; } else if ($fldtype == 'pwd') { @@ -428,7 +428,7 @@ function checkBackgroundServices(){ else if ($fldtype == 'lang') { $res = sqlStatement("SELECT * FROM lang_languages ORDER BY lang_description"); - echo " \n"; while ($row = sqlFetchArray($res)) { echo "