From 105ca1f4e497e8928dbd19b072f3d2b5d4f3ce5f Mon Sep 17 00:00:00 2001 From: Wojtek Date: Thu, 15 Oct 2026 17:03:11 +0200 Subject: [PATCH] Enable Joomla subject form validation --- README.md | 2 +- .../com_testquestions/sql/updates/mysql/1.10.5.sql | 1 + .../components/com_testquestions/tmpl/subject/edit.php | 7 ++++++- com_testquestions.xml | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 administrator/components/com_testquestions/sql/updates/mysql/1.10.5.sql diff --git a/README.md b/README.md index 70b149f..fc59253 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,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.10.4). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.10.5). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.10.5.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.10.5.sql new file mode 100644 index 0000000..d9f780f --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.10.5.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.10.5. diff --git a/administrator/components/com_testquestions/tmpl/subject/edit.php b/administrator/components/com_testquestions/tmpl/subject/edit.php index 1a59700..7201c04 100644 --- a/administrator/components/com_testquestions/tmpl/subject/edit.php +++ b/administrator/components/com_testquestions/tmpl/subject/edit.php @@ -1,4 +1,9 @@ - +
form->renderField('title'); ?> form->renderField('published'); ?> diff --git a/com_testquestions.xml b/com_testquestions.xml index 0ced3e9..fa814c3 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.10.4 + 1.10.5 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions