fixed help links in parseHTML() if called from templates/
This commit is contained in:
parent
82b4345780
commit
f516106e4a
|
@ -646,7 +646,9 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex
|
|||
break;
|
||||
// help link
|
||||
case 'help':
|
||||
echo "<a href=../help.php?module=$module&HelpNumber=". $input[$i][$j]['value'] . "&scope=" . $scope . " target=\"help\" tabindex=$tabindexLink>" . _('Help') . "</a>\n";
|
||||
$helpPath = "../";
|
||||
if (is_file("./help.php")) $helpPath = "./";
|
||||
echo "<a href=" . $helpPath . "help.php?module=$module&HelpNumber=". $input[$i][$j]['value'] . "&scope=" . $scope . " target=\"help\" tabindex=$tabindexLink>" . _('Help') . "</a>\n";
|
||||
$tabindexLink++;
|
||||
break;
|
||||
// status message
|
||||
|
|
Loading…
Reference in New Issue