Temporarily remove

This commit is contained in:
patrick 2025-02-12 21:57:17 +00:00
parent f7481233c8
commit cac5d3f8c5

View File

@ -604,13 +604,13 @@ function send_header($title = '', $nav = null, $icon = null, $titletranslated =
echo '<h2>' . $title . '</h2>';
// if we're under /admin or /config then we want to show the ? help icon
if (substr(getcwd(), -6) == '/admin' || substr(getcwd(), -7) == '/config' || substr(getcwd(), -6) == '\admin' || substr(getcwd(), -7) == '\config') {
/*if (substr(getcwd(), -6) == '/admin' || substr(getcwd(), -7) == '/config' || substr(getcwd(), -6) == '\admin' || substr(getcwd(), -7) == '\config') {
if (get_value_from_array($_SERVER, 'REDIRECT_SCRIPT_URL'))
$fname = substr($_SERVER['REDIRECT_SCRIPT_URL'], strlen($config['SFIABDIRECTORY']) + 1);
else
$fname = substr($_SERVER['PHP_SELF'], strlen($config['SFIABDIRECTORY']) + 1);
echo "</td><td align=\"right\"><a target=\"_sfiabhelp\" href=\"http://www.sfiab.ca/wiki/index.php/Help_$fname\"><img border=\"0\" src=\"" . $config['SFIABDIRECTORY'] . '/images/32/help_science_ation.' . $config['icon_extension'] . '"></a>';
}
}*/
'</td></tr>';
echo '</table>';