From 8e5e202a8d768423cf2c686d38056fbda0a2e5a1 Mon Sep 17 00:00:00 2001 From: Brady Miller Date: Sat, 15 Apr 2017 00:33:59 -0700 Subject: [PATCH] removed related phpmyadmin links and globals --- interface/main/left_nav.php | 57 ++++++++++++++-------------- interface/main/tabs/js/menu_analysis.js | 24 +++++------- interface/main/tabs/menu/menu_data.php | 1 - interface/usergroup/admin_frameset.php | 2 - interface/usergroup/usergroup.php | 2 - interface/usergroup/usergroup_navigation.php | 8 ---- library/globals.inc.php | 7 ---- 7 files changed, 38 insertions(+), 63 deletions(-) diff --git a/interface/main/left_nav.php b/interface/main/left_nav.php index 547900329..fe4699c06 100644 --- a/interface/main/left_nav.php +++ b/interface/main/left_nav.php @@ -8,7 +8,7 @@ use ESign\Api; * of the License, or (at your option) any later version. */ - // This provides the left navigation frame. + // This provides the left navigation frame. // Following are notes as to what else was changed for this feature: // // * interface/main/main_screen.php: the top-level frameset. @@ -92,7 +92,7 @@ use ESign\Api; require_once($GLOBALS['fileroot']."/library/lists.inc"); require_once $GLOBALS['srcdir'].'/ESign/Api.php'; require_once $GLOBALS['srcdir'].'/user.inc'; - + // Fetch user preferences saved from prior session $uspfx = substr(__FILE__, strlen($GLOBALS['fileroot']."/")) . '.'; $cb_top_chk = prevSetting($uspfx, 'cb_top', 'frame0_chk', 'checked'); @@ -235,7 +235,7 @@ use ESign\Api; function genMiscLink2($frame, $name, $level, $title, $url, $mono=false,$mouseovertext="") { global $disallowed; if (empty($disallowed[$name])) { - + $id = $name . $level; echo "
  • // User settings var usrval = jQuery.parseJSON(''); - + // tajemo work by CB 2012/01/31 12:32:57 PM dated reminders counter - function getReminderCount(){ + function getReminderCount(){ top.restoreSession(); // Send the skip_timeout_reset parameter to not count this as a manual entry in the // timing out mechanism in OpenEMR. $.post("/library/ajax/dated_reminders_counter.php", - { skip_timeout_reset: "1" }, + { skip_timeout_reset: "1" }, function(data) { $("#reminderCountSpan").html(data); - // run updater every 60 seconds - var repeater = setTimeout("getReminderCount()", 60000); + // run updater every 60 seconds + var repeater = setTimeout("getReminderCount()", 60000); }); //piggy-back on this repeater to run other background-services //this is a silent task manager that returns no output $.post("/library/ajax/execute_background_services.php", { skip_timeout_reset: "1", ajax: "1" }); - } - + } + $(document).ready(function (){ getReminderCount();// parent.loadedFrameCount += 1; for (var i = 0, len = usrval.length; i < len; i++) { if (usrval[i] != "checked") toggleFrame(i+1); } - }) + }) // end of tajemo work dated reminders counter - + // Master values for current pid and encounter. var active_pid = 0; var active_encounter = 0; @@ -507,7 +507,7 @@ function genFindBlock() { if (frame == 'RTop') topName = fname; else botName = fname; return false; } - + function loadFrame3(fname, frame, url) { var f = document.forms[0]; top.restoreSession(); @@ -640,7 +640,7 @@ function clearactive() { top.frames['RBot'].location='messages/messages.php?form_active=1'; } }); - + $(parent.Title.document.getElementById('clear_active')).hide(); $(parent.Title.document.getElementById('clear_active_group')).hide(); } @@ -720,8 +720,8 @@ function clearactive() { loadFrame('ens1','RBot', ''); } } - - + + // Call this to announce that the patient has changed. You must call this // if you change the session PID, so that the navigation frame will show the // correct patient and so that the other frame will be reloaded if it contains @@ -853,10 +853,10 @@ function isEncounterLocked( encounterId ) { }, dataType: 'json', async:false - }); + }); return encounter_locked; - // If encounter locking isn't enabled, just tell the left_nav that the encounter + // If encounter locking isn't enabled, just tell the left_nav that the encounter // isn't locked. return false; @@ -1225,7 +1225,7 @@ if (!empty($reg)) { + genMiscLink('RBot','bil','1',xl('Checkout'),'patient_file/pos_checkout.php?framed=1'); ?> - @@ -1349,7 +1349,6 @@ if (!empty($reg)) { if (acl_check('admin', 'users' )) genMiscLink('RTop','adm','0',xl('eRx Logs'),'logview/erx_logview.php'); } ?> - @@ -1364,9 +1363,9 @@ if (!empty($reg)) {