339 lines
9.5 KiB
PHP
339 lines
9.5 KiB
PHP
<?php
|
|
class layout_Module_html_5514fa1feb2b0c40 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 .= '
|
|
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure2 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array3 = [
|
|
'0' => 'true',
|
|
];
|
|
|
|
$expression4 = function($context) {return TRUE;};
|
|
|
|
$arguments1 = [
|
|
'partial' => NULL,
|
|
'delegate' => NULL,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'section' => 'Before',
|
|
'arguments' => $renderingContext->getVariableProvider()->getAll(),
|
|
'optional' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression4(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array3)),
|
|
$renderingContext
|
|
),
|
|
];
|
|
|
|
$output0 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments1, $renderChildrenClosure2, $renderingContext);
|
|
|
|
$output0 .= '
|
|
|
|
<div class="module ';
|
|
|
|
$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('moduleClass')]);
|
|
|
|
$output0 .= '" data-module-id="';
|
|
|
|
$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('moduleId')]);
|
|
|
|
$output0 .= '" data-module-name="';
|
|
|
|
$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('moduleName')]);
|
|
|
|
$output0 .= '">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array6 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('formTag'),
|
|
];
|
|
|
|
$expression7 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments5 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression7(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array6)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output8 = '';
|
|
|
|
$output8 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure10 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('formTag');
|
|
};
|
|
|
|
$arguments9 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output8 .= isset($arguments9['value']) ? $arguments9['value'] : $renderChildrenClosure10();
|
|
|
|
$output8 .= '
|
|
';
|
|
return $output8;
|
|
},
|
|
];
|
|
|
|
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments5, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output0 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array12 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('docHeader.enabled'),
|
|
];
|
|
|
|
$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 TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure16 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array17 = [
|
|
'docHeader' => $renderingContext->getVariableProvider()->getByPath('docHeader'),
|
|
];
|
|
|
|
$arguments15 = [
|
|
'section' => NULL,
|
|
'delegate' => NULL,
|
|
'optional' => false,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'partial' => 'DocHeader',
|
|
'arguments' => $array17,
|
|
];
|
|
|
|
$output14 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments15, $renderChildrenClosure16, $renderingContext);
|
|
|
|
$output14 .= '
|
|
';
|
|
return $output14;
|
|
},
|
|
];
|
|
|
|
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments11, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output0 .= '
|
|
<div class="module-body t3js-module-body">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array19 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('uiBlock'),
|
|
];
|
|
|
|
$expression20 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments18 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression20(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array19)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output21 = '';
|
|
|
|
$output21 .= '
|
|
<div id="t3js-ui-block" class="ui-block">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Core\ViewHelpers\IconViewHelper
|
|
$renderChildrenClosure23 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments22 = [
|
|
'overlay' => NULL,
|
|
'state' => 'default',
|
|
'alternativeMarkupIdentifier' => NULL,
|
|
'title' => NULL,
|
|
'identifier' => 'spinner-circle',
|
|
'size' => 'large',
|
|
];
|
|
|
|
$output21 .= TYPO3\CMS\Core\ViewHelpers\IconViewHelper::renderStatic($arguments22, $renderChildrenClosure23, $renderingContext);
|
|
|
|
$output21 .= '
|
|
</div>
|
|
';
|
|
return $output21;
|
|
},
|
|
];
|
|
|
|
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments18, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output0 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\FlashMessagesViewHelper
|
|
$renderChildrenClosure25 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments24 = [
|
|
'as' => NULL,
|
|
'queueIdentifier' => $renderingContext->getVariableProvider()->getByPath('flashMessageQueueIdentifier'),
|
|
];
|
|
|
|
$output0 .= TYPO3\CMS\Fluid\ViewHelpers\FlashMessagesViewHelper::renderStatic($arguments24, $renderChildrenClosure25, $renderingContext);
|
|
|
|
$output0 .= '
|
|
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure27 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array28 = [
|
|
'0' => 'true',
|
|
];
|
|
|
|
$expression29 = function($context) {return TRUE;};
|
|
|
|
$arguments26 = [
|
|
'partial' => NULL,
|
|
'delegate' => NULL,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'section' => 'Content',
|
|
'arguments' => $renderingContext->getVariableProvider()->getAll(),
|
|
'optional' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression29(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array28)),
|
|
$renderingContext
|
|
),
|
|
];
|
|
|
|
$output0 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments26, $renderChildrenClosure27, $renderingContext);
|
|
|
|
$output0 .= '
|
|
|
|
</div>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array31 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('formTag'),
|
|
];
|
|
|
|
$expression32 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments30 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression32(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array31)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
return '
|
|
</form>
|
|
';
|
|
},
|
|
];
|
|
|
|
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments30, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output0 .= '
|
|
</div>
|
|
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
|
|
$renderChildrenClosure34 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$array35 = [
|
|
'0' => 'true',
|
|
];
|
|
|
|
$expression36 = function($context) {return TRUE;};
|
|
|
|
$arguments33 = [
|
|
'partial' => NULL,
|
|
'delegate' => NULL,
|
|
'default' => NULL,
|
|
'contentAs' => NULL,
|
|
'debug' => true,
|
|
'section' => 'After',
|
|
'arguments' => $renderingContext->getVariableProvider()->getAll(),
|
|
'optional' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression36(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array35)),
|
|
$renderingContext
|
|
),
|
|
];
|
|
|
|
$output0 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments33, $renderChildrenClosure34, $renderingContext);
|
|
|
|
$output0 .= '
|
|
|
|
|
|
';
|
|
|
|
return $output0;
|
|
}
|
|
|
|
}
|
|
|
|
#
|