mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
fixed issue MDL-14531
added an option to switch autonumbering on or off
This commit is contained in:
parent
914061abe1
commit
efc5916754
22 changed files with 74 additions and 52 deletions
|
@ -101,9 +101,9 @@
|
|||
echo '<div align="center"><table>';
|
||||
foreach($templateitems as $templateitem){
|
||||
echo '<tr>';
|
||||
if($templateitem->hasvalue == 1) {
|
||||
if($templateitem->hasvalue == 1 AND $feedback->autonumbering) {
|
||||
$itemnr++;
|
||||
echo '<td valign="top">' . $itemnr . '.) </td>';
|
||||
echo '<td valign="top">' . $itemnr . '. </td>';
|
||||
} else {
|
||||
echo '<td> </td>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue