mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
merge the items dropdown, radio and check to multiplechoice item
merge the items dropdownrated, radiorated to multiplechoicerated item the creating or editing of an item now use the formslib
This commit is contained in:
parent
13b31d6f9d
commit
6ee09cfe8b
25 changed files with 1342 additions and 1708 deletions
|
@ -23,7 +23,8 @@
|
|||
|
||||
$height = 40;
|
||||
$charcount = $SESSION->feedback->item->captcha->charcount;
|
||||
$fontfile = $CFG->dirroot.'/mod/feedback/item/captcha/default.ttf';
|
||||
// $fontfile = $CFG->dirroot.'/mod/feedback/item/captcha/default.ttf';
|
||||
$fontfile = $CFG->libdir.'/default.ttf';
|
||||
|
||||
$ttfbox = imagettfbbox ( 30, 0, $fontfile, 'H' );//the text to measure
|
||||
$charwidth = $ttfbox[2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue