X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fhelp.php;h=99671fbece74f26eb7b7e3057eb99d7ab0bec777;hb=3a85cfb8d54434a889f7782b0d79985408f965d0;hp=5b43efa665f16a9c4cf8a201e99a215f3e9ac43e;hpb=f91f8bd8ca314b1453643f97a598620f9553ef14;p=squirrelmail.git diff --git a/src/help.php b/src/help.php index 5b43efa6..99671fbe 100644 --- a/src/help.php +++ b/src/help.php @@ -102,8 +102,8 @@ echo html_tag( 'table', '', 'center', '', 'width="90%" cellpadding="0" cellspaci html_tag( 'tr' ) . html_tag( 'td' ); -if (isset($HTTP_REFERER)) { - $ref = strtolower($HTTP_REFERER); +if (isset($_SERVER['HTTP_REFERER'])) { + $ref = strtolower($_SERVER['HTTP_REFERER']); if (strpos($ref, 'src/compose')){ $context = 'compose'; } else if (strpos($ref, 'src/addr')){ @@ -199,7 +199,7 @@ if ($help_exists == true) { } echo '' . _("Table of Contents") . ''; if ($chapter >= count($helpdir)){ - echo ' | ' . _("Next") . ''; + echo ' | ' . _("Next") . ''; } else { echo ' | ' . _("Next") . '';