]> git.mjollnir.org Git - moodle.git/commit
Clicking on a template tag e.g. [[field_name]] now adds the template tag to
authorvyshane <vyshane>
Tue, 14 Mar 2006 05:32:41 +0000 (05:32 +0000)
committervyshane <vyshane>
Tue, 14 Mar 2006 05:32:41 +0000 (05:32 +0000)
commitd02d1380707bdaf807181c1c1d8f449e3c1b6db2
tree54136d0bebe38ec08033de79b9ef125ffc4aa202
parentd13c59383a51054dbbf0e3d5c20d516660bf4369
Clicking on a template tag e.g. [[field_name]] now adds the template tag to
the HTMLArea editor in the template views. This is not currently working in
source code mode of the editor.

Added equivalent of use_html_editor() and print_editor_config() from
/lib/weblib.php to textarea field class. We use a copy in that class instead of
calling the functions in /lib/weblib.php because we want the data module to be
compatible with Moodle 1.5. This is not ideal, but it is a necessary evil.

Updated the textarea field class to use the correct path to
/lib/editor/htmlarea/htmlarea.php.
mod/data/add.php
mod/data/field/textarea/field.class.php
mod/data/templates.php