Add configurable subjects to question sets
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php defined('_JEXEC') or die; ?>
|
||||
<form action="index.php?option=com_testquestions&view=subjects" method="post" name="adminForm" id="adminForm">
|
||||
<table class="table table-striped">
|
||||
<thead><tr>
|
||||
<th><?php echo Joomla\CMS\HTML\HTMLHelper::_('grid.checkall'); ?></th>
|
||||
<th><?php echo Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_SUBJECT_TITLE'); ?></th>
|
||||
<th><?php echo Joomla\CMS\Language\Text::_('JSTATUS'); ?></th>
|
||||
<th><?php echo Joomla\CMS\Language\Text::_('COM_TESTQUESTIONS_COLUMN_ID'); ?></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $i => $item) : ?>
|
||||
<tr>
|
||||
<td><?php echo Joomla\CMS\HTML\HTMLHelper::_('grid.id', $i, $item->id); ?></td>
|
||||
<th><a href="index.php?option=com_testquestions&task=subject.edit&id=<?php echo (int) $item->id; ?>"><?php echo htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8'); ?></a></th>
|
||||
<td><?php echo $item->published ? Joomla\CMS\Language\Text::_('JPUBLISHED') : Joomla\CMS\Language\Text::_('JUNPUBLISHED'); ?></td>
|
||||
<td><?php echo (int) $item->id; ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<input type="hidden" name="boxchecked" value="0">
|
||||
<input type="hidden" name="task" value="">
|
||||
<?php echo Joomla\CMS\HTML\HTMLHelper::_('form.token'); ?>
|
||||
</form>
|
||||
Reference in New Issue
Block a user