Skip to content

Commit

Permalink
37863: Zuletzt besuchte Seite
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Oct 15, 2023
1 parent cf6c26f commit 99d2f39
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Modules/Wiki/classes/class.ilObjWikiGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 99d2f39

Please sign in to comment.