360 lines
10 KiB
PHP
360 lines
10 KiB
PHP
<?php
|
|
class partial_DocHeader_b5c1c228a96b901e 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',
|
|
),
|
|
));
|
|
}
|
|
/**
|
|
* Main Render function
|
|
*/
|
|
public function render(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
|
|
$output0 = '';
|
|
|
|
$output0 .= '<div class="module-loading-indicator"></div>
|
|
<div class="module-docheader t3js-module-docheader">
|
|
<div class="module-docheader-bar module-docheader-bar-navigation t3js-module-docheader-bar t3js-module-docheader-bar-navigation">
|
|
<div class="module-docheader-bar-column-left">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array2 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('docHeader.menus'),
|
|
];
|
|
|
|
$expression3 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments1 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression3(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array2)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output4 = '';
|
|
|
|
$output4 .= '
|
|
<div class="module-docheader-bar-container">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
|
|
$renderChildrenClosure6 = function() use ($renderingContext) {
|
|
$output7 = '';
|
|
|
|
$output7 .= '
|
|
<div class="form-group form-group-sm">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure9 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array10 = [
|
|
'menu' => $renderingContext->getVariableProvider()->getByPath('menu'),
|
|
];
|
|
|
|
$arguments8 = [
|
|
'section' => NULL,
|
|
'delegate' => NULL,
|
|
'optional' => false,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'partial' => 'Menus/SelectBoxJumpMenu',
|
|
'arguments' => $array10,
|
|
];
|
|
|
|
$output7 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments8, $renderChildrenClosure9, $renderingContext);
|
|
|
|
$output7 .= '
|
|
</div>
|
|
';
|
|
return $output7;
|
|
};
|
|
|
|
$arguments5 = [
|
|
'key' => NULL,
|
|
'reverse' => false,
|
|
'iteration' => NULL,
|
|
'each' => $renderingContext->getVariableProvider()->getByPath('docHeader.menus'),
|
|
'as' => 'menu',
|
|
];
|
|
|
|
$output4 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments5, $renderChildrenClosure6, $renderingContext);
|
|
|
|
$output4 .= '
|
|
</div>
|
|
';
|
|
return $output4;
|
|
},
|
|
];
|
|
|
|
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments1, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output0 .= '
|
|
</div>
|
|
<div class="module-docheader-bar-column-right">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array12 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('docHeader.metaInformation.recordInformation'),
|
|
];
|
|
|
|
$expression13 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments11 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression13(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array12)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output14 = '';
|
|
|
|
$output14 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array16 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('docHeader.metaInformation.fileOrFolder'),
|
|
];
|
|
|
|
$expression17 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments15 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression17(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array16)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output18 = '';
|
|
|
|
$output18 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure20 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('docHeader.metaInformation.path');
|
|
};
|
|
|
|
$arguments19 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output18 .= isset($arguments19['value']) ? $arguments19['value'] : $renderChildrenClosure20();
|
|
|
|
$output18 .= '
|
|
';
|
|
return $output18;
|
|
},
|
|
'__else' => function() use ($renderingContext) {
|
|
$output21 = '';
|
|
|
|
$output21 .= '
|
|
<span class="typo3-docheader-pagePath">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure23 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments22 = [
|
|
'id' => NULL,
|
|
'default' => NULL,
|
|
'arguments' => NULL,
|
|
'extensionName' => NULL,
|
|
'languageKey' => NULL,
|
|
'alternativeLanguageKeys' => NULL,
|
|
'key' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.path',
|
|
];
|
|
|
|
$output21 .= 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($arguments22, $renderChildrenClosure23, $renderingContext)]);
|
|
|
|
$output21 .= ': ';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure25 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('docHeader.metaInformation.path');
|
|
};
|
|
|
|
$arguments24 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output21 .= isset($arguments24['value']) ? $arguments24['value'] : $renderChildrenClosure25();
|
|
|
|
$output21 .= '
|
|
</span>
|
|
';
|
|
return $output21;
|
|
},
|
|
];
|
|
|
|
$output14 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments15, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output14 .= '
|
|
<strong>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure27 = function() use ($renderingContext) {
|
|
$output28 = '';
|
|
|
|
$output28 .= '
|
|
';
|
|
|
|
$output28 .= $renderingContext->getVariableProvider()->getByPath('docHeader.metaInformation.recordInformationIcon');
|
|
|
|
$output28 .= ' ';
|
|
|
|
$output28 .= $renderingContext->getVariableProvider()->getByPath('docHeader.metaInformation.recordInformationTitle');
|
|
|
|
$output28 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array30 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('docHeader.metaInformation.recordInformationUid'),
|
|
];
|
|
|
|
$expression31 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments29 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression31(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array30)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output32 = '';
|
|
|
|
$output32 .= '[';
|
|
|
|
$output32 .= $renderingContext->getVariableProvider()->getByPath('docHeader.metaInformation.recordInformationUid');
|
|
|
|
$output32 .= ']';
|
|
return $output32;
|
|
},
|
|
];
|
|
|
|
$output28 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments29, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output28 .= '
|
|
';
|
|
return $output28;
|
|
};
|
|
|
|
$arguments26 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output14 .= isset($arguments26['value']) ? $arguments26['value'] : $renderChildrenClosure27();
|
|
|
|
$output14 .= '
|
|
</strong>
|
|
';
|
|
|
|
$output14 .= 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('docHeader.metaInformation.recordInformationAdditionalInfo')]);
|
|
|
|
$output14 .= '
|
|
';
|
|
return $output14;
|
|
},
|
|
];
|
|
|
|
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments11, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output0 .= '
|
|
</div>
|
|
</div>
|
|
<div class="module-docheader-bar module-docheader-bar-buttons t3js-module-docheader-bar t3js-module-docheader-bar-buttons">
|
|
<div class="module-docheader-bar-column-left">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure34 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array35 = [
|
|
'buttons' => $renderingContext->getVariableProvider()->getByPath('docHeader.buttons.left'),
|
|
];
|
|
|
|
$arguments33 = [
|
|
'section' => NULL,
|
|
'delegate' => NULL,
|
|
'optional' => false,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'partial' => 'ButtonBar',
|
|
'arguments' => $array35,
|
|
];
|
|
|
|
$output0 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments33, $renderChildrenClosure34, $renderingContext);
|
|
|
|
$output0 .= '
|
|
</div>
|
|
<div class="module-docheader-bar-column-right">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure37 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array38 = [
|
|
'buttons' => $renderingContext->getVariableProvider()->getByPath('docHeader.buttons.right'),
|
|
];
|
|
|
|
$arguments36 = [
|
|
'section' => NULL,
|
|
'delegate' => NULL,
|
|
'optional' => false,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'partial' => 'ButtonBar',
|
|
'arguments' => $array38,
|
|
];
|
|
|
|
$output0 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments36, $renderChildrenClosure37, $renderingContext);
|
|
|
|
$output0 .= '
|
|
</div>
|
|
</div>
|
|
</div>
|
|
';
|
|
|
|
return $output0;
|
|
}
|
|
|
|
}
|
|
|
|
#
|