Moving assets and resources to the public folder
This commit is contained in:
126
var/cache/code/fluid_template/partial_DropdownMenu_dbd8955c89c9e139.php
vendored
Normal file
126
var/cache/code/fluid_template/partial_DropdownMenu_dbd8955c89c9e139.php
vendored
Normal file
@@ -0,0 +1,126 @@
|
||||
<?php
|
||||
class partial_DropdownMenu_dbd8955c89c9e139 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="input-group">
|
||||
<select
|
||||
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('name')]);
|
||||
|
||||
$output0 .= '"
|
||||
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('id')]);
|
||||
|
||||
$output0 .= '"
|
||||
data-global-event="change"
|
||||
data-action-navigate="$data=~s/$value/"
|
||||
data-action-submit="$form"
|
||||
class="form-select"
|
||||
data-menu-identifier="';
|
||||
|
||||
$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('id')]);
|
||||
|
||||
$output0 .= '"
|
||||
>
|
||||
';
|
||||
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
|
||||
$renderChildrenClosure2 = function() use ($renderingContext) {
|
||||
$output3 = '';
|
||||
|
||||
$output3 .= '
|
||||
<option value="';
|
||||
|
||||
$output3 .= 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('value')]);
|
||||
|
||||
$output3 .= '"
|
||||
';
|
||||
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
||||
|
||||
$array5 = [
|
||||
'0' => $renderingContext->getVariableProvider()->getByPath('value'),
|
||||
'1' => ' == ',
|
||||
'2' => $renderingContext->getVariableProvider()->getByPath('currentValue'),
|
||||
];
|
||||
|
||||
$expression6 = function($context) {return (TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]) == TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node2"]));};
|
||||
|
||||
$arguments4 = [
|
||||
'then' => 'selected="selected"',
|
||||
'else' => NULL,
|
||||
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
||||
$expression6(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array5)),
|
||||
$renderingContext
|
||||
),
|
||||
];
|
||||
|
||||
$output3 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments4, static fn() => '', $renderingContext)
|
||||
;
|
||||
|
||||
$output3 .= '
|
||||
>';
|
||||
|
||||
$output3 .= 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('label')]);
|
||||
|
||||
$output3 .= '</option>
|
||||
';
|
||||
return $output3;
|
||||
};
|
||||
|
||||
$arguments1 = [
|
||||
'reverse' => false,
|
||||
'iteration' => NULL,
|
||||
'each' => $renderingContext->getVariableProvider()->getByPath('options'),
|
||||
'as' => 'label',
|
||||
'key' => 'value',
|
||||
];
|
||||
|
||||
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments1, $renderChildrenClosure2, $renderingContext);
|
||||
|
||||
$output0 .= '
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
';
|
||||
|
||||
return $output0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#
|
||||
Reference in New Issue
Block a user