isLoggedIn(); $PageNameInLC = strtolower($AF->getPageName()); # load main nav $PrimaryNavItems = array_flip($IntCfg->getMenuItems("MainNavItems")); # give plugins etc a chance to modify main nav $SignalResult = $AF->SignalEvent( "EVENT_MODIFY_PRIMARY_NAV", ["NavItems" => $PrimaryNavItems] ); $PrimaryNavItems = $SignalResult["NavItems"]; # set character set for interface $AF->addMetaTag(["charset" => $IntCfg->getString("DefaultCharacterSet")]); # set logo area content $LogoImageIds = $IntCfg->getArray("LogoImage"); if (count($LogoImageIds) > 0) { $LogoImageId = array_pop($LogoImageIds); $LogoImage = new Image($LogoImageId); $LogoAreaContent = "getFullPathForOriginalImage()."\" alt=\"" .htmlspecialchars($LogoImage->altText())."\">"; } else { $PortalName = trim($IntCfg->getString("PortalName")); if (strlen($PortalName) > 0) { $LogoAreaContent = $PortalName; } else { $LogoAreaContent = "gUIFile("MetavusLogo.svg")."\" alt=\"\">"; } } # ----- MAIN ----------------------------------------------------------------- # (NOTE: there must not be any whitespace in HTML output before the DOCTYPE) ?>
includeUIFile($InterfaceFiles); ?> SignalEvent("EVENT_IN_HTML_HEADER"); ?>
Skip to main content