diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index a661e258..378c12ad 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -340,7 +340,9 @@ function getHelp($module,$helpID,$scope='') { if (!isset($module) || ($module == '') || ($module == 'main')) { $helpPath = "../help/help.inc"; if (is_file("../../help/help.inc")) $helpPath = "../../help/help.inc"; - include_once($helpPath); + if (!isset($helpArray)) { + include($helpPath); + } return $helpArray[$helpID]; } $moduleObject = new $module((($scope != '') ? $scope : 'none')); @@ -884,7 +886,7 @@ function printHelpLink($entry, $number, $module='', $scope='') { $message = $entry['Text']; // if help message contains special characters then point to help page if (!(strpos($message, '"') === false) || !(strpos($message, "'") === false) || !(strpos($message, "\n") === false)) { - $message = _('Please click on the icon to view the help text.'); + $message = _('Please click on the icon to view the help page.'); } echo " \n"; echo "  \n"; - echo ""; - echo "\"""; - echo "\n"; + printHelpLink(getHelp('', '401'), '401'); } echo ""; echo ""; @@ -1255,7 +1255,7 @@ class accountContainer { } echo "\n"; echo "\n"; - echo "\""\n"; + printHelpLink(getHelp('', '403'), '403'); echo "\n"; $this->printPageFooter(); } @@ -1371,9 +1371,7 @@ class accountContainer { echo ">" . $rdnlist[$i] . "\n"; } echo "\n"; - echo ""; - echo "\"""; - echo "\n"; + printHelpLink(getHelp('', '301'), '301'); echo "\n"; echo "\n"; // separator line