Commit Graph

12 Commits

Author SHA1 Message Date
scyrma cb6c02c4b7 MDL-14741: cleaning up some leftover cruft 2008-07-30 07:58:05 +00:00
scyrma 8c37106df2 MDL-14741: Simplifies the activation of the htmleditor. This is a work-in-progress at this stage, but it's an improvement on the current state. 2008-06-11 08:37:26 +00:00
scyrma b26be9a9cd MDL-14741: use the default html editor, as chosen in the admin settings 2008-06-05 09:36:55 +00:00
jamiesensei bb90bf3fb2 when element is frozen should not escape html entities in htmleditor. 2007-07-16 06:04:20 +00:00
jamiesensei 64360ee7b5 made hardFreeze work properly for a whole form. New paramater in moodleform constructor 'editable' defaults to true. If true then display form as normal. If false then hardFreeze whole form. Now displays form without an submit buttons. If form is hard frozen no data is ever passed to get_data. 2007-05-27 05:01:51 +00:00
jamiesensei 18a7736107 added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code. 2007-01-05 04:51:46 +00:00
jamiesensei 5ce73257ab some bug fixes in setHelpButton internals.
added new editorhelpbutton function that can be used to refer to several help topics.
2007-01-04 10:23:06 +00:00
skodak 7850588ab8 MDL-7909 add optional id parameter to choose_from_menu() and print_textarea() + minor quoting improvement in choose_from_menu() 2006-12-12 22:06:37 +00:00
skodak 7f40a229a4 New version of formslib.php (see MDL-6914 for more details), course/edit2.php is disabled for now - working on edit3.php ;-)
More inline comments/docs today.
2006-10-12 07:33:57 +00:00
jamiesensei 5ae7038594 modified api to create an htmleditor element 2006-09-26 16:40:35 +00:00
jamiesensei 80f962df90 * added error message for setHelpButton method not existing
* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names
2006-09-26 09:42:42 +00:00
jamiesensei da6f876395 This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.
This is NOT YET PART OF THE MOODLE API it is here for experimental purposes.
2006-09-24 17:04:51 +00:00