Skip to content

Commit

Permalink
Version 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bihor committed May 7, 2024
1 parent 36a0081 commit 4cf8c49
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Classes/Domain/Repository/SessionRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ function getImagesWithout($img_without, $img_other)
// Bilder ohne alt oder title
foreach ($referenceArray as $uid => $refArray) {
$imgArray = $refArray['file'];
//echo $imgArray['meta_alt'] .'#'. $imgArray['ref_alt'];
//echo $imgArray['meta_alt'] .'#'. $imgArray['ref_alt'] .'||';
if (((($img_without == 1) || ($img_without == 3)) &&
((!isset($imgArray['meta_alt']) || $imgArray['meta_alt']=='') && (!isset($refArray['ref_alt']) || $refArray['ref_alt']==''))) ||
((($img_without == 2) || ($img_without == 3)) &&
Expand Down
3 changes: 2 additions & 1 deletion Documentation/Changelog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@

Changelog
=========
Version 5.2.1:
Version 5.3.0:
Possibility added, to delete missing image-entries.
Image-preview added to "Find used images without title- or alt-text".

Version 5.2.0:
Refactored with the rector-tool.
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# backendtools

version 5.2.1
version 5.3.0

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 @@ -20,5 +20,6 @@ Version 5.2.0:
Refactored with the rector-tool.
setup.txt and constants.txt renamed to .typoscript.

Version 5.2.1:
Possibility added, to delete missing image-entries.
Version 5.3.0:
Possibility added, to delete missing image-entries.
Image-preview added to "Find used images without title- or alt-text".
4 changes: 3 additions & 1 deletion Resources/Private/Partials/Image.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<td>{image.file.uid}</td>
<td><div class="tooltipbase">{image.file.name}<span class="tooltiptext">{image.file.identifier}</span></div></td>
<td><div class="tooltipbase">{image.file.name}<span class="tooltiptext">
<f:if condition="{image.file.missing} == 0"><f:image src="{image.file.uid}" width="200" maxHeight="150"/><br></f:if>
{image.file.identifier}</span></div></td>
<td>{image.file.size}</td>
<td>
{image.file.meta_uid}
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Session/Missing.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h4>{count} missing file(s) is/are not used (in tt_content):</h4>
<tr>
<th>-</th>
<th>uid</th>
<th>identifier</th>
<th>name</th>
<th>size</th>
<th>uid</th>
<th>width</th>
Expand All @@ -113,7 +113,7 @@ <h4>{count} missing file(s) is/are not used (in tt_content):</h4>
<tr{f:if(condition:iterator.isOdd, then: ' style="background-color:#fff;"')}>
<td><f:form.radio name="delimg" value="{image.uid}" /></td>
<td>{image.uid}</td>
<td>{image.identifier}</td>
<td><div class="tooltipbase">{image.name}<span class="tooltiptext">{image.identifier}</span></div></td>
<td>{image.size}</td>
<td>{image.meta_uid}</td>
<td>{image.meta_width}</td>
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'author' => 'Kurt Gusbeth',
'author_company' => 'fixpunkt für digitales GmbH',
'state' => 'stable',
'version' => '5.2.1',
'version' => '5.3.0',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-12.4.99',
Expand Down

0 comments on commit 4cf8c49

Please sign in to comment.