From 24802b8b53ca81cc0e66613241a6606e94fb2e3b Mon Sep 17 00:00:00 2001 From: Wojtek Date: Sat, 17 Oct 2026 10:50:51 +0200 Subject: [PATCH] Put set description before image --- README.md | 2 +- .../components/com_testquestions/sql/updates/mysql/1.43.31.sql | 1 + com_testquestions.xml | 2 +- components/com_testquestions/tmpl/set/default.php | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 administrator/components/com_testquestions/sql/updates/mysql/1.43.31.sql diff --git a/README.md b/README.md index 631b546..453e901 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych. ## Instalacja -W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.43.30). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.43.31). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.43.31.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.43.31.sql new file mode 100644 index 0000000..7c7f117 --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.43.31.sql @@ -0,0 +1 @@ +-- Brak zmian w schemacie bazy danych w wersji 1.43.31. diff --git a/com_testquestions.xml b/com_testquestions.xml index 6409028..1dd9d8e 100644 --- a/com_testquestions.xml +++ b/com_testquestions.xml @@ -4,7 +4,7 @@ 2026-10-14 Komponent GNU General Public License version 2 or later - 1.43.30 + 1.43.31 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions diff --git a/components/com_testquestions/tmpl/set/default.php b/components/com_testquestions/tmpl/set/default.php index dc20f9d..43be94b 100644 --- a/components/com_testquestions/tmpl/set/default.php +++ b/components/com_testquestions/tmpl/set/default.php @@ -67,8 +67,8 @@ $resolveImageUrl = static function ($path) { set->subject_title) : ?>
set->subject_title, ENT_QUOTES, 'UTF-8'); ?>

set->title, ENT_QUOTES, 'UTF-8'); ?>

0) : ?>
: min 0) : ?> s
- set->image) : ?>
set->test_content) : ?>
set->test_content; ?>
+ set->image) : ?>
results && $testDurationSeconds > 0) : ?>