diff --git a/Classes/Domain/Repository/SessionRepository.php b/Classes/Domain/Repository/SessionRepository.php index 4cf021a..d982bd8 100644 --- a/Classes/Domain/Repository/SessionRepository.php +++ b/Classes/Domain/Repository/SessionRepository.php @@ -1136,6 +1136,7 @@ function getMissingImages($img_other) 'title', 'alternative', 'uid_local', + 'uid_foreign', 'tablenames' ]) -> from ('sys_file_reference') ->where( @@ -1154,6 +1155,7 @@ function getMissingImages($img_other) $referenceArray[$uid]['ref_title'] = $row['title']; $referenceArray[$uid]['ref_alt'] = $row['alternative']; $referenceArray[$uid]['ref_tablenames'] = $row['tablenames']; + $referenceArray[$uid]['ref_uid_foreign'] = $row['uid_foreign']; //$referenceArray[$uid]['file_uid'] = $uid_file; $referenceArray[$uid]['file'] = $fileArray[$uid_file]; // file-array $referenceArray[$uid]['domain'] = ''; @@ -1285,6 +1287,7 @@ function getImagesWithout($img_without, $img_other) 'title', 'alternative', 'uid_local', + 'uid_foreign', 'tablenames' ]) -> from ('sys_file_reference') ->where( @@ -1303,6 +1306,7 @@ function getImagesWithout($img_without, $img_other) $referenceArray[$uid]['ref_title'] = $row['title']; $referenceArray[$uid]['ref_alt'] = $row['alternative']; $referenceArray[$uid]['ref_tablenames'] = $row['tablenames']; + $referenceArray[$uid]['ref_uid_foreign'] = $row['uid_foreign']; //$referenceArray[$uid]['file_uid'] = $uid_file; $referenceArray[$uid]['file'] = $fileArray[$uid_file]; // file-array $referenceArray[$uid]['domain'] = ''; diff --git a/Documentation/Changelog/Index.rst b/Documentation/Changelog/Index.rst index fd5e415..8cae7a4 100644 --- a/Documentation/Changelog/Index.rst +++ b/Documentation/Changelog/Index.rst @@ -10,7 +10,7 @@ Changelog ========= -Version 5.1.0/1: +Version 5.1.0/2: New tool: show where missing files are used. Bugfix: show meta-data again in "Show images without title- or alt-text". diff --git a/README.md b/README.md index b05cfc0..c27de1c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # backendtools -version 5.1.1 +version 5.1.2 9 admin tools for extensions, pages, (backend) layouts, slug, redirects, files, images and links: extension-list, recent pages and content elements, used (backend) layouts, import redirects, check redirects, @@ -12,6 +12,6 @@ https://docs.typo3.org/p/fixpunkt/backendtools/master/en-us/ Version 5.0.0 First version for TYPO3 12 LTS. -Version 5.1.1 +Version 5.1.2 New tool: show where missing files are used. Bugfix: show meta-data again in "Show images without title- or alt-text". \ No newline at end of file diff --git a/Resources/Private/Partials/Image.html b/Resources/Private/Partials/Image.html index 3763f64..0cb9b65 100644 --- a/Resources/Private/Partials/Image.html +++ b/Resources/Private/Partials/Image.html @@ -32,6 +32,6 @@ - {image.ref_tablenames} + {image.ref_tablenames}: {image.ref_uid_foreign} \ No newline at end of file diff --git a/ext_emconf.php b/ext_emconf.php index 319c339..14e7b9e 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -19,7 +19,7 @@ 'state' => 'stable', 'createDirs' => '', 'clearCacheOnLoad' => false, - 'version' => '5.1.1', + 'version' => '5.1.2', 'constraints' => array ( 'depends' => array ( 'typo3' => '12.4.0-12.4.99',