From 65a7c9c9e9dffbac41ec2633e4a09568b5894a1a Mon Sep 17 00:00:00 2001 From: Kurt Gusbeth Date: Tue, 2 Feb 2021 17:59:35 +0100 Subject: [PATCH] version 2.0.6 Edit-Links --- Classes/Domain/Repository/SessionRepository.php | 5 ++++- Documentation/Changelog/Index.rst | 2 +- README.md | 4 ++-- Resources/Private/Templates/Session/Realurl.html | 2 +- ext_emconf.php | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Classes/Domain/Repository/SessionRepository.php b/Classes/Domain/Repository/SessionRepository.php index 4ec1be4..8d5780c 100644 --- a/Classes/Domain/Repository/SessionRepository.php +++ b/Classes/Domain/Repository/SessionRepository.php @@ -874,9 +874,11 @@ public function getPagesSlug($hidden) $p_hidden = $row['hidden']; if (($hidden == 0) || (($hidden == 1) && $p_hidden) || (($hidden == 2) && !$p_hidden)) { $uid = $row['uid']; + $pl10n = $uid; $sys_language_uid = $row['sys_language_uid']; if ($sys_language_uid > 0) { - $uid = $row['l10n_parent']; + $pl10n = $uid; + $uid = $row['l10n_parent']; } if (!is_array($pages[$uid])) { $pages[$uid] = []; @@ -884,6 +886,7 @@ public function getPagesSlug($hidden) $pages[$uid][$sys_language_uid] = []; $pages[$uid][$sys_language_uid]['hidden'] = $hidden; $pages[$uid][$sys_language_uid]['sys_language_uid'] = $sys_language_uid; + $pages[$uid][$sys_language_uid]['pl10n'] = $pl10n; $pages[$uid][$sys_language_uid]['title'] = $row['title']; $pages[$uid][$sys_language_uid]['slug'] = $row['slug']; if ($row['slug_locked'] && ($row['slug_locked'] == 1)) { diff --git a/Documentation/Changelog/Index.rst b/Documentation/Changelog/Index.rst index e9f5ab5..3fe9710 100644 --- a/Documentation/Changelog/Index.rst +++ b/Documentation/Changelog/Index.rst @@ -11,7 +11,7 @@ Changelog ========= -Version 2.0.5: +Version 2.0.6: Order by added to the extension list view. Bugfix: use translated values when L>0. Bugfix: edit page links when L>0. diff --git a/README.md b/README.md index 0bed8e0..a67c4db 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # backendtools -version 2.0.5 +version 2.0.6 7 admin tools for extensions, slug, redirects, files, images and links: extensionlist, Slug vs. RealURL, import redirects, delete unused files, images with no title, unzip and linklist. @@ -11,7 +11,7 @@ https://docs.typo3.org/p/fixpunkt/backendtools/master/en-us/ Version 2.0.0: refactoring. See changelog: https://docs.typo3.org/p/fixpunkt/backendtools/master/en-us/Changelog/Index.html -Version 2.0.5: order by added to the list view. +Version 2.0.6: order by added to the list view. Bugfix: use translated values when L>0. Bugfix: edit page links when L>0. Bugfix: domain + language configuration. diff --git a/Resources/Private/Templates/Session/Realurl.html b/Resources/Private/Templates/Session/Realurl.html index 9d3f24d..53af734 100644 --- a/Resources/Private/Templates/Session/Realurl.html +++ b/Resources/Private/Templates/Session/Realurl.html @@ -67,7 +67,7 @@

RealURL vs. Slug

- + diff --git a/ext_emconf.php b/ext_emconf.php index 835ba8c..5eff49c 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -21,7 +21,7 @@ 'uploadfolder' => false, 'createDirs' => '', 'clearCacheOnLoad' => false, - 'version' => '2.0.5', + 'version' => '2.0.6', 'constraints' => array ( 'depends' => array (