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) 2017 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.
32 require_once("../globals.php");
34 use OpenEMR\Core\Header
;
35 use OpenEMR\Services\VersionService
;
41 <?php Header
::setupHeader(["jquery-ui","jquery-ui-darkness"]); ?
>
42 <title
><?php
echo xl("About");?
> OpenEMR
</title
>
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">
73 var registrationTranslations
= <?php
echo json_encode(array(
74 'title' => xla('OpenEMR Product Registration'),
75 'pleaseProvideValidEmail' => xla('Please provide a valid email address'),
76 'success' => xla('Success'),
77 'registeredSuccess' => xla('Your installation of OpenEMR has been registered'),
78 'submit' => xla('Submit'),
79 'noThanks' => xla('No Thanks'),
80 'registeredEmail' => xla('Registered email'),
81 'registeredId' => xla('Registered id'),
82 'genericError' => xla('Error. Try again later'),
87 var registrationConstants
= <?php
echo json_encode(array(
88 'webroot' => $GLOBALS['webroot']
93 <script type
="text/javascript" src
="<?php echo $webroot ?>/interface/product_registration/product_registration_service.js?v=<?php echo $v_js_includes; ?>"></script
>
94 <script type
="text/javascript" src
="<?php echo $webroot ?>/interface/product_registration/product_registration_controller.js?v=<?php echo $v_js_includes; ?>"></script
>
96 <script type
="text/javascript">
97 jQuery(document
).ready(function() {
98 var productRegistrationController
= new ProductRegistrationController();
99 productRegistrationController
.getProductRegistrationStatus(function(err
, data
) {
102 if (data
.statusAsString
=== 'UNREGISTERED') {
103 productRegistrationController
.showProductRegistrationModal();
104 } else if (data
.statusAsString
=== 'REGISTERED') {
105 productRegistrationController
.displayRegistrationInformationIfDivExists(data
);
112 $versionService = new VersionService();
113 $version = $versionService->fetch();
115 <body
class="body_top">
116 <div
class="container">
118 <div
class="col-xs-12 col-md-4 col-md-offset-4 text-center">
119 <div
class="page-header">
120 <h1
><?php
echo xlt("About");?
> 
;OpenEMR
</h1
>
122 <h4
><?php
echo xlt('Version Number'); ?
>: <?php
echo "v".text($openemr_version) ?
></h4
>
123 <span
class="text product-registration"><span
class="email"></span
> <span
class="id"></span
></span
><br
>
124 <?php
if (!empty($GLOBALS['support_phone_number'])) { ?
>
125 <span
class="text"><?php
echo xlt('Support Phone Number'); ?
>: <?php
echo $GLOBALS['support_phone_number'] ?
></span
><br
>
127 <a href
="<?php echo "http
://open-emr.org/wiki/index.php/OpenEMR_".attr($version->getMajor()).".".attr($version->getMinor()).".".attr($version->getPatch())."_Users_Guide"; ?>" target="_blank" class="btn btn-block btn-default"><i class="fa fa-fw fa-book"></i> <?php echo xlt('User Manual'); ?></a>
128 <?php
if (!empty($GLOBALS['online_support_link'])) { ?
>
129 <a href
='<?php echo $GLOBALS["online_support_link"]; ?>' target
="_blank" class="btn btn-default btn-block"><i
class="fa fa-fw fa-question-circle"></i
> 
;<?php
echo xlt('Online Support'); ?
></a
>
131 <a href
="../../acknowledge_license_cert.html" target
="_blank" class="btn btn-default btn-block"><i
class="fa fa-fw fa-info-circle"></i
><?php
echo xlt('Acknowledgments, Licensing and Certification'); ?
></a
>
132 <div
class="donations-needed">
133 <span
class="text"><?php
echo xlt("Please consider sending in a donation to"); ?
> OpenEMR
:</span
><br
>
134 <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
>
140 <div
class="product-registration-modal" style
="display: none">
141 <p
class="context"><?php
echo xlt("Register your installation with OEMR to receive important notifications, such as security fixes and new release announcements."); ?
></p
>
142 <input placeholder
="<?php echo xlt('email'); ?>" type
="email" class="email" style
="width: 100%; color: black" />
143 <p
class="message" style
="font-style: italic"></p
>