diff --git a/README.md b/README.md index be0fbf6..29a2123 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,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.13.1). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.13.2). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.13.2.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.13.2.sql new file mode 100644 index 0000000..ce4f99d --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.13.2.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.13.2. diff --git a/administrator/components/com_testquestions/tmpl/questions/default.php b/administrator/components/com_testquestions/tmpl/questions/default.php index 4046b01..bb59397 100644 --- a/administrator/components/com_testquestions/tmpl/questions/default.php +++ b/administrator/components/com_testquestions/tmpl/questions/default.php @@ -67,10 +67,10 @@ HTMLHelper::_('behavior.multiselect'); question_type === 'open') : ?>
: answer_open; ?>
-
A: answer_a; ?>
-
B: answer_b; ?>
-
C: answer_c; ?>
-
D: answer_d; ?>
+
A:answer_a; ?>correct_answer === 1) : ?>✓
+
B:answer_b; ?>correct_answer === 2) : ?>✓
+
C:answer_c; ?>correct_answer === 3) : ?>✓
+
D:answer_d; ?>correct_answer === 4) : ?>✓
diff --git a/com_testquestions.xml b/com_testquestions.xml index 65d28f1..1f42108 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.13.1 + 1.13.2 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions