Remove correct answer column entirely

This commit is contained in:
Wojtek
2026-10-15 17:55:28 +02:00
parent 68650492d3
commit cfdefddb72
4 changed files with 3 additions and 8 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.4).
W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.13.5).
Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**.
@@ -0,0 +1 @@
-- No database changes required for version 1.13.5.
@@ -47,9 +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>
<?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; ?>
<th scope="col" class="w-10"><?php echo \Joomla\CMS\Language\Text::_('JSTATUS'); ?></th>
<th scope="col" class="w-10"><?php echo \Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_COLUMN_ID'); ?></th>
</tr>
@@ -76,9 +73,6 @@ HTMLHelper::_('behavior.multiselect');
</div>
<?php endif; ?>
</th>
<?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; ?>
<td><?php echo HTMLHelper::_('jgrid.published', $item->published, $i, 'questions.', true, 'cb'); ?></td>
<td><?php echo (int) $item->id; ?></td>
</tr>
+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.4</version>
<version>1.13.5</version>
<description>COM_TESTQUESTIONS_DESCRIPTION</description>
<element>com_testquestions</element>
<namespace path="src">Komponent\Component\Testquestions</namespace>