From 99d2f39c14e55c98de7a6853d750d6eb26bbad4f Mon Sep 17 00:00:00 2001 From: Alexander Killing Date: Sun, 15 Oct 2023 20:24:59 +0200 Subject: [PATCH] 37863: Zuletzt besuchte Seite --- Modules/Wiki/classes/class.ilObjWikiGUI.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Modules/Wiki/classes/class.ilObjWikiGUI.php b/Modules/Wiki/classes/class.ilObjWikiGUI.php index 50a5ee5d3815..ded6588e2a7c 100755 --- a/Modules/Wiki/classes/class.ilObjWikiGUI.php +++ b/Modules/Wiki/classes/class.ilObjWikiGUI.php @@ -1352,6 +1352,17 @@ protected function isNewTranslatedPage() : bool ilWikiUtil::makeDbTitle($page), $this->edit_request->getTranslation())) { + $this->tabs_gui->clearTargets(); + $this->tabs_gui->setBackTarget( + $this->lng->txt("back"), + $this->pm->getPermaLink( + $this->pm->getPageIdForTitle( + $this->edit_request->getFromPage(), + $this->edit_request->getTranslation() + ), + $this->edit_request->getTranslation() + ) + ); $form = $this->getNewTranslatedPageForm(); $this->tpl->setContent($this->getRenderedTranslationInfo() . $form->render()); return true;