439 lines
16 KiB
PHP
439 lines
16 KiB
PHP
<?php
|
|
|
|
class partial_Modules_2fb48a28388e9d512a1c1a9aac1b416d5006df58 extends \TYPO3Fluid\Fluid\Core\Compiler\AbstractCompiledTemplate {
|
|
|
|
public function getLayoutName(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
|
|
$self = $this;
|
|
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',
|
|
),
|
|
'bk2k' =>
|
|
array (
|
|
0 => 'BK2K\\BootstrapPackage\\ViewHelpers',
|
|
),
|
|
));
|
|
}
|
|
|
|
/**
|
|
* Main Render function
|
|
*/
|
|
public function render(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
|
|
$self = $this;
|
|
$output0 = '';
|
|
|
|
$output0 .= '<p>
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure2 = function() use ($renderingContext, $self) {
|
|
return NULL;
|
|
};
|
|
$arguments1 = array();
|
|
$arguments1['key'] = NULL;
|
|
$arguments1['id'] = NULL;
|
|
$arguments1['default'] = NULL;
|
|
$arguments1['arguments'] = NULL;
|
|
$arguments1['extensionName'] = NULL;
|
|
$arguments1['languageKey'] = NULL;
|
|
$arguments1['alternativeLanguageKeys'] = NULL;
|
|
$arguments1['key'] = 'LLL:EXT:about/Resources/Private/Language/Modules/locallang_alt_intro.xlf:introtext2';
|
|
|
|
$output0 .= 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($arguments1, $renderChildrenClosure2, $renderingContext)]);
|
|
|
|
$output0 .= '
|
|
</p>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
|
|
$renderChildrenClosure4 = function() use ($renderingContext, $self) {
|
|
$output6 = '';
|
|
|
|
$output6 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
$renderChildrenClosure8 = function() use ($renderingContext, $self) {
|
|
$output12 = '';
|
|
|
|
$output12 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
$renderChildrenClosure14 = function() use ($renderingContext, $self) {
|
|
$output18 = '';
|
|
|
|
$output18 .= '
|
|
<h2>';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure20 = function() use ($renderingContext, $self) {
|
|
return NULL;
|
|
};
|
|
$arguments19 = array();
|
|
$arguments19['key'] = NULL;
|
|
$arguments19['id'] = NULL;
|
|
$arguments19['default'] = NULL;
|
|
$arguments19['arguments'] = NULL;
|
|
$arguments19['extensionName'] = NULL;
|
|
$arguments19['languageKey'] = NULL;
|
|
$arguments19['alternativeLanguageKeys'] = NULL;
|
|
$array21 = array (
|
|
);$arguments19['key'] = $renderingContext->getVariableProvider()->getByPath('mainModule.label', $array21);
|
|
|
|
$output18 .= 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($arguments19, $renderChildrenClosure20, $renderingContext)]);
|
|
|
|
$output18 .= '</h2>
|
|
';
|
|
return $output18;
|
|
};
|
|
$arguments13 = array();
|
|
$arguments13['then'] = NULL;
|
|
$arguments13['else'] = NULL;
|
|
$arguments13['condition'] = false;
|
|
// Rendering Boolean node
|
|
// Rendering Array
|
|
$array15 = array();
|
|
$array16 = array (
|
|
);$array15['0'] = $renderingContext->getVariableProvider()->getByPath('mainModule.label', $array16);
|
|
|
|
$expression17 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
$arguments13['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression17(
|
|
TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array15)
|
|
),
|
|
$renderingContext
|
|
);
|
|
$arguments13['__thenClosure'] = $renderChildrenClosure14;
|
|
|
|
$output12 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments13, $renderChildrenClosure14, $renderingContext);
|
|
|
|
$output12 .= '
|
|
<section class="card-container">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
|
|
$renderChildrenClosure23 = function() use ($renderingContext, $self) {
|
|
$output25 = '';
|
|
|
|
$output25 .= '
|
|
<a
|
|
href="#"
|
|
onclick="top.goToModule(\'';
|
|
$array26 = array (
|
|
);
|
|
$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('mainModule.name', $array26)]);
|
|
|
|
$output25 .= '_';
|
|
$array27 = array (
|
|
);
|
|
$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('subModule.name', $array27)]);
|
|
|
|
$output25 .= '\'); return false;"
|
|
title="';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
$renderChildrenClosure29 = function() use ($renderingContext, $self) {
|
|
return NULL;
|
|
};
|
|
$arguments28 = array();
|
|
$arguments28['then'] = NULL;
|
|
$arguments28['else'] = NULL;
|
|
$arguments28['condition'] = false;
|
|
// Rendering Boolean node
|
|
// Rendering Array
|
|
$array30 = array();
|
|
$array31 = array (
|
|
);$array30['0'] = $renderingContext->getVariableProvider()->getByPath('subModule.shortDescription', $array31);
|
|
|
|
$expression32 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
$arguments28['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression32(
|
|
TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array30)
|
|
),
|
|
$renderingContext
|
|
);
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure34 = function() use ($renderingContext, $self) {
|
|
return NULL;
|
|
};
|
|
$arguments33 = array();
|
|
$arguments33['key'] = NULL;
|
|
$arguments33['id'] = NULL;
|
|
$arguments33['default'] = NULL;
|
|
$arguments33['arguments'] = NULL;
|
|
$arguments33['extensionName'] = NULL;
|
|
$arguments33['languageKey'] = NULL;
|
|
$arguments33['alternativeLanguageKeys'] = NULL;
|
|
$array35 = array (
|
|
);$arguments33['key'] = $renderingContext->getVariableProvider()->getByPath('subModule.shortDescription', $array35);
|
|
$arguments28['then'] = 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)]);
|
|
|
|
$output25 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments28, $renderChildrenClosure29, $renderingContext);
|
|
|
|
$output25 .= '"
|
|
class="card card-size-medium"
|
|
>
|
|
<div class="card-header">
|
|
<div class="card-icon">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Core\ViewHelpers\IconViewHelper
|
|
$renderChildrenClosure37 = function() use ($renderingContext, $self) {
|
|
return NULL;
|
|
};
|
|
$arguments36 = array();
|
|
$arguments36['identifier'] = NULL;
|
|
$arguments36['size'] = 'small';
|
|
$arguments36['overlay'] = NULL;
|
|
$arguments36['state'] = 'default';
|
|
$arguments36['alternativeMarkupIdentifier'] = NULL;
|
|
$array38 = array (
|
|
);$arguments36['identifier'] = $renderingContext->getVariableProvider()->getByPath('subModule.iconIdentifier', $array38);
|
|
$arguments36['size'] = 'default';
|
|
|
|
$output25 .= TYPO3\CMS\Core\ViewHelpers\IconViewHelper::renderStatic($arguments36, $renderChildrenClosure37, $renderingContext);
|
|
|
|
$output25 .= '
|
|
</div>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
$renderChildrenClosure40 = function() use ($renderingContext, $self) {
|
|
$output44 = '';
|
|
|
|
$output44 .= '
|
|
<div class="card-header-body">
|
|
<h3 class="card-title">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure46 = function() use ($renderingContext, $self) {
|
|
return NULL;
|
|
};
|
|
$arguments45 = array();
|
|
$arguments45['key'] = NULL;
|
|
$arguments45['id'] = NULL;
|
|
$arguments45['default'] = NULL;
|
|
$arguments45['arguments'] = NULL;
|
|
$arguments45['extensionName'] = NULL;
|
|
$arguments45['languageKey'] = NULL;
|
|
$arguments45['alternativeLanguageKeys'] = NULL;
|
|
$array47 = array (
|
|
);$arguments45['key'] = $renderingContext->getVariableProvider()->getByPath('subModule.label', $array47);
|
|
|
|
$output44 .= 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($arguments45, $renderChildrenClosure46, $renderingContext)]);
|
|
|
|
$output44 .= '
|
|
</h3>
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
$renderChildrenClosure49 = function() use ($renderingContext, $self) {
|
|
$output53 = '';
|
|
|
|
$output53 .= '
|
|
<span class="card-subtitle">
|
|
';
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure55 = function() use ($renderingContext, $self) {
|
|
return NULL;
|
|
};
|
|
$arguments54 = array();
|
|
$arguments54['key'] = NULL;
|
|
$arguments54['id'] = NULL;
|
|
$arguments54['default'] = NULL;
|
|
$arguments54['arguments'] = NULL;
|
|
$arguments54['extensionName'] = NULL;
|
|
$arguments54['languageKey'] = NULL;
|
|
$arguments54['alternativeLanguageKeys'] = NULL;
|
|
$array56 = array (
|
|
);$arguments54['key'] = $renderingContext->getVariableProvider()->getByPath('subModule.shortDescription', $array56);
|
|
|
|
$output53 .= 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($arguments54, $renderChildrenClosure55, $renderingContext)]);
|
|
|
|
$output53 .= '
|
|
</span>
|
|
';
|
|
return $output53;
|
|
};
|
|
$arguments48 = array();
|
|
$arguments48['then'] = NULL;
|
|
$arguments48['else'] = NULL;
|
|
$arguments48['condition'] = false;
|
|
// Rendering Boolean node
|
|
// Rendering Array
|
|
$array50 = array();
|
|
$array51 = array (
|
|
);$array50['0'] = $renderingContext->getVariableProvider()->getByPath('subModule.shortDescription', $array51);
|
|
|
|
$expression52 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
$arguments48['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression52(
|
|
TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array50)
|
|
),
|
|
$renderingContext
|
|
);
|
|
$arguments48['__thenClosure'] = $renderChildrenClosure49;
|
|
|
|
$output44 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments48, $renderChildrenClosure49, $renderingContext);
|
|
|
|
$output44 .= '
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
|
|
$renderChildrenClosure58 = function() use ($renderingContext, $self) {
|
|
$output62 = '';
|
|
|
|
$output62 .= '
|
|
<div class="card-longdesc">
|
|
';
|
|
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
|
|
$renderChildrenClosure64 = function() use ($renderingContext, $self) {
|
|
// Rendering ViewHelper TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper
|
|
$renderChildrenClosure66 = function() use ($renderingContext, $self) {
|
|
return NULL;
|
|
};
|
|
$arguments65 = array();
|
|
$arguments65['key'] = NULL;
|
|
$arguments65['id'] = NULL;
|
|
$arguments65['default'] = NULL;
|
|
$arguments65['arguments'] = NULL;
|
|
$arguments65['extensionName'] = NULL;
|
|
$arguments65['languageKey'] = NULL;
|
|
$arguments65['alternativeLanguageKeys'] = NULL;
|
|
$array67 = array (
|
|
);$arguments65['key'] = $renderingContext->getVariableProvider()->getByPath('subModule.longDescription', $array67);
|
|
return TYPO3\CMS\Fluid\ViewHelpers\TranslateViewHelper::renderStatic($arguments65, $renderChildrenClosure66, $renderingContext);
|
|
};
|
|
$arguments63 = array();
|
|
$arguments63['value'] = NULL;
|
|
|
|
$output62 .= isset($arguments63['value']) ? $arguments63['value'] : $renderChildrenClosure64();
|
|
|
|
$output62 .= '
|
|
</div>
|
|
';
|
|
return $output62;
|
|
};
|
|
$arguments57 = array();
|
|
$arguments57['then'] = NULL;
|
|
$arguments57['else'] = NULL;
|
|
$arguments57['condition'] = false;
|
|
// Rendering Boolean node
|
|
// Rendering Array
|
|
$array59 = array();
|
|
$array60 = array (
|
|
);$array59['0'] = $renderingContext->getVariableProvider()->getByPath('subModule.longDescription', $array60);
|
|
|
|
$expression61 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
$arguments57['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression61(
|
|
TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array59)
|
|
),
|
|
$renderingContext
|
|
);
|
|
$arguments57['__thenClosure'] = $renderChildrenClosure58;
|
|
|
|
$output44 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments57, $renderChildrenClosure58, $renderingContext);
|
|
|
|
$output44 .= '
|
|
</div>
|
|
';
|
|
return $output44;
|
|
};
|
|
$arguments39 = array();
|
|
$arguments39['then'] = NULL;
|
|
$arguments39['else'] = NULL;
|
|
$arguments39['condition'] = false;
|
|
// Rendering Boolean node
|
|
// Rendering Array
|
|
$array41 = array();
|
|
$array42 = array (
|
|
);$array41['0'] = $renderingContext->getVariableProvider()->getByPath('subModule.label', $array42);
|
|
|
|
$expression43 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
$arguments39['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression43(
|
|
TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array41)
|
|
),
|
|
$renderingContext
|
|
);
|
|
$arguments39['__thenClosure'] = $renderChildrenClosure40;
|
|
|
|
$output25 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments39, $renderChildrenClosure40, $renderingContext);
|
|
|
|
$output25 .= '
|
|
</div>
|
|
</a>
|
|
';
|
|
return $output25;
|
|
};
|
|
$arguments22 = array();
|
|
$arguments22['each'] = NULL;
|
|
$arguments22['as'] = NULL;
|
|
$arguments22['key'] = NULL;
|
|
$arguments22['reverse'] = false;
|
|
$arguments22['iteration'] = NULL;
|
|
$array24 = array (
|
|
);$arguments22['each'] = $renderingContext->getVariableProvider()->getByPath('mainModule.subModules', $array24);
|
|
$arguments22['as'] = 'subModule';
|
|
$arguments22['iteration'] = 'subModuleIterator';
|
|
|
|
$output12 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments22, $renderChildrenClosure23, $renderingContext);
|
|
|
|
$output12 .= '
|
|
</section>
|
|
';
|
|
return $output12;
|
|
};
|
|
$arguments7 = array();
|
|
$arguments7['then'] = NULL;
|
|
$arguments7['else'] = NULL;
|
|
$arguments7['condition'] = false;
|
|
// Rendering Boolean node
|
|
// Rendering Array
|
|
$array9 = array();
|
|
$array10 = array (
|
|
);$array9['0'] = $renderingContext->getVariableProvider()->getByPath('mainModule.subModules', $array10);
|
|
|
|
$expression11 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
|
|
$arguments7['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
|
|
$expression11(
|
|
TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array9)
|
|
),
|
|
$renderingContext
|
|
);
|
|
$arguments7['__thenClosure'] = $renderChildrenClosure8;
|
|
|
|
$output6 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments7, $renderChildrenClosure8, $renderingContext);
|
|
|
|
$output6 .= '
|
|
';
|
|
return $output6;
|
|
};
|
|
$arguments3 = array();
|
|
$arguments3['each'] = NULL;
|
|
$arguments3['as'] = NULL;
|
|
$arguments3['key'] = NULL;
|
|
$arguments3['reverse'] = false;
|
|
$arguments3['iteration'] = NULL;
|
|
$array5 = array (
|
|
);$arguments3['each'] = $renderingContext->getVariableProvider()->getByPath('modules', $array5);
|
|
$arguments3['as'] = 'mainModule';
|
|
|
|
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments3, $renderChildrenClosure4, $renderingContext);
|
|
|
|
$output0 .= '
|
|
';
|
|
|
|
return $output0;
|
|
}
|
|
|
|
|
|
}
|
|
#
|