changed help links to icons

This commit is contained in:
Roland Gruber 2005-04-23 16:54:34 +00:00
parent cccbec67fd
commit 2551c825b6
1 changed files with 4 additions and 2 deletions

View File

@ -647,8 +647,10 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex
// help link
case 'help':
$helpPath = "../";
if (is_file("./help.php")) $helpPath = "./";
echo "<a href=" . $helpPath . "help.php?module=$module&amp;HelpNumber=". $input[$i][$j]['value'] . "&amp;scope=" . $scope . " target=\"help\" tabindex=$tabindexLink>" . _('Help') . "</a>\n";
if (is_file("./help.php")) $helpPath = "";
echo "<a href=" . $helpPath . "help.php?module=$module&amp;HelpNumber=". $input[$i][$j]['value'] . "&amp;scope=" . $scope . " target=\"help\" tabindex=$tabindexLink>";
echo "<img src=\"../$helpPath/graphics/help.png\" alt=\"" . _('Help') . "\" title=\"" . _('Help') . "\">";
echo "</a>\n";
$tabindexLink++;
break;
// status message