diff --git a/Classes/Controller/NavigationController.php b/Classes/Controller/NavigationController.php index 7f9341b43..380fd1313 100644 --- a/Classes/Controller/NavigationController.php +++ b/Classes/Controller/NavigationController.php @@ -77,6 +77,14 @@ public function mainAction(): void $this->viewData['requestData'] = $this->requestData; } + // get the closest previous sibling or leaf node + $prevDocumentUid = $this->documentRepository->getPreviousDocumentUid($this->document->getUid()); + $this->view->assign('documentBack', $prevDocumentUid); + + // get the closest next sibling or leaf node + $nextDocumentUid = $this->documentRepository->getNextDocumentUid($this->document->getUid()); + $this->view->assign('documentForward', $nextDocumentUid); + // Steps for X pages backward / forward. Double page view uses double steps. $pageSteps = $this->settings['pageStep'] * ($this->requestData['double'] + 1); diff --git a/Configuration/FlexForms/Navigation.xml b/Configuration/FlexForms/Navigation.xml index 5f46fa541..72142da70 100644 --- a/Configuration/FlexForms/Navigation.xml +++ b/Configuration/FlexForms/Navigation.xml @@ -72,8 +72,24 @@ LLL:EXT:dlf/Resources/Private/Language/locallang_be.xlf:plugins.navigation.flexform.features.rotation rotation + + LLL:EXT:dlf/Resources/Private/Language/locallang_be.xlf:plugins.navigation.flexform.features.measureForward + measureForward + + + LLL:EXT:dlf/Resources/Private/Language/locallang_be.xlf:plugins.navigation.flexform.features.measureBack + measureBack + + + LLL:EXT:dlf/Resources/Private/Language/locallang_be.xlf:plugins.navigation.flexform.features.documentBack + documentBack + + + LLL:EXT:dlf/Resources/Private/Language/locallang_be.xlf:plugins.navigation.flexform.features.documentForward + documentForward + - doublePage,pageFirst,pageBack,pageStepBack,pageSelect,pageForward,pageStepForward,pageLast,listView,zoom,rotation + doublePage,pageFirst,pageBack,pageStepBack,pageSelect,pageForward,pageStepForward,pageLast,listView,zoom,rotation,measureForward,measureBack,documentBack,documentForward 1 diff --git a/Resources/Private/Language/de.locallang.xlf b/Resources/Private/Language/de.locallang.xlf index cc91ec255..a59eadfbd 100644 --- a/Resources/Private/Language/de.locallang.xlf +++ b/Resources/Private/Language/de.locallang.xlf @@ -273,6 +273,22 @@ + + + + + + + + + + + + + + + + diff --git a/Resources/Private/Language/de.locallang_be.xlf b/Resources/Private/Language/de.locallang_be.xlf index ae39ee538..3923d0422 100644 --- a/Resources/Private/Language/de.locallang_be.xlf +++ b/Resources/Private/Language/de.locallang_be.xlf @@ -1,9 +1,6 @@ -
- LFEditor -
@@ -301,6 +298,22 @@ + + + + + + + + + + + + + + + + @@ -442,9 +455,9 @@ - - - + + +
@@ -533,162 +546,165 @@ - - - - - - - - - - - - - - - - - - Uptime: %s
Last Modified: %ss
Number of Documents: %u]]> - Laufzeit: %s
Letzte Änderung: %s
Anzahl Dokumente: %u]]>
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + Uptime: %s
Last Modified: %ss
Number of Documents: %u]]> + Laufzeit: %s
Letzte Änderung: %s
Anzahl Dokumente: %u]]>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ LFEditor +
diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf index 1522e5f2c..e648dfdde 100644 --- a/Resources/Private/Language/locallang.xlf +++ b/Resources/Private/Language/locallang.xlf @@ -170,6 +170,18 @@ + + + + + + + + + + + + diff --git a/Resources/Private/Language/locallang_be.xlf b/Resources/Private/Language/locallang_be.xlf index e74e5a0b5..ab3c0d398 100644 --- a/Resources/Private/Language/locallang_be.xlf +++ b/Resources/Private/Language/locallang_be.xlf @@ -206,6 +206,18 @@ + + + + + + + + + + + + diff --git a/Resources/Private/Templates/Navigation/Main.html b/Resources/Private/Templates/Navigation/Main.html index 5616ebdab..ae9252d42 100644 --- a/Resources/Private/Templates/Navigation/Main.html +++ b/Resources/Private/Templates/Navigation/Main.html @@ -235,4 +235,97 @@ + + + + +
+ + + + + + + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + +
+ + + + + + + + + + + + +
+
+ + +
+ + + + + + + + + + + + +
+
+