function showInfoText() { global $infoText; $s = ""; if (!empty($infoText)) { $s = $infoText; } else { $s = LocationHistory::getInfoText(); } if ($s && is_callable(array("ThemeConfig", "showInfoText"))) { ThemeConfig::showInfoText($s); } return $s; }