nicolasconnault
0be6f67819
MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site.
2007-08-17 19:09:11 +00:00
moodler
ca7ad7ee74
Merged error() fix from stable
2007-03-19 03:02:14 +00:00
skodak
beac4717de
MDL-8166 rename in/out methods in formslib - HQ consensus
2007-01-12 18:52:09 +00:00
jamiesensei
1d284fbd85
fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling)
2006-12-28 15:43:47 +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
skodak
cffb18cc3b
coding style fixes MDL-6954
2006-11-09 22:16:44 +00:00
skodak
e24a1f364a
coding style fixes MDL-6954
2006-11-09 21:58:12 +00:00
jamiesensei
45ca9e8e2d
added autofocus on first error and moved formslib include to inside request_form.php
2006-10-24 11:43:51 +00:00
jamiesensei
b6241ce2c8
fixed some whitespace problems
2006-10-17 11:38:46 +00:00
jamiesensei
e13cc88f02
migrated to new formslib code. Also removed $course variable which was been used in a number of places in this file but not set anywhere.
2006-10-17 11:08:13 +00:00
tjhunt
450a0a7db7
Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs.
2006-05-17 16:47:44 +00:00
skodak
f8a5159a2b
changes needed for new s() and p() - see bug #2338
2006-04-14 08:02:32 +00:00
skodak
a8ff614fb8
general cleanup of xxx_parameter() functions; fixed broken requesting of courses
2006-04-12 16:41:10 +00:00
mjollnir_
0705ff843b
Course request feature. Allows normal users to 'request' courses they would like created,
...
and admins can approve or reject pending courses.
Also, contains the ability to restrict activity modules on a per course basic. Strict config options:
enable restricting modules at ALL (for all courses, no courses, requested courses), what to do by default for newly created courses
as well as what modules to enable for above category by default.
This feature was created for the aim of building a community side to moodle - for institutes that have strict courses and enrolments, allowing normal users to request interest courses is a good feature,
but some modules may be redundant (assignment, lesson, quiz etc)
Please test!
2005-08-16 06:15:49 +00:00