589 lines
20 KiB
PHP
589 lines
20 KiB
PHP
<?php
|
|
class partial_Backend_Topbar_96d02ae3958bee99 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 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 .= '
|
|
|
|
<button ';
|
|
|
|
$output0 .= 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('disabledAttr')]);
|
|
|
|
$output0 .= ' class="topbar-button ';
|
|
|
|
$output0 .= 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('classes')]);
|
|
|
|
$output0 .= '" title="';
|
|
|
|
$output0 .= 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('title')]);
|
|
|
|
$output0 .= '" aria-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); }, [$renderingContext->getVariableProvider()->getByPath('title')]);
|
|
|
|
$output0 .= '">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure12 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array13 = [
|
|
'identifier' => $renderingContext->getVariableProvider()->getByPath('icon'),
|
|
'disabled' => $renderingContext->getVariableProvider()->getByPath('disabled'),
|
|
];
|
|
|
|
$arguments11 = [
|
|
'partial' => NULL,
|
|
'delegate' => NULL,
|
|
'optional' => false,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'section' => 'Icon',
|
|
'arguments' => $array13,
|
|
];
|
|
|
|
$output0 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments11, $renderChildrenClosure12, $renderingContext);
|
|
|
|
$output0 .= '
|
|
</button>
|
|
';
|
|
|
|
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 .= '
|
|
|
|
<div class="scaffold-topbar t3js-scaffold-topbar" data-topbar-identifier="topbar">
|
|
<div class="topbar">
|
|
<div class="topbar-header t3js-topbar-header ';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array24 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('isInWorkspace'),
|
|
];
|
|
|
|
$expression25 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments23 = [
|
|
'then' => '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 .= '
|
|
|
|
<div class="topbar-header-site">
|
|
<a href="./" target="_top" title="';
|
|
|
|
$output22 .= 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('siteName')]);
|
|
|
|
$output22 .= ' - ';
|
|
|
|
$output22 .= 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('applicationVersion')]);
|
|
|
|
$output22 .= '">
|
|
<span class="topbar-header-site-logo">
|
|
<img src="';
|
|
|
|
$output22 .= 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('logoUrl')]);
|
|
|
|
$output22 .= '" width="';
|
|
|
|
$output22 .= 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('logoWidth')]);
|
|
|
|
$output22 .= '" height="';
|
|
|
|
$output22 .= 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('logoHeight')]);
|
|
|
|
$output22 .= '" alt="" aria-hidden="true" />
|
|
</span>
|
|
<span class="topbar-header-site-title">
|
|
<span class="topbar-header-site-name">';
|
|
|
|
$output22 .= 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('siteName')]);
|
|
|
|
$output22 .= '</span>
|
|
<span class="topbar-header-site-version">';
|
|
|
|
$output22 .= 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('applicationVersion')]);
|
|
|
|
$output22 .= '</span>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
<button
|
|
class="topbar-button topbar-button-toolbar t3js-topbar-button-toolbar"
|
|
title="';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure32 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments31 = [
|
|
'id' => NULL,
|
|
'default' => NULL,
|
|
'arguments' => NULL,
|
|
'extensionName' => NULL,
|
|
'languageKey' => NULL,
|
|
'alternativeLanguageKeys' => NULL,
|
|
'key' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.toolbarOpenClose',
|
|
];
|
|
|
|
$output22 .= 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($arguments31, $renderChildrenClosure32, $renderingContext)]);
|
|
|
|
$output22 .= '"
|
|
aria-label="';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure34 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments33 = [
|
|
'id' => NULL,
|
|
'default' => NULL,
|
|
'arguments' => NULL,
|
|
'extensionName' => NULL,
|
|
'languageKey' => NULL,
|
|
'alternativeLanguageKeys' => NULL,
|
|
'key' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.toolbarOpenClose',
|
|
];
|
|
|
|
$output22 .= 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($arguments33, $renderChildrenClosure34, $renderingContext)]);
|
|
|
|
$output22 .= '"
|
|
>
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Core\ViewHelpers\IconViewHelper
|
|
$renderChildrenClosure36 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments35 = [
|
|
'size' => 'small',
|
|
'overlay' => NULL,
|
|
'state' => 'default',
|
|
'title' => NULL,
|
|
'identifier' => 'actions-system-extension-configure',
|
|
'alternativeMarkupIdentifier' => 'inline',
|
|
];
|
|
|
|
$output22 .= TYPO3\CMS\Core\ViewHelpers\IconViewHelper::renderStatic($arguments35, $renderChildrenClosure36, $renderingContext);
|
|
|
|
$output22 .= '
|
|
</button>
|
|
<button
|
|
class="topbar-button topbar-button-search t3js-topbar-button-search"
|
|
title="';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure38 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments37 = [
|
|
'id' => NULL,
|
|
'default' => NULL,
|
|
'arguments' => NULL,
|
|
'extensionName' => NULL,
|
|
'languageKey' => NULL,
|
|
'alternativeLanguageKeys' => NULL,
|
|
'key' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.searchbarOpenClose',
|
|
];
|
|
|
|
$output22 .= 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($arguments37, $renderChildrenClosure38, $renderingContext)]);
|
|
|
|
$output22 .= '"
|
|
aria-label="';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure40 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments39 = [
|
|
'id' => NULL,
|
|
'default' => NULL,
|
|
'arguments' => NULL,
|
|
'extensionName' => NULL,
|
|
'languageKey' => NULL,
|
|
'alternativeLanguageKeys' => NULL,
|
|
'key' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.searchbarOpenClose',
|
|
];
|
|
|
|
$output22 .= 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($arguments39, $renderChildrenClosure40, $renderingContext)]);
|
|
|
|
$output22 .= '"
|
|
>
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Core\ViewHelpers\IconViewHelper
|
|
$renderChildrenClosure42 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments41 = [
|
|
'size' => 'small',
|
|
'overlay' => NULL,
|
|
'state' => 'default',
|
|
'title' => NULL,
|
|
'identifier' => 'actions-search',
|
|
'alternativeMarkupIdentifier' => 'inline',
|
|
];
|
|
|
|
$output22 .= TYPO3\CMS\Core\ViewHelpers\IconViewHelper::renderStatic($arguments41, $renderChildrenClosure42, $renderingContext);
|
|
|
|
$output22 .= '
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="scaffold-toolbar t3js-scaffold-toolbar" data-toolbar-identifier="toolbar">
|
|
<div class="toolbar">
|
|
<ul class="toolbar-list" data-typo3-role="typo3-module-menu">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
|
|
$renderChildrenClosure44 = function() use ($renderingContext) {
|
|
$output45 = '';
|
|
|
|
$output45 .= '
|
|
<li ';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure47 = function() use ($renderingContext) {
|
|
// Rendering ViewHelper TYPO3\CMS\Backend\ViewHelpers\Toolbar\AttributesViewHelper
|
|
$renderChildrenClosure49 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments48 = [
|
|
'class' => $renderingContext->getVariableProvider()->getByPath('toolbarItem'),
|
|
];
|
|
return TYPO3\CMS\Backend\ViewHelpers\Toolbar\AttributesViewHelper::renderStatic($arguments48, $renderChildrenClosure49, $renderingContext);
|
|
};
|
|
|
|
$arguments46 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output45 .= isset($arguments46['value']) ? $arguments46['value'] : $renderChildrenClosure47();
|
|
|
|
$output45 .= '>
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Backend\ViewHelpers\Toolbar\IfHasDropdownViewHelper
|
|
|
|
$arguments50 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'class' => $renderingContext->getVariableProvider()->getByPath('toolbarItem'),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output51 = '';
|
|
|
|
$output51 .= '
|
|
<a href="#" class="toolbar-item-link dropdown-toggle" data-bs-toggle="dropdown" data-bs-offset="0,0">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure53 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('toolbarItem.item');
|
|
};
|
|
|
|
$arguments52 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output51 .= isset($arguments52['value']) ? $arguments52['value'] : $renderChildrenClosure53();
|
|
|
|
$output51 .= '
|
|
</a>
|
|
<div class="dropdown-menu" role="menu">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure55 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('toolbarItem.dropdown');
|
|
};
|
|
|
|
$arguments54 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output51 .= isset($arguments54['value']) ? $arguments54['value'] : $renderChildrenClosure55();
|
|
|
|
$output51 .= '
|
|
</div>
|
|
';
|
|
return $output51;
|
|
},
|
|
'__else' => function() use ($renderingContext) {
|
|
$output56 = '';
|
|
|
|
$output56 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure58 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('toolbarItem.item');
|
|
};
|
|
|
|
$arguments57 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output56 .= isset($arguments57['value']) ? $arguments57['value'] : $renderChildrenClosure58();
|
|
|
|
$output56 .= '
|
|
';
|
|
return $output56;
|
|
},
|
|
];
|
|
|
|
$output45 .= TYPO3\CMS\Backend\ViewHelpers\Toolbar\IfHasDropdownViewHelper::renderStatic($arguments50, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output45 .= '
|
|
</li>
|
|
';
|
|
return $output45;
|
|
};
|
|
|
|
$arguments43 = [
|
|
'key' => NULL,
|
|
'reverse' => false,
|
|
'iteration' => NULL,
|
|
'each' => $renderingContext->getVariableProvider()->getByPath('toolbarItems'),
|
|
'as' => 'toolbarItem',
|
|
];
|
|
|
|
$output22 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments43, $renderChildrenClosure44, $renderingContext);
|
|
|
|
$output22 .= '
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
';
|
|
|
|
$output22 .= '';
|
|
|
|
$output22 .= '
|
|
|
|
';
|
|
|
|
$output22 .= '';
|
|
|
|
$output22 .= '
|
|
|
|
|
|
';
|
|
|
|
return $output22;
|
|
}
|
|
|
|
}
|
|
|
|
#
|