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:
agrabs 2008-04-28 09:58:09 +00:00
parent 13b31d6f9d
commit 6ee09cfe8b
25 changed files with 1342 additions and 1708 deletions

View file

@ -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];