getViewHelperResolver()->addNamespaces(array ( 'core' => array ( 0 => 'TYPO3\\CMS\\Core\\ViewHelpers', ), 'f' => array ( 0 => 'TYPO3Fluid\\Fluid\\ViewHelpers', 1 => 'TYPO3\\CMS\\Fluid\\ViewHelpers', ), 'formvh' => array ( 0 => 'TYPO3\\CMS\\Form\\ViewHelpers', ), 'sit' => array ( 0 => 'SJBR\\StaticInfoTables\\ViewHelpers', ), 'be' => array ( 0 => 'TYPO3\\CMS\\Backend\\ViewHelpers', ), )); } /** * section Menubar */ public function section_0ad4855ab1331bc4(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $output0 = ''; $output0 .= ' '; return $output0; } /** * section Menu */ public function section_6c179d8fa93a09ae(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $output26 = ''; $output26 .= ' '; return $output26; } /** * section Button */ public function section_896c94ff41e887f0(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $output39 = ''; $output39 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper $renderChildrenClosure41 = function() use ($renderingContext) { return NULL; }; $arguments40 = [ 'name' => 'moduleTitle', 'value' => '', ]; $renderChildrenClosure41 = ($arguments40['value'] !== null) ? function() use ($arguments40) { return $arguments40['value']; } : $renderChildrenClosure41; $output39 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper::renderStatic($arguments40, $renderChildrenClosure41, $renderingContext)]); $output39 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $array43 = [ '0' => $renderingContext->getVariableProvider()->getByPath('module.title'), ]; $expression44 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments42 = [ 'then' => NULL, 'else' => NULL, 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression44(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array43)), $renderingContext ), '__then' => function() use ($renderingContext) { $output45 = ''; $output45 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper $renderChildrenClosure47 = function() use ($renderingContext) { return NULL; }; // Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper $renderChildrenClosure49 = function() use ($renderingContext) { return NULL; }; $arguments48 = [ 'id' => NULL, 'arguments' => NULL, 'extensionName' => NULL, 'languageKey' => NULL, 'alternativeLanguageKeys' => NULL, 'key' => $renderingContext->getVariableProvider()->getByPath('module.title'), 'default' => $renderingContext->getVariableProvider()->getByPath('module.title'), ]; $arguments46 = [ 'name' => 'moduleTitle', 'value' => TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper::renderStatic($arguments48, $renderChildrenClosure49, $renderingContext), ]; $renderChildrenClosure47 = ($arguments46['value'] !== null) ? function() use ($arguments46) { return $arguments46['value']; } : $renderChildrenClosure47; $output45 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper::renderStatic($arguments46, $renderChildrenClosure47, $renderingContext)]); $output45 .= ' '; return $output45; }, ]; $output39 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments42, static fn() => '', $renderingContext) ; $output39 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper $renderChildrenClosure51 = function() use ($renderingContext) { return NULL; }; $arguments50 = [ 'name' => 'buttonTitle', 'value' => $renderingContext->getVariableProvider()->getByPath('moduleTitle'), ]; $renderChildrenClosure51 = ($arguments50['value'] !== null) ? function() use ($arguments50) { return $arguments50['value']; } : $renderChildrenClosure51; $output39 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper::renderStatic($arguments50, $renderChildrenClosure51, $renderingContext)]); $output39 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $array53 = [ '0' => $renderingContext->getVariableProvider()->getByPath('module.shortDescription'), ]; $expression54 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments52 = [ 'then' => NULL, 'else' => NULL, 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression54(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array53)), $renderingContext ), '__then' => function() use ($renderingContext) { $output55 = ''; $output55 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper $renderChildrenClosure57 = function() use ($renderingContext) { return NULL; }; // Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper $renderChildrenClosure59 = function() use ($renderingContext) { return NULL; }; $arguments58 = [ 'id' => NULL, 'arguments' => NULL, 'extensionName' => NULL, 'languageKey' => NULL, 'alternativeLanguageKeys' => NULL, 'key' => $renderingContext->getVariableProvider()->getByPath('module.shortDescription'), 'default' => $renderingContext->getVariableProvider()->getByPath('module.shortDescription'), ]; $arguments56 = [ 'name' => 'buttonTitle', 'value' => TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper::renderStatic($arguments58, $renderChildrenClosure59, $renderingContext), ]; $renderChildrenClosure57 = ($arguments56['value'] !== null) ? function() use ($arguments56) { return $arguments56['value']; } : $renderChildrenClosure57; $output55 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper::renderStatic($arguments56, $renderChildrenClosure57, $renderingContext)]); $output55 .= ' '; return $output55; }, ]; $output39 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments52, static fn() => '', $renderingContext) ; $output39 .= ' <'; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $array61 = [ '0' => $renderingContext->getVariableProvider()->getByPath('module.shouldBeLinked'), ]; $expression62 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments60 = [ 'then' => 'a', 'else' => 'button', 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression62(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array61)), $renderingContext ), ]; $output39 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments60, static fn() => '', $renderingContext) ; $output39 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $array64 = [ '0' => $renderingContext->getVariableProvider()->getByPath('module.shouldBeLinked'), ]; $expression65 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments63 = [ 'then' => NULL, 'else' => NULL, 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression65(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array64)), $renderingContext ), '__then' => function() use ($renderingContext) { $output66 = ''; $output66 .= ' href="'; // Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\Be\UriViewHelper $renderChildrenClosure68 = function() use ($renderingContext) { return NULL; }; $arguments67 = [ 'parameters' => [], 'referenceType' => 'absolute', 'route' => $renderingContext->getVariableProvider()->getByPath('module.identifier'), ]; $output66 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [TYPO3\CMS\Fluid\ViewHelpers\Be\UriViewHelper::renderStatic($arguments67, $renderChildrenClosure68, $renderingContext)]); $output66 .= '" data-moduleroute-identifier="'; $output66 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [$renderingContext->getVariableProvider()->getByPath('module.identifier')]); $output66 .= '" '; return $output66; }, ]; $output39 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments63, static fn() => '', $renderingContext) ; $output39 .= ' role="menuitem" title="'; $output39 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [$renderingContext->getVariableProvider()->getByPath('buttonTitle')]); $output39 .= '" class="modulemenu-action" tabindex="'; $output39 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [$renderingContext->getVariableProvider()->getByPath('tabIndex')]); $output39 .= '" data-modulemenu-identifier="'; $output39 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [$renderingContext->getVariableProvider()->getByPath('module.identifier')]); $output39 .= '" data-modulemenu-collapsible="'; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $array70 = [ '0' => $renderingContext->getVariableProvider()->getByPath('showChildren'), ]; $expression71 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments69 = [ 'then' => 'true', 'else' => 'false', 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression71(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array70)), $renderingContext ), ]; $output39 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments69, static fn() => '', $renderingContext) ; $output39 .= '" '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $output73 = ''; $output73 .= 'aria-haspopup="true" aria-expanded="'; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $array75 = [ '0' => $renderingContext->getVariableProvider()->getByPath('module.collapsed'), ]; $expression76 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments74 = [ 'then' => 'false', 'else' => 'true', 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression76(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array75)), $renderingContext ), ]; $output73 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments74, static fn() => '', $renderingContext) ; $output73 .= '"'; $array77 = [ '0' => $renderingContext->getVariableProvider()->getByPath('showChildren'), ]; $expression78 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments72 = [ 'then' => $output73, 'else' => NULL, 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression78(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array77)), $renderingContext ), ]; $output39 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments72, static fn() => '', $renderingContext) ; $output39 .= ' > '; $output39 .= call_user_func_array( function ($var) { return (is_string($var) || (is_object($var) && method_exists($var, '__toString')) ? htmlspecialchars((string) $var, ENT_QUOTES) : $var); }, [$renderingContext->getVariableProvider()->getByPath('moduleTitle')]); $output39 .= ' $renderingContext->getVariableProvider()->getByPath('module.shouldBeLinked'), ]; $expression83 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments81 = [ 'then' => 'a', 'else' => 'button', 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression83(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array82)), $renderingContext ), ]; $output39 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments81, static fn() => '', $renderingContext) ; $output39 .= '> '; return $output39; } /** * Main Render function */ public function render(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $output84 = ''; $output84 .= ' '; $output84 .= ''; $output84 .= ' '; $output84 .= ''; $output84 .= ' '; $output84 .= ''; $output84 .= ' '; return $output84; } } #