diff --git a/README.md b/README.md index 767abb2..c73d455 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,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.15.0). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.15.1). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.15.1.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.15.1.sql new file mode 100644 index 0000000..7baafb0 --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.15.1.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.15.1. diff --git a/com_testquestions.xml b/com_testquestions.xml index 36d59ce..243d302 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.15.0 + 1.15.1 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 debb0e0..0dacbc3 100644 --- a/components/com_testquestions/tmpl/set/default.php +++ b/components/com_testquestions/tmpl/set/default.php @@ -57,8 +57,13 @@ use Joomla\CMS\Factory; image) : ?>
question_type === 'open') : ?>
- - + results) : ?> + : + results['items'][$item->id]['selected'] ?: '—', ENT_QUOTES, 'UTF-8'); ?> + + + +
    @@ -84,7 +89,9 @@ use Joomla\CMS\Factory; - + results) : ?> + +