Commit Graph

27 Commits

Author SHA1 Message Date
thepurpleblob 4d22ec8144 MDL-11090
Passwords are now held in clear text so you can see what the password
is on the config screen.
Still backward compatible with old md5 passwords (which are still not displayed
of course)

Merged from STABLE_19
2008-11-26 14:34:40 +00:00
tjhunt 9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
skodak 8eb1d25ffe MDL-11844 new option for conditional stripping of tags from activity names 2008-07-26 15:15:25 +00:00
jerome 646fc29036 MDL-15112 lesson dml conversion 2008-06-06 04:03:40 +00:00
skodak c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
scyrma d417533252 Fix for par of the missing strings, as reported in MDL-12294 2007-11-26 04:10:08 +00:00
skodak a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
mattc-catalyst 0ffa2c950e MDL-10888: groupings - mod/lesson - updated to support groupings 2007-08-27 23:05:42 +00:00
skodak e04ff2d559 MDL-10383 adding new standard elements method - modules now must specify what they support (groups/groupings/groupmembersonly); by default only groupmode selector is enabled 2007-08-20 07:27:04 +00:00
skodak 602433133e MDL-10105 idnumber uniqueness tested before insert in UI now - both modedit and item edit pages 2007-08-02 10:38:18 +00:00
mark-nielsen 862bd9cd9c Attempting to make the form more compact by merging yes/no fields as an enable checkbox after another field to enable/disable the feature 2007-07-24 08:12:12 +00:00
mark-nielsen acf85537ee Implemented MDL-10558 - Also took this as an opportunity to create two new methods to reduce code redundancy in the lesson save routines. 2007-07-24 06:33:53 +00:00
skodak 23a7718bd1 MDL-9696 used absolute path include in mod_forms 2007-06-10 23:20:45 +00:00
mark-nielsen e72be0548e Merging in changes for MDL-9947 and MDL-9923 from MOODLE_18_STABLE 2007-05-28 18:55:15 +00:00
mark-nielsen 11bf5b8301 Merging fixes for MDL-9757, MDL-9619 and MDL-9366 from MOODLE_18_STABLE 2007-05-23 17:48:12 +00:00
poltawski e73457e4ba MDL-9742 Converting tabs to spaces 2007-05-08 15:44:37 +00:00
mark-nielsen 888f0c5460 Adding blocks to lesson
* added pagelib.php with lesson_page class definition
 * Lesson view now uses standard page layout classes
Other fixes:
 * minor fix to mod settings form
 * fixed function names (some were missing lesson_ prefix)
2007-03-24 23:07:59 +00:00
jamiesensei a7f7e52fc5 changed name of moodleform_mod method 'defaults_preprocessing' to 'data_preprocessing' in line with change of set_defaults name to set_data. 2007-01-16 15:36:33 +00:00
skodak 26de8d35ce fixed text field widths in new forms 2007-01-11 19:47:08 +00:00
Martin Langhoff f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
jamiesensei f07b9627b6 changes to how we generate the id attribute of forms and the naming convention of forms
migrate blog edit to formslib
2006-12-28 09:32:45 +00:00
jamiesensei a23f0aaf95 * Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements
* Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B
* is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
* added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups'
* quiz/mod.html migrated to formslib
* glossary/edit.html migrated to formslib
* extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation.
* added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form.
* added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element.
* added default 'action' for moodleform  - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
2006-12-19 07:03:08 +00:00
jamiesensei 19194f825a added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method 2006-12-14 12:44:10 +00:00
jamiesensei 19110c573d added new 'cancel' element type and introduced new is_cancelled() MoodleQuickForm method.
also used new cancel button in all mod_forms as well as a 'Revert' button and reworked logic about where to go on cancel or after submission for modedit.php
2006-12-04 09:36:30 +00:00
jamiesensei 74e01e6281 changed name of submit buttons to submitbutton instead of sumbit as submit was conflicting with method form.submit() 2006-11-24 16:38:22 +00:00
jamiesensei e24b7f851a some restructuring of formslib - moving moodleform_mod definition to new file course\moodleform_mod.php and some changes to moodleform_mod standard elements setup and moodleform disabledIf API 2006-11-24 06:39:15 +00:00
jamiesensei 5f649aaa79 migrated mod/lesson/mod.html to formslib 2006-11-15 07:44:33 +00:00