feat: frequency is now up to 366

feat: change filename of backup file
fix: translate: "no category"
fix: trim fixer api key
fix: add webp support to gd on the container
fix: update slovanian translations
This commit is contained in:
Miguel Ribeiro
2024-06-05 00:15:31 +02:00
committed by GitHub
parent 76186d45d5
commit fa99a735cd
7 changed files with 27 additions and 17 deletions
+4 -1
View File
@@ -112,7 +112,7 @@ if (isset($_GET['member'])) {
if (isset($_GET['category'])) {
$conditions[] = "category_id = :category";
$params[':category'] = $_GET['category'];
$statsSubtitleParts[] = $categories[$_GET['category']]['name'];
$statsSubtitleParts[] = $categories[$_GET['category']]['name'] == "No category" ? translate("no_category", $i18n) : $categories[$_GET['category']]['name'];
}
if (isset($_GET['payment'])) {
@@ -264,6 +264,9 @@ $numberOfElements = 6;
<div class="filtermenu-submenu-content" id="filter-category">
<?php
foreach ($categories as $category) {
if ($category['name'] == "No category") {
$category['name'] = translate("no_category", $i18n);
}
$selectedClass = '';
if (isset($_GET['category']) && $_GET['category'] == $category['id']) {
$selectedClass = 'selected';