3 * Dash Board Header Simple.
6 * @link http://www.open-emr.org
7 * @author Ranganath Pathak <pathak@scrs1.org>
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2018 Ranganath Pathak <pathak@scrs1.org>
10 * @copyright Copyright (c) 2018 Brady Miller <brady.g.miller@gmail.com>
11 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
16 if ($GLOBALS['enable_help'] == 1) {
17 $help_icon = '<a class="oe-pull-away oe-help-redirect" data-target="#myModal" data-toggle="modal" href="#" id="help-href" name="help-href" style="color: var(--gray)" title="' . xla("Click to view Help") . '"><i class="fa fa-question-circle" aria-hidden="true"></i></a>';
18 } elseif ($GLOBALS['enable_help'] == 2) {
19 $help_icon = '<a class="oe-pull-away oe-help-redirect" data-target="#myModal" data-toggle="modal" href="#" id="help-href" name="help-href" style="color: var(--light) !important" title="' . xla("To enable help - Go to Administration > Globals > Features > Enable Help Modal") . '"><i class="fa fa-question-circle" aria-hidden="true"></i></a>';
20 } elseif ($GLOBALS['enable_help'] == 0) {
25 if ($expandable == 1) {?
>
26 <div
class="page-header clearfix">
27 <h2 id
="header_title" class="clearfix"><span id
='header_text'><?php
echo text($header_title)?
><?php
echo " " . text(getPatientNameFirstLast($pid));?
></span
> <i id
="exp_cont_icon" class="fa <?php echo attr($expand_icon_class);?> oe-superscript-small expand_contract" title
="<?php echo attr($expand_title); ?>" aria
-hidden
="true"></i
><a href
='<?php echo attr($go_back_href)?>' onclick
='top.restoreSession()' title
="<?php echo xla("Go back
")?>" ><i id
='advanced-tooltip' class='fa fa-undo fa-2x small' aria
-hidden
='true'></i
></a
><?php
echo $help_icon; ?
>
33 <div
class="page-header clearfix">
34 <h2 id
="header_title" class="clearfix"><span id
='header_text'><?php
echo text($header_title)?
><?php
echo " " . text(getPatientNameFirstLast($pid));?
></span
> 
; 
; <a href
='<?php echo attr($go_back_href)?>' onclick
='top.restoreSession()' title
="<?php echo xla("Go back
")?>" ><i id
='advanced-tooltip' class='fa fa-undo fa-2x small' aria
-hidden
='true'></i
></a
><?php
echo $help_icon; ?
></h2
>