7 * @link https://www.open-emr.org
8 * @author Ranganath Pathak <pathak@scrs1.org>
9 * @copyright Copyright (c) 2018 Ranganath Pathak <pathak@scrs1.org>
10 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
13 if ($_SESSION ['language_direction'] == 'ltr') {
14 $help_icon_title = "To enable help - Go to the User Name on top right > Settings > Features > Enable Help Modal";
15 } elseif ($_SESSION ['language_direction'] == 'rtl') {
16 $help_icon_title = "To enable help - Go to the User Name on top left > Settings > Features > Enable Help Modal";
19 if ($GLOBALS['enable_help'] == 1) {
20 $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:#676666" title="' . xla("Click to view Help") . '"><i class="fa fa-question-circle" aria-hidden="true"></i></a>';
21 } elseif ($GLOBALS['enable_help'] == 2) {
22 $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:#DCD6D0 !Important" title="' . xla($help_icon_title) . '"><i class="fa fa-question-circle" aria-hidden="true"></i></a>';
23 } elseif ($GLOBALS['enable_help'] == 0) {