= e($headerTitle) ?> / = e($headerContext) ?>
= e($headerText) ?>
request()->path(); $currentModuleName = current_module_name(); if ($currentModuleName === null && preg_match('~^/modules/(?:setup|access)/([a-zA-Z0-9_-]+)~', $requestPath, $moduleMatch)) { $currentModuleName = $moduleMatch[1]; } $currentModule = $currentModuleName !== null ? modules()->get($currentModuleName) : null; $isStagingHost = defined('APP_DOMAIN_PRIMARY') && str_starts_with((string) APP_DOMAIN_PRIMARY, 'staging.'); $headerEyebrow = ''; $defaultHeaderTitle = $currentModule ? (string)($currentModule['title'] ?? $currentModuleName) : ('Nexus' . ($isStagingHost ? ' (staging)' : '')); $headerText = $currentModule ? (string)($currentModule['description'] ?? '') : ''; $headerBaseTitle = isset($GLOBALS['layout_header_base_title']) && is_string($GLOBALS['layout_header_base_title']) && trim($GLOBALS['layout_header_base_title']) !== '' ? trim($GLOBALS['layout_header_base_title']) : $defaultHeaderTitle; $headerTitle = isset($GLOBALS['layout_header_title']) && is_string($GLOBALS['layout_header_title']) && trim($GLOBALS['layout_header_title']) !== '' ? trim($GLOBALS['layout_header_title']) : $headerBaseTitle; $headerContext = isset($GLOBALS['layout_header_context']) && is_string($GLOBALS['layout_header_context']) ? trim($GLOBALS['layout_header_context']) : ''; $headerText = isset($GLOBALS['layout_header_text']) && is_string($GLOBALS['layout_header_text']) ? trim($GLOBALS['layout_header_text']) : $headerText; $headerActions = isset($GLOBALS['layout_header_actions']) && is_array($GLOBALS['layout_header_actions']) ? $GLOBALS['layout_header_actions'] : []; $auth = app()->auth(); $authUser = $auth->user(); ?>
= e($headerText) ?>