replace empty with empty

This commit is contained in:
oxeo0 2025-05-10 16:24:14 +02:00
parent 1010fac9ed
commit a6ff10fb34
3 changed files with 1 additions and 2 deletions

View file

@ -181,7 +181,7 @@ function DisplayCategories($instancename, $path) {
if (strtolower($oldcatname) != strtolower($data[1])){ if (strtolower($oldcatname) != strtolower($data[1])){
echo '<a class="cata ' . ($classmap[strtolower($data[1])] ?? '') . '" href="index.php?query=' . $data[1] . '">' . '<img class="caticon" src="img/' . ($logomap[strtolower($data[1])] ?? 'empty.svg') . '"></img>'. $data[1] . '</a> '; echo '<a class="cata ' . ($classmap[strtolower($data[1])] ?? '') . '" href="index.php?query=' . $data[1] . '">' . '<img class="caticon" src="img/' . ($logomap[strtolower($data[1])] ?? 'empty.png') . '"></img>'. $data[1] . '</a> ';
$oldcatname = strtolower($data[1]); $oldcatname = strtolower($data[1]);
} }

BIN
www/img/empty.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#436" d="M36 32c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V4c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v28z"/></svg>

Before

Width:  |  Height:  |  Size: 188 B