mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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
|
@ -146,7 +146,14 @@
|
|||
$itemclass = 'feedback_item_'.$item->typ;
|
||||
//get the instance of the item-class
|
||||
$itemobj = new $itemclass();
|
||||
$itemnr = $itemobj->print_analysed($item, $itemnr, $mygroupid);
|
||||
$itemnr++;
|
||||
if($feedback->autonumbering) {
|
||||
$printnr = $itemnr.'.';
|
||||
} else {
|
||||
$printnr = '';
|
||||
}
|
||||
$itemobj->print_analysed($item, $printnr, $mygroupid);
|
||||
// $itemnr = $itemobj->print_analysed($item, $itemnr, $mygroupid);
|
||||
echo '</table>';
|
||||
}
|
||||
}else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue