Skip to content

Commit

Permalink
Version 5.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bihor committed Dec 6, 2023
1 parent dccbfad commit 0f0a95f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions Classes/Domain/Repository/SessionRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,7 @@ function getMissingImages($img_other)
'title',
'alternative',
'uid_local',
'uid_foreign',
'tablenames'
]) -> from ('sys_file_reference')
->where(
Expand All @@ -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'] = '';
Expand Down Expand Up @@ -1285,6 +1287,7 @@ function getImagesWithout($img_without, $img_other)
'title',
'alternative',
'uid_local',
'uid_foreign',
'tablenames'
]) -> from ('sys_file_reference')
->where(
Expand All @@ -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'] = '';
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Changelog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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".

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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".
2 changes: 1 addition & 1 deletion Resources/Private/Partials/Image.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
</f:if></td>
</f:then>
<f:else>
<td colspan="4"><i>{image.ref_tablenames}</i></td>
<td colspan="4"><i>{image.ref_tablenames}</i>: {image.ref_uid_foreign}</td>
</f:else>
</f:if>
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0f0a95f

Please sign in to comment.