diff --git a/README.md b/README.md index e434361..9089403 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.43.44). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.43.45). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.43.45.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.43.45.sql new file mode 100644 index 0000000..8f85da4 --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.43.45.sql @@ -0,0 +1 @@ +-- Brak zmian w schemacie bazy danych w wersji 1.43.45. diff --git a/administrator/components/com_testquestions/tmpl/result/default.php b/administrator/components/com_testquestions/tmpl/result/default.php index bdcd20a..08a459a 100644 --- a/administrator/components/com_testquestions/tmpl/result/default.php +++ b/administrator/components/com_testquestions/tmpl/result/default.php @@ -32,6 +32,7 @@ $resolveImageUrl = static function ($path) { article { break-inside: auto; border-color: #aaa !important; } img { max-width: 100% !important; max-height: 150mm; object-fit: contain; } .alert { print-color-adjust: exact; -webkit-print-color-adjust: exact; } + .result-question-heading { print-color-adjust: exact; -webkit-print-color-adjust: exact; } .container-fluid .result-pdf-comment.has-print-comment { display: block !important; } .result-pdf-comment-text { white-space: pre-wrap; } .ai-token-info { display: none !important; } @@ -122,8 +123,10 @@ $resolveImageUrl = static function ($path) {

+ item->answers as $questionId => $answer) : ?> item->questions[(int) $questionId] ?? null; if (!$question) continue; ?> +
-
question; ?>
+
+ . +
question; ?>
+
image)) : ?>
question_type === 'open') : ?>
:
diff --git a/com_testquestions.xml b/com_testquestions.xml index 54612e7..99300bc 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.43.44 + 1.43.45 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions