818 lines
26 KiB
PHP
818 lines
26 KiB
PHP
<?php
|
|
class partial_Backend_ModuleMenu_abd71cae766370cc extends \TYPO3Fluid\Fluid\Core\Compiler\AbstractCompiledTemplate {
|
|
public function getLayoutName(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
|
|
return (string)'';
|
|
}
|
|
public function hasLayout() {
|
|
return false;
|
|
}
|
|
public function addCompiledNamespaces(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
|
|
$renderingContext->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 .= '
|
|
<ul
|
|
role="menubar"
|
|
aria-orientation="vertical"
|
|
aria-label="';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure2 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments1 = [
|
|
'id' => NULL,
|
|
'default' => NULL,
|
|
'arguments' => NULL,
|
|
'extensionName' => NULL,
|
|
'languageKey' => NULL,
|
|
'alternativeLanguageKeys' => NULL,
|
|
'key' => 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:modulemenu.label',
|
|
];
|
|
|
|
$output0 .= 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\TranslateViewHelper::renderStatic($arguments1, $renderChildrenClosure2, $renderingContext)]);
|
|
|
|
$output0 .= '"
|
|
class="modulemenu-group-container"
|
|
>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
|
|
$renderChildrenClosure4 = function() use ($renderingContext) {
|
|
$output5 = '';
|
|
|
|
$output5 .= '
|
|
<li
|
|
role="menuitem"
|
|
data-modulemenu-level="1"
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
$output7 = '';
|
|
|
|
$output7 .= 'class="modulemenu-group modulemenu-group-';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array9 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('module.collapsed'),
|
|
];
|
|
|
|
$expression10 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments8 = [
|
|
'then' => 'collapsed',
|
|
'else' => 'expanded',
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression10(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array9)),
|
|
$renderingContext
|
|
),
|
|
];
|
|
|
|
$output7 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments8, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output7 .= '"';
|
|
|
|
$array11 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('module.subModules'),
|
|
];
|
|
|
|
$expression12 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments6 = [
|
|
'then' => $output7,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression12(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array11)),
|
|
$renderingContext
|
|
),
|
|
];
|
|
|
|
$output5 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments6, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output5 .= '
|
|
>
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure14 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array17 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('iterator.isFirst'),
|
|
];
|
|
|
|
$expression18 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments16 = [
|
|
'then' => 0,
|
|
'else' => -1,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression18(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array17)),
|
|
$renderingContext
|
|
),
|
|
];
|
|
|
|
$array15 = [
|
|
'module' => $renderingContext->getVariableProvider()->getByPath('module'),
|
|
'showChildren' => $renderingContext->getVariableProvider()->getByPath('module.subModules'),
|
|
'tabIndex' => TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments16, static fn() => '', $renderingContext)
|
|
,
|
|
];
|
|
|
|
$arguments13 = [
|
|
'partial' => NULL,
|
|
'delegate' => NULL,
|
|
'optional' => false,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'section' => 'Button',
|
|
'arguments' => $array15,
|
|
];
|
|
|
|
$output5 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments13, $renderChildrenClosure14, $renderingContext);
|
|
|
|
$output5 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array20 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('module.subModules'),
|
|
];
|
|
|
|
$expression21 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments19 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression21(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array20)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output22 = '';
|
|
|
|
$output22 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure24 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array25 = [
|
|
'modules' => $renderingContext->getVariableProvider()->getByPath('module.subModules'),
|
|
'parent' => $renderingContext->getVariableProvider()->getByPath('module'),
|
|
];
|
|
|
|
$arguments23 = [
|
|
'partial' => NULL,
|
|
'delegate' => NULL,
|
|
'optional' => false,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'section' => 'Menu',
|
|
'arguments' => $array25,
|
|
];
|
|
|
|
$output22 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments23, $renderChildrenClosure24, $renderingContext);
|
|
|
|
$output22 .= '
|
|
';
|
|
return $output22;
|
|
},
|
|
];
|
|
|
|
$output5 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments19, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output5 .= '
|
|
</li>
|
|
';
|
|
return $output5;
|
|
};
|
|
|
|
$arguments3 = [
|
|
'key' => NULL,
|
|
'reverse' => false,
|
|
'each' => $renderingContext->getVariableProvider()->getByPath('modules'),
|
|
'as' => 'module',
|
|
'iteration' => 'iterator',
|
|
];
|
|
|
|
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments3, $renderChildrenClosure4, $renderingContext);
|
|
|
|
$output0 .= '
|
|
</ul>
|
|
';
|
|
|
|
return $output0;
|
|
}
|
|
/**
|
|
* section Menu
|
|
*/
|
|
public function section_6c179d8fa93a09ae(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
|
|
$output26 = '';
|
|
|
|
$output26 .= '
|
|
<ul
|
|
role="menu"
|
|
aria-orientation="vertical"
|
|
class="modulemenu-group-container"
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array29 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('parent.collapsed'),
|
|
];
|
|
|
|
$expression30 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments28 = [
|
|
'then' => 'style="display: none"',
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression30(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array29)),
|
|
$renderingContext
|
|
),
|
|
];
|
|
|
|
$array31 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('parent'),
|
|
];
|
|
|
|
$expression32 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments27 = [
|
|
'then' => TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments28, static fn() => '', $renderingContext)
|
|
,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression32(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array31)),
|
|
$renderingContext
|
|
),
|
|
];
|
|
|
|
$output26 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments27, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output26 .= '
|
|
>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
|
|
$renderChildrenClosure34 = function() use ($renderingContext) {
|
|
$output35 = '';
|
|
|
|
$output35 .= '
|
|
<li role="menuitem" data-modulemenu-level="2">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure37 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array38 = [
|
|
'module' => $renderingContext->getVariableProvider()->getByPath('module'),
|
|
'tabIndex' => -1,
|
|
];
|
|
|
|
$arguments36 = [
|
|
'partial' => NULL,
|
|
'delegate' => NULL,
|
|
'optional' => false,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'section' => 'Button',
|
|
'arguments' => $array38,
|
|
];
|
|
|
|
$output35 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments36, $renderChildrenClosure37, $renderingContext);
|
|
|
|
$output35 .= '
|
|
</li>
|
|
';
|
|
return $output35;
|
|
};
|
|
|
|
$arguments33 = [
|
|
'key' => NULL,
|
|
'reverse' => false,
|
|
'iteration' => NULL,
|
|
'each' => $renderingContext->getVariableProvider()->getByPath('modules'),
|
|
'as' => 'module',
|
|
];
|
|
|
|
$output26 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments33, $renderChildrenClosure34, $renderingContext);
|
|
|
|
$output26 .= '
|
|
</ul>
|
|
';
|
|
|
|
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 .= '
|
|
>
|
|
<span class="modulemenu-icon" aria-hidden="true">';
|
|
// Rendering ViewHelper TYPO3\CMS\Core\ViewHelpers\IconViewHelper
|
|
$renderChildrenClosure80 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments79 = [
|
|
'overlay' => NULL,
|
|
'state' => 'default',
|
|
'title' => NULL,
|
|
'size' => 'medium',
|
|
'identifier' => $renderingContext->getVariableProvider()->getByPath('module.iconIdentifier'),
|
|
'alternativeMarkupIdentifier' => 'inline',
|
|
];
|
|
|
|
$output39 .= TYPO3\CMS\Core\ViewHelpers\IconViewHelper::renderStatic($arguments79, $renderChildrenClosure80, $renderingContext);
|
|
|
|
$output39 .= '</span>
|
|
<span class="modulemenu-name">';
|
|
|
|
$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 .= '</span>
|
|
<span class="modulemenu-indicator" aria-hidden="true"></span>
|
|
</';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array82 = [
|
|
'0' => $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 .= '
|
|
|
|
<nav
|
|
class="modulemenu"
|
|
data-role="modulemenu"
|
|
id="modulemenu"
|
|
data-modulemenu
|
|
aria-label="';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure86 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments85 = [
|
|
'id' => NULL,
|
|
'default' => NULL,
|
|
'arguments' => NULL,
|
|
'extensionName' => NULL,
|
|
'languageKey' => NULL,
|
|
'alternativeLanguageKeys' => NULL,
|
|
'key' => 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:modulemenu.label',
|
|
];
|
|
|
|
$output84 .= 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\TranslateViewHelper::renderStatic($arguments85, $renderChildrenClosure86, $renderingContext)]);
|
|
|
|
$output84 .= '"
|
|
data-modules-information="';
|
|
|
|
$output84 .= 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('modulesInformation')]);
|
|
|
|
$output84 .= '"
|
|
>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array88 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('modules'),
|
|
];
|
|
|
|
$expression89 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments87 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression89(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array88)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output90 = '';
|
|
|
|
$output90 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure92 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array93 = [
|
|
'modules' => $renderingContext->getVariableProvider()->getByPath('modules'),
|
|
];
|
|
|
|
$arguments91 = [
|
|
'partial' => NULL,
|
|
'delegate' => NULL,
|
|
'optional' => false,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'section' => 'Menubar',
|
|
'arguments' => $array93,
|
|
];
|
|
|
|
$output90 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments91, $renderChildrenClosure92, $renderingContext);
|
|
|
|
$output90 .= '
|
|
';
|
|
return $output90;
|
|
},
|
|
];
|
|
|
|
$output84 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments87, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output84 .= '
|
|
</nav>
|
|
|
|
';
|
|
|
|
$output84 .= '';
|
|
|
|
$output84 .= '
|
|
|
|
';
|
|
|
|
$output84 .= '';
|
|
|
|
$output84 .= '
|
|
|
|
';
|
|
|
|
$output84 .= '';
|
|
|
|
$output84 .= '
|
|
|
|
|
|
';
|
|
|
|
return $output84;
|
|
}
|
|
|
|
}
|
|
|
|
#
|