fix and chore: pinned maennchen/zipstream-php version to work with arm7 and updated...
[openemr.git] / library / display_help_icon_inc.php
blobdb2dcbe22c5daddcc6cd761d97b8d1de42a672d6
1 <?php
3 /**
4 * Help Icon
6 * @package OpenEMR
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) {
24 $help_icon = '';