Remove correct answer column entirely
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user