Remove question type column

This commit is contained in:
Wojtek
2026-10-15 17:51:04 +02:00
parent 32cae2ffc3
commit 68650492d3
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -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.3).
W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.13.4).
Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**.
@@ -0,0 +1 @@
-- No database changes required for version 1.13.4.
@@ -47,7 +47,6 @@ HTMLHelper::_('behavior.multiselect');
<tr>
<th scope="col" class="w-1"><?php echo HTMLHelper::_('grid.checkall'); ?></th>
<th scope="col"><?php echo \Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_COLUMN_QUESTION'); ?></th>
<th scope="col" class="w-10"><?php echo \Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_COLUMN_TYPE'); ?></th>
<?php if ((int) $this->state->get('filter.show_answers') !== 1) : ?>
<th scope="col" class="w-10"><?php echo \Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_COLUMN_CORRECT'); ?></th>
<?php endif; ?>
@@ -77,7 +76,6 @@ HTMLHelper::_('behavior.multiselect');
</div>
<?php endif; ?>
</th>
<td><?php echo \Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_TYPE_' . strtoupper($item->question_type)); ?></td>
<?php if ((int) $this->state->get('filter.show_answers') !== 1) : ?>
<td><?php echo \Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_ANSWER_' . chr(64 + (int) $item->correct_answer)); ?></td>
<?php endif; ?>
+1 -1
View File
@@ -4,7 +4,7 @@
<creationDate>2026-10-14</creationDate>
<author>Komponent</author>
<license>GNU General Public License version 2 or later</license>
<version>1.13.3</version>
<version>1.13.4</version>
<description>COM_TESTQUESTIONS_DESCRIPTION</description>
<element>com_testquestions</element>
<namespace path="src">Komponent\Component\Testquestions</namespace>