From 1d0b6d7798009461dd07225b627e5ce20281c94f Mon Sep 17 00:00:00 2001 From: Wojtek Date: Thu, 15 Oct 2026 21:29:31 +0200 Subject: [PATCH] Move result save button to top --- README.md | 2 +- .../components/com_testquestions/sql/updates/mysql/1.26.0.sql | 1 + .../components/com_testquestions/tmpl/result/default.php | 2 +- com_testquestions.xml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 administrator/components/com_testquestions/sql/updates/mysql/1.26.0.sql diff --git a/README.md b/README.md index 7bfcf7f..b0cd784 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.25.0). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.26.0). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.26.0.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.26.0.sql new file mode 100644 index 0000000..9fa33e9 --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.26.0.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.26.0. diff --git a/administrator/components/com_testquestions/tmpl/result/default.php b/administrator/components/com_testquestions/tmpl/result/default.php index 6bcbdfa..9431406 100644 --- a/administrator/components/com_testquestions/tmpl/result/default.php +++ b/administrator/components/com_testquestions/tmpl/result/default.php @@ -18,6 +18,7 @@

+ item->answers as $questionId => $answer) : ?> item->questions[(int) $questionId] ?? null; if (!$question) continue; ?>
@@ -43,7 +44,6 @@
- diff --git a/com_testquestions.xml b/com_testquestions.xml index 19f0623..2f8780c 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.25.0 + 1.26.0 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions