First stab at better Moodle 1.9 integration for PaintWeb
commit29dfa29cad6dff3c90038fbe6eeff3c083a43b8a
authorMihai Sucan <mihai.sucan@gmail.com>
Fri, 6 Nov 2009 14:04:47 +0000 (6 16:04 +0200)
committerMihai Sucan <mihai.sucan@gmail.com>
Mon, 16 Nov 2009 17:06:02 +0000 (16 19:06 +0200)
treee5b8013fea8d03b6e2fcfcb2861cf854e57c6f95
parent4b5e19ddcb63f16b32fd4a989a35bf70aa27422d
First stab at better Moodle 1.9 integration for PaintWeb

- Improvements to the imagesave19.php script used for saving images in Moodle
1.9.
- Patched the lib/dmllib.php file to sniff/track any images saved by PaintWeb in
any table+column of type text. The tracking is performed by the new
paintweb_db_hook() function which is invoked by the two insert_record() and
update_record() functions. The images are tracked inside the new paintweb_images
table - no other table is touched in any way.
lib/dmllib.php
lib/paintweb/CHANGES
lib/paintweb/build/paintweb.js
lib/paintweb/build/paintweb.src.js
lib/paintweb/ext/moodle/imagesave19.php