5 * This Displays an About page for OpenEMR Displaying Version Number, Support Phone Number
6 * If it have been entered in Globals along with the Manual and On Line Support Links
8 * Copyright (C) 2016 Terry Hill <terry@lillysystems.com>
9 * Copyright (C) 2016 Brady Miller <brady.g.miller@gmail.com>
11 * LICENSE: This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 3
14 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
23 * @author Terry Hill <terry@lilysystems.com>
24 * @author Brady Miller <brady.g.miller@gmail.com>
25 * @link http://www.open-emr.org
27 * Please help the overall project by sending changes you make to the author and to the OpenEMR community.
31 $fake_register_globals=false;
32 $sanitize_all_escapes=true;
34 require_once("../globals.php");
38 <link rel
="stylesheet" href
="<?php echo $GLOBALS['assets_static_relative']; ?>/bootstrap-3-3-4/dist/css/bootstrap.min.css">
39 <link rel
="stylesheet" href
="<?php echo $GLOBALS['assets_static_relative'] ?>/jquery-ui-1-11-4/themes/ui-darkness/jquery-ui.min.css" />
40 <link rel
="stylesheet" href
="<?php echo $GLOBALS['assets_static_relative']; ?>/font-awesome-4-6-3/css/font-awesome.min.css">
41 <link rel
="stylesheet" href
="<?php echo $css_header; ?>" type
="text/css">
49 .donations
-needed a
, .donations
-needed a
:visited
,
50 .donations
-needed a
:active
{
53 .donations
-needed a
.btn
{
60 .donations
-needed a
.btn
:hover
{
61 background
-color
: #c9302c;
64 .donations
-needed
.btn
{
66 border
: 2px solid
#c9302c;
68 background
-color
: transparent
;
72 <script type
="text/javascript" src
="<?php echo $GLOBALS['assets_static_relative'] ?>/jquery-min-2-2-0/index.js"></script
>
73 <script type
="text/javascript" src
="<?php echo $GLOBALS['assets_static_relative']; ?>/bootstrap-3-3-4/dist/js/bootstrap.min.js"></script
>
74 <script type
="text/javascript" src
="<?php echo $GLOBALS['assets_static_relative'] ?>/jquery-ui-1-11-4/jquery-ui.min.js"></script
>
76 <script type
="text/javascript">
77 var registrationTranslations
= <?php
echo json_encode(array(
78 'title' => xla('OpenEMR Product Registration'),
79 'pleaseProvideValidEmail' => xla('Please provide a valid email address'),
80 'success' => xla('Success'),
81 'registeredSuccess' => xla('Your installation of OpenEMR has been registered'),
82 'submit' => xla('Submit'),
83 'noThanks' => xla('No Thanks'),
84 'registeredEmail' => xla('Registered email'),
85 'registeredId' => xla('Registered id'),
86 'genericError' => xla('Error. Try again later'),
87 'closeTooltip' => xla('Close')
91 var registrationConstants
= <?php
echo json_encode(array(
92 'webroot' => $GLOBALS['webroot']
97 <script type
="text/javascript" src
="<?php echo $webroot ?>/interface/product_registration/product_registration_service.js?v=<?php echo $v_js_includes; ?>"></script
>
98 <script type
="text/javascript" src
="<?php echo $webroot ?>/interface/product_registration/product_registration_controller.js?v=<?php echo $v_js_includes; ?>"></script
>
100 <script type
="text/javascript">
101 jQuery(document
).ready(function() {
102 var productRegistrationController
= new ProductRegistrationController();
103 productRegistrationController
.getProductRegistrationStatus(function(err
, data
) {
106 if (data
.status
=== 'UNREGISTERED') {
107 productRegistrationController
.showProductRegistrationModal();
108 } else if (data
.status
=== 'REGISTERED') {
109 productRegistrationController
.displayRegistrationInformationIfDivExists(data
);
116 <body
class="body_top">
117 <div style
="text-align: center;">
118 <span
class="title"><?php
echo xlt('About'); ?
> OpenEMR
</span
><br
><br
>
119 <span
class="text"><?php
echo xlt('Version Number'); ?
>: <?php
echo "v".text($openemr_version) ?
></span
><br
><br
>
120 <span
class="text product-registration"><span
class="email"></span
> <span
class="id"></span
></span
><br
><br
>
121 <?php
if (!empty($GLOBALS['support_phone_number'])) { ?
>
122 <span
class="text"><?php
echo xlt('Support Phone Number'); ?
>: <?php
echo $GLOBALS['support_phone_number'] ?
></span
><br
><br
>
125 <a href
="<?php echo "http
://open-emr.org/wiki/index.php/OpenEMR_".attr($v_major).".".attr($v_minor).".".attr($v_patch)."_Users_Guide"; ?>" target="_blank" class="css_button"><span><?php echo xlt('User Manual'); ?></span></a><br><br>
126 <?php
if (!empty($GLOBALS['online_support_link'])) { ?
>
127 <a href
='<?php echo $GLOBALS["online_support_link"]; ?>' target
="_blank" class="css_button"><span
><?php
echo xlt('Online Support'); ?
></span
></a
><br
><br
>
129 <a href
="../../acknowledge_license_cert.html" target
="_blank" class="css_button"><span
><?php
echo xlt('Acknowledgments, Licensing and Certification'); ?
></span
></a
><br
>
130 <div
class="donations-needed">
131 <span
class="text"><?php
echo xlt("Please consider sending in a donation to"); ?
> OpenEMR
:</span
><br
>
132 <a href
="http://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=V6EVVTYYK264C" target
="_blank" class="btn btn-lg btn-block"><i
class="fa fa-2x fa-heart"></i
><br
/><?php
echo xlt("DONATE NOW!"); ?
></a
>
135 <div
class="product-registration-modal" style
="display: none">
136 <p
class="context"><?php
echo xlt("Register your installation with OEMR to receive important notifications, such as security fixes and new release announcements."); ?
></p
>
137 <input placeholder
="<?php echo xlt('email'); ?>" type
="email" class="email" style
="width: 100%; color: black" />
138 <p
class="message" style
="font-style: italic"></p
>