Project

General

Profile

Bug #78031 ยป DirectoryViewHelper.patch

patch - Cyril Janody, 2016-10-06 22:26

View differences:

typo3/sysext/fluid_styled_content/Classes/ViewHelpers/Menu/DirectoryViewHelper.php (revision )
$typoScriptFrontendController->register['ceMenuLevel_directory']++;
}
if ($typoScriptFrontendController->register['ceMenuLevel_directory'] > $typoScriptFrontendController->register['ceMenuMaximumLevel_directory']) {
return '';
}
if ($typoScriptFrontendController->register['ceMenuLevel_directory'] <= $typoScriptFrontendController->register['ceMenuMaximumLevel_directory']) {
$variables = [
$as => $pages
];
if (!empty($levelAs)) {
$variables[$levelAs] = $typoScriptFrontendController->register['ceMenuLevel_directory'];
}
$output = $this->renderChildrenWithVariables($variables);
$variables = [
$as => $pages
];
if (!empty($levelAs)) {
$variables[$levelAs] = $typoScriptFrontendController->register['ceMenuLevel_directory'];
}
$output = $this->renderChildrenWithVariables($variables);
}
$typoScriptFrontendController->register['ceMenuLevel_directory']--;
    (1-1/1)