diff --git a/README.md b/README.md index 4c09f8f..1b84c4c 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.12.1). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.12.2). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/forms/set.xml b/administrator/components/com_testquestions/forms/set.xml index 88e6816..c40aab8 100644 --- a/administrator/components/com_testquestions/forms/set.xml +++ b/administrator/components/com_testquestions/forms/set.xml @@ -7,7 +7,7 @@ - + diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.12.2.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.12.2.sql new file mode 100644 index 0000000..a2a11ca --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.12.2.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.12.2. diff --git a/administrator/components/com_testquestions/tmpl/set/edit.php b/administrator/components/com_testquestions/tmpl/set/edit.php index b946969..dc29d29 100644 --- a/administrator/components/com_testquestions/tmpl/set/edit.php +++ b/administrator/components/com_testquestions/tmpl/set/edit.php @@ -33,10 +33,10 @@ HTMLHelper::_('behavior.formvalidator'); question_type === 'open') : ?>
: escape($question->answer_open); ?>
-
A: answer_a; ?>correct_answer === 1 ? ' ✓' : ''; ?>
-
B: answer_b; ?>correct_answer === 2 ? ' ✓' : ''; ?>
-
C: answer_c; ?>correct_answer === 3 ? ' ✓' : ''; ?>
-
D: answer_d; ?>correct_answer === 4 ? ' ✓' : ''; ?>
+
A:answer_a; ?>correct_answer === 1 ? ' ✓' : ''; ?>
+
B:answer_b; ?>correct_answer === 2 ? ' ✓' : ''; ?>
+
C:answer_c; ?>correct_answer === 3 ? ' ✓' : ''; ?>
+
D:answer_d; ?>correct_answer === 4 ? ' ✓' : ''; ?>
@@ -70,10 +70,10 @@ HTMLHelper::_('behavior.formvalidator'); question_type === 'open') : ?>
: escape($question->answer_open); ?>
-
A: answer_a; ?>correct_answer === 1 ? ' ✓' : ''; ?>
-
B: answer_b; ?>correct_answer === 2 ? ' ✓' : ''; ?>
-
C: answer_c; ?>correct_answer === 3 ? ' ✓' : ''; ?>
-
D: answer_d; ?>correct_answer === 4 ? ' ✓' : ''; ?>
+
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 d3931c5..660fb14 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.12.1 + 1.12.2 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions