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
9 * @link http://www.open-emr.org
10 * @author Terry Hill <terry@lilysystems.com>
11 * @author Brady Miller <brady.g.miller@gmail.com>
12 * @copyright Copyright (c) 2016 Terry Hill <terry@lillysystems.com>
13 * @copyright Copyright (c) 2017 Brady Miller <brady.g.miller@gmail.com>
14 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
18 require_once("../globals.php");
20 use OpenEMR\Core\Header
;
21 use OpenEMR\Services\VersionService
;
27 <?php Header
::setupHeader(["jquery-ui","jquery-ui-darkness"]); ?
>
28 <title
><?php
echo xlt("About");?
> OpenEMR
</title
>
35 .donations
-needed a
, .donations
-needed a
:visited
,
36 .donations
-needed a
:active
{
39 .donations
-needed a
.btn
{
46 .donations
-needed a
.btn
:hover
{
47 background
-color
: #c9302c;
50 .donations
-needed
.btn
{
52 border
: 2px solid
#c9302c;
54 background
-color
: transparent
;
58 <script type
="text/javascript">
59 var registrationTranslations
= <?php
echo json_encode(array(
60 'title' => xla('OpenEMR Product Registration'),
61 'pleaseProvideValidEmail' => xla('Please provide a valid email address'),
62 'success' => xla('Success'),
63 'registeredSuccess' => xla('Your installation of OpenEMR has been registered'),
64 'submit' => xla('Submit'),
65 'noThanks' => xla('No Thanks'),
66 'registeredEmail' => xla('Registered email'),
67 'registeredId' => xla('Registered id'),
68 'genericError' => xla('Error. Try again later'),
73 var registrationConstants
= <?php
echo json_encode(array(
74 'webroot' => $GLOBALS['webroot']
79 <script type
="text/javascript" src
="<?php echo $webroot ?>/interface/product_registration/product_registration_service.js?v=<?php echo $v_js_includes; ?>"></script
>
80 <script type
="text/javascript" src
="<?php echo $webroot ?>/interface/product_registration/product_registration_controller.js?v=<?php echo $v_js_includes; ?>"></script
>
82 <script type
="text/javascript">
83 jQuery(document
).ready(function() {
84 var productRegistrationController
= new ProductRegistrationController();
85 productRegistrationController
.getProductRegistrationStatus(function(err
, data
) {
88 if (data
.statusAsString
=== 'UNREGISTERED') {
89 productRegistrationController
.showProductRegistrationModal();
90 } else if (data
.statusAsString
=== 'REGISTERED') {
91 productRegistrationController
.displayRegistrationInformationIfDivExists(data
);
98 $versionService = new VersionService();
99 $version = $versionService->fetch();
101 <body
class="body_top">
102 <div
class="container">
104 <div
class="col-xs-12 col-md-4 col-md-offset-4 text-center">
105 <div
class="page-header">
106 <h1
><?php
echo xlt("About");?
> 
;OpenEMR
</h1
>
108 <h4
><?php
echo xlt('Version Number'); ?
>: <?php
echo "v".text($openemr_version) ?
></h4
>
109 <span
class="text product-registration"><span
class="email"></span
> <span
class="id"></span
></span
><br
>
110 <?php
if (!empty($GLOBALS['support_phone_number'])) { ?
>
111 <span
class="text"><?php
echo xlt('Support Phone Number'); ?
>: <?php
echo text($GLOBALS['support_phone_number']); ?
></span
><br
>
113 <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>
114 <?php
if (!empty($GLOBALS['online_support_link'])) { ?
>
115 <a href
='<?php echo attr($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
>
117 <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
>
118 <div
class="donations-needed">
119 <span
class="text"><?php
echo xlt("Please consider sending in a donation to"); ?
> OpenEMR
:</span
><br
>
120 <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
>
126 <div
class="product-registration-modal" style
="display: none">
127 <p
class="context"><?php
echo xlt("Register your installation with OEMR to receive important notifications, such as security fixes and new release announcements."); ?
></p
>
128 <input placeholder
="<?php echo xla('email'); ?>" type
="email" class="email" style
="width: 100%; color: black" />
129 <p
class="message" style
="font-style: italic"></p
>