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 ToggleButton */ public function section_66660c065b7158e0(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $output0 = ''; $output0 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper $renderChildrenClosure2 = function() use ($renderingContext) { return NULL; }; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $array4 = [ '0' => '!', '1' => $renderingContext->getVariableProvider()->getByPath('enabled'), ]; $expression5 = function($context) {return !(TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node1"]));}; $arguments3 = [ 'then' => 1, 'else' => 0, 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression5(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array4)), $renderingContext ), ]; $arguments1 = [ 'name' => 'disabled', 'value' => TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments3, static fn() => '', $renderingContext) , ]; $renderChildrenClosure2 = ($arguments1['value'] !== null) ? function() use ($arguments1) { return $arguments1['value']; } : $renderChildrenClosure2; $output0 .= 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($arguments1, $renderChildrenClosure2, $renderingContext)]); $output0 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper $renderChildrenClosure7 = function() use ($renderingContext) { return NULL; }; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $array9 = [ '0' => $renderingContext->getVariableProvider()->getByPath('disabled'), ]; $expression10 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments8 = [ 'then' => 'disabled', 'else' => NULL, 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression10(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array9)), $renderingContext ), ]; $arguments6 = [ 'name' => 'disabledAttr', 'value' => TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments8, static fn() => '', $renderingContext) , ]; $renderChildrenClosure7 = ($arguments6['value'] !== null) ? function() use ($arguments6) { return $arguments6['value']; } : $renderChildrenClosure7; $output0 .= 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($arguments6, $renderChildrenClosure7, $renderingContext)]); $output0 .= ' '; return $output0; } /** * section Icon */ public function section_9bb494f64715d1fe(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $output14 = ''; $output14 .= ' '; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\VariableViewHelper $renderChildrenClosure16 = function() use ($renderingContext) { return NULL; }; // Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper $array18 = [ '0' => $renderingContext->getVariableProvider()->getByPath('disabled'), ]; $expression19 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);}; $arguments17 = [ 'then' => 'overlay-readonly', 'else' => $renderingContext->getVariableProvider()->getByPath('null'), 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression19(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array18)), $renderingContext ), ]; $arguments15 = [ 'name' => 'overlay', 'value' => TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments17, static fn() => '', $renderingContext) , ]; $renderChildrenClosure16 = ($arguments15['value'] !== null) ? function() use ($arguments15) { return $arguments15['value']; } : $renderChildrenClosure16; $output14 .= 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($arguments15, $renderChildrenClosure16, $renderingContext)]); $output14 .= ' '; // Rendering ViewHelper TYPO3\CMS\Core\ViewHelpers\IconViewHelper $renderChildrenClosure21 = function() use ($renderingContext) { return NULL; }; $arguments20 = [ 'size' => 'small', 'state' => 'default', 'title' => NULL, 'identifier' => $renderingContext->getVariableProvider()->getByPath('identifier'), 'alternativeMarkupIdentifier' => 'inline', 'overlay' => $renderingContext->getVariableProvider()->getByPath('overlay'), ]; $output14 .= TYPO3\CMS\Core\ViewHelpers\IconViewHelper::renderStatic($arguments20, $renderChildrenClosure21, $renderingContext); $output14 .= ' '; return $output14; } /** * Main Render function */ public function render(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $output22 = ''; $output22 .= '
'typo3-in-workspace', 'else' => NULL, 'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean( $expression25(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array24)), $renderingContext ), ]; $output22 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments23, static fn() => '', $renderingContext) ; $output22 .= '"> '; // Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper $renderChildrenClosure27 = function() use ($renderingContext) { return NULL; }; // Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper $renderChildrenClosure30 = function() use ($renderingContext) { return NULL; }; $arguments29 = [ 'id' => NULL, 'default' => NULL, 'arguments' => NULL, 'extensionName' => NULL, 'languageKey' => NULL, 'alternativeLanguageKeys' => NULL, 'key' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.minMaxModuleMenu', ]; $array28 = [ 'icon' => 'actions-menu', 'enabled' => $renderingContext->getVariableProvider()->getByPath('hasModules'), 'classes' => 'topbar-button-modulemenu t3js-topbar-button-modulemenu', 'title' => TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper::renderStatic($arguments29, $renderChildrenClosure30, $renderingContext), ]; $arguments26 = [ 'partial' => NULL, 'delegate' => NULL, 'optional' => false, 'default' => NULL, 'contentAs' => NULL, 'debug' => true, 'section' => 'ToggleButton', 'arguments' => $array28, ]; $output22 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments26, $renderChildrenClosure27, $renderingContext); $output22 .= '
'; $output22 .= ''; $output22 .= ' '; $output22 .= ''; $output22 .= ' '; return $output22; } } #