326 lines
9.2 KiB
PHP
326 lines
9.2 KiB
PHP
<?php
|
|
class Default_action_Default_9358c575ef93cad5 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 TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array2 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('rows.above'),
|
|
];
|
|
|
|
$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 .= '
|
|
<table class="table table-condensed table-hover news-table">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2">';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure6 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('header');
|
|
};
|
|
|
|
$arguments5 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output4 .= isset($arguments5['value']) ? $arguments5['value'] : $renderChildrenClosure6();
|
|
|
|
$output4 .= '</th>
|
|
</tr>
|
|
</thead>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array8 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('rows.below'),
|
|
];
|
|
|
|
$expression9 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments7 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression9(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array8)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output10 = '';
|
|
|
|
$output10 .= '
|
|
<tfoot class="setting-switcher">
|
|
<tr>
|
|
<td colspan="2">
|
|
<a href="#" data-identifier="newscollapse-';
|
|
|
|
$output10 .= 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')]);
|
|
|
|
$output10 .= '">
|
|
<span class="down">';
|
|
// Rendering ViewHelper TYPO3\CMS\Core\ViewHelpers\IconViewHelper
|
|
$renderChildrenClosure12 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments11 = [
|
|
'size' => 'small',
|
|
'overlay' => NULL,
|
|
'state' => 'default',
|
|
'alternativeMarkupIdentifier' => NULL,
|
|
'title' => NULL,
|
|
'identifier' => 'actions-move-down',
|
|
];
|
|
|
|
$output10 .= TYPO3\CMS\Core\ViewHelpers\IconViewHelper::renderStatic($arguments11, $renderChildrenClosure12, $renderingContext);
|
|
|
|
$output10 .= '</span>
|
|
<span class="up">';
|
|
// Rendering ViewHelper TYPO3\CMS\Core\ViewHelpers\IconViewHelper
|
|
$renderChildrenClosure14 = function() use ($renderingContext) {
|
|
return NULL;
|
|
};
|
|
|
|
$arguments13 = [
|
|
'size' => 'small',
|
|
'overlay' => NULL,
|
|
'state' => 'default',
|
|
'alternativeMarkupIdentifier' => NULL,
|
|
'title' => NULL,
|
|
'identifier' => 'actions-move-up',
|
|
];
|
|
|
|
$output10 .= TYPO3\CMS\Core\ViewHelpers\IconViewHelper::renderStatic($arguments13, $renderChildrenClosure14, $renderingContext);
|
|
|
|
$output10 .= '</span>
|
|
Toggle settings
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
';
|
|
return $output10;
|
|
},
|
|
];
|
|
|
|
$output4 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments7, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output4 .= '
|
|
<tbody>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
|
|
$renderChildrenClosure16 = function() use ($renderingContext) {
|
|
$output17 = '';
|
|
|
|
$output17 .= '
|
|
<tr>
|
|
<th>';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure19 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('item.0');
|
|
};
|
|
|
|
$arguments18 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output17 .= isset($arguments18['value']) ? $arguments18['value'] : $renderChildrenClosure19();
|
|
|
|
$output17 .= '</th>
|
|
<td>';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure21 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('item.1');
|
|
};
|
|
|
|
$arguments20 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output17 .= isset($arguments20['value']) ? $arguments20['value'] : $renderChildrenClosure21();
|
|
|
|
$output17 .= '</td>
|
|
</tr>
|
|
';
|
|
return $output17;
|
|
};
|
|
|
|
$arguments15 = [
|
|
'key' => NULL,
|
|
'reverse' => false,
|
|
'iteration' => NULL,
|
|
'each' => $renderingContext->getVariableProvider()->getByPath('rows.above'),
|
|
'as' => 'item',
|
|
];
|
|
|
|
$output4 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments15, $renderChildrenClosure16, $renderingContext);
|
|
|
|
$output4 .= '
|
|
</tbody>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
|
|
$array23 = [
|
|
'0' => $renderingContext->getVariableProvider()->getByPath('rows.below'),
|
|
];
|
|
|
|
$expression24 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
|
|
$arguments22 = [
|
|
'then' => NULL,
|
|
'else' => NULL,
|
|
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression24(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array23)),
|
|
$renderingContext
|
|
),
|
|
'__then' => function() use ($renderingContext) {
|
|
$output25 = '';
|
|
|
|
$output25 .= '
|
|
<tbody class="hidden-settings hidden" id="newscollapse-';
|
|
|
|
$output25 .= 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')]);
|
|
|
|
$output25 .= '">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
|
|
$renderChildrenClosure27 = function() use ($renderingContext) {
|
|
$output28 = '';
|
|
|
|
$output28 .= '
|
|
<tr>
|
|
<th>';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure30 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('item.0');
|
|
};
|
|
|
|
$arguments29 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output28 .= isset($arguments29['value']) ? $arguments29['value'] : $renderChildrenClosure30();
|
|
|
|
$output28 .= '</th>
|
|
<td>';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure32 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('item.1');
|
|
};
|
|
|
|
$arguments31 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output28 .= isset($arguments31['value']) ? $arguments31['value'] : $renderChildrenClosure32();
|
|
|
|
$output28 .= '</td>
|
|
</tr>
|
|
';
|
|
return $output28;
|
|
};
|
|
|
|
$arguments26 = [
|
|
'key' => NULL,
|
|
'reverse' => false,
|
|
'iteration' => NULL,
|
|
'each' => $renderingContext->getVariableProvider()->getByPath('rows.below'),
|
|
'as' => 'item',
|
|
];
|
|
|
|
$output25 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments26, $renderChildrenClosure27, $renderingContext);
|
|
|
|
$output25 .= '
|
|
</tbody>
|
|
';
|
|
return $output25;
|
|
},
|
|
];
|
|
|
|
$output4 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments22, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output4 .= '
|
|
</table>
|
|
';
|
|
return $output4;
|
|
},
|
|
'__else' => function() use ($renderingContext) {
|
|
$output33 = '';
|
|
|
|
$output33 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure35 = function() use ($renderingContext) {
|
|
return $renderingContext->getVariableProvider()->getByPath('header');
|
|
};
|
|
|
|
$arguments34 = [
|
|
'value' => NULL,
|
|
];
|
|
|
|
$output33 .= isset($arguments34['value']) ? $arguments34['value'] : $renderChildrenClosure35();
|
|
|
|
$output33 .= '
|
|
';
|
|
return $output33;
|
|
},
|
|
];
|
|
|
|
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments1, static fn() => '', $renderingContext)
|
|
;
|
|
|
|
$output0 .= '
|
|
';
|
|
|
|
return $output0;
|
|
}
|
|
|
|
}
|
|
|
|
#
|