From ba2406ce00bb4e0ea058f5231d379af3d681757d Mon Sep 17 00:00:00 2001 From: teryhill Date: Thu, 28 Apr 2016 23:36:19 -0400 Subject: [PATCH] Created the About page, take 2. The About link was added to top right (in place of the Manual link). The 'Online Support' and 'Manual' links were migrated to the About popup. The version information was migrated from the login screen to the About popup. A option to show a support phone number was added to Globals that will show in the About popup. --- interface/login/login.php | 2 +- interface/main/about_page.php | 52 +++++++++++++++++++++++++++++++++++++++++++ interface/main/left_nav.php | 4 ---- interface/main/main_title.php | 10 +++++++-- library/globals.inc.php | 7 ++++++ 5 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 interface/main/about_page.php diff --git a/interface/login/login.php b/interface/login/login.php index 1f00326eb..e3ca60964 100644 --- a/interface/login/login.php +++ b/interface/login/login.php @@ -211,7 +211,7 @@ $ip=$_SERVER['REMOTE_ADDR'];
- | +
diff --git a/interface/main/about_page.php b/interface/main/about_page.php new file mode 100644 index 000000000..70c147be2 --- /dev/null +++ b/interface/main/about_page.php @@ -0,0 +1,52 @@ + + * + * LICENSE: This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 3 + * of the License, or (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see ;. + * + * @package OpenEMR + * @author Terry Hill + * @link http://www.open-emr.org + * + * Please help the overall project by sending changes you make to the author and to the OpenEMR community. + * + */ + +$fake_register_globals=false; +$sanitize_all_escapes=true; + +require_once("../globals.php"); +?> + + + + + +
+

+ :

+ + :

+ +
+

+ +

+ + + + diff --git a/interface/main/left_nav.php b/interface/main/left_nav.php index 688bccb25..1767d0f87 100644 --- a/interface/main/left_nav.php +++ b/interface/main/left_nav.php @@ -1719,10 +1719,6 @@ if (!$GLOBALS['athletic_team']) { } ?> - - - - diff --git a/interface/main/main_title.php b/interface/main/main_title.php index 0739adb5d..57389a816 100644 --- a/interface/main/main_title.php +++ b/interface/main/main_title.php @@ -54,6 +54,13 @@ function toencounter(rawdata) { top.Main.location.href = '../patient_file/encounter/patient_encounter.php?set_encounter=' + enc; } + +function bpopup() { + top.restoreSession(); + window.open('../main/about_page.php','_blank', 'width=350,height=250,resizable=1'); + return false; +} + function showhideMenu() { var m = parent.document.getElementById("fsbody"); var targetWidth = ''; @@ -117,8 +124,7 @@ $res = sqlQuery("select * from users where username='".$_SESSION{"authUser"}."'" +   diff --git a/library/globals.inc.php b/library/globals.inc.php index 8716c38f3..5b482e854 100644 --- a/library/globals.inc.php +++ b/library/globals.inc.php @@ -261,6 +261,13 @@ $GLOBALS_METADATA = array( xl('URL for OpenEMR support.') ), + 'support_phone_number' => array( + xl('Support Phone Number'), + 'text', + '', + xl('Phone Number for Vendor Support that Appears on the About Page.') + ), + 'drop_bottom' => array( xl('Remove Bottom Pane'), 'bool', // data type -- 2.11.4.GIT
 |  - -