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
toyomoyo
8fc21fc00f
MDL-7861, adding missing tag
2006-12-19 06:16:17 +00:00
toyomoyo
f78aa86032
MDL-7861, strict xhtml for course/index page
2006-12-19 05:57:55 +00:00
toyomoyo
866065f78b
MDL-7861, fixing xhtml strict problems in scales
2006-12-19 04:37:28 +00:00
skodak
658e87e302
MDL-7903 Guests can not enter course that allows guests with key; merged from MOODLE_17_STABLE
2006-12-18 19:21:10 +00:00
toyomoyo
904092cb4d
DML-7861, fixing misnmatched tags
2006-12-18 07:55:40 +00:00
toyomoyo
54926e7818
various accessbility fixes
2006-12-13 03:03:43 +00:00
sam_marshall
ae628043a0
MDL-7401 Course format database/backup/lang/stylesheet/capability support
2006-12-11 15:47:23 +00:00
jamiesensei
0b82f5b913
fix for error in logic about where to redirect to after a cancel or after activity mod is successfully added or update.
2006-12-05 13:23:18 +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
skodak
7b678e0a99
MDL-7767 Guests should not be able to hide course sections - section hiding is not stored in db for guests, only session is used now; merged from MOODLE_17_STABLE
2006-12-04 09:02:17 +00:00
jamiesensei
67906614ad
now using disabledIf method in course/edit
2006-11-30 08:47:52 +00:00
skodak
d04f52349f
MDL-7438 cleaned up groups assign page
2006-11-29 22:32:32 +00:00
skodak
fe4bc84ce1
MDL-7438 cleaned up metacourse children import page
2006-11-29 22:06:48 +00:00
skodak
3108c00b83
added label to group form MDL-7438
2006-11-28 21:55:31 +00:00
skodak
2493fc103c
ensure that layout table headers are not marked as th, but by label instead MDL-7438
...
th should be used only for data tables
2006-11-28 19:25:24 +00:00
skodak
5772f71f1c
fixed addStopFieldsetElements of submitbutton
2006-11-28 10:55:12 +00:00
nfreear
8430912a73
Fixes MDL-7603 <script Language..> should use 'type', user/index.php, course/report/participation/index.php
2006-11-28 10:23:26 +00:00
skodak
d83d000ee3
Place information before controls on upload forms MDL-7491
2006-11-28 08:24:45 +00:00
jamiesensei
2dbd640932
some fixes for disabledIf and using disabledIf in course/edit_form.php
2006-11-28 08:04:00 +00:00
toyomoyo
78e4f30a72
fix for MDL-7436, indicate resource type in the text link.
2006-11-28 02:22:17 +00:00
skodak
aafad5d1a3
MDL-7434 all images that convey information should have alt text to convey that information - part 6
2006-11-26 19:14:44 +00:00
skodak
344044b28e
MDL-7434 all images that convey information should have alt text to convey that information - part 1
2006-11-24 20:16:37 +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
skodak
dc3306290d
Students cannot enrol with PayPal plugin when using PHP4 MDL-7529
2006-11-23 20:16:36 +00:00
skodak
3acdf94569
Ensure all table headers are marked up with 'th' MDL-7438
2006-11-22 22:41:01 +00:00
vyshane
607c1bc1c6
Merged from 1.7.
2006-11-22 07:36:41 +00:00
toyomoyo
698fa43977
merged, adding capability checks
2006-11-21 05:31:46 +00:00
toyomoyo
1ed33201b1
merged fix for MDL-7426, removed link to teacher.php
2006-11-21 04:45:32 +00:00
vyshane
90ebdf654b
Merged from 1.7.
2006-11-21 04:19:01 +00:00
toyomoyo
4827a1d19f
merged fix for MDL-7540, wrong usage of context levels
2006-11-21 03:26:31 +00:00
skodak
3dc579ad6d
removed JS submission from stats code MDL-7492
2006-11-20 10:19:55 +00:00
toyomoyo
d42c64ba14
fix for MDL-7595, adding coursemanager config variable to determine what roles are displayed on course description page
2006-11-17 08:57:50 +00:00
vyshane
88c5092a50
Merged from 1.7.
2006-11-17 05:54:21 +00:00
toyomoyo
b06334e833
making hidden assignment work with multiple roles
2006-11-16 08:29:25 +00:00
toyomoyo
ae9761ec77
merged, fixed a problem when a user has not visited a course, he is not shown. Changed get_user_roles to take in additional parameter
2006-11-16 05:17:43 +00:00
vyshane
29ca8b882d
Merged from 1.7.
2006-11-16 03:28:09 +00:00
skodak
e517b6dade
MDL-6949 fixed enrolment choice in course edit form
2006-11-15 19:06:49 +00:00
jamiesensei
145dbd7cee
added action to redirect back to course page or to url in session var if cancel has been pressed.
2006-11-15 07:34:34 +00:00
skodak
1936c10e54
fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899
2006-11-12 08:55:13 +00:00
jamiesensei
df56998ab1
need to pass course as customdata to form definition
2006-11-10 01:27:51 +00:00
skodak
cffb18cc3b
coding style fixes MDL-6954
2006-11-09 22:16:44 +00:00
skodak
396254981f
coding style fixes MDL-6949
2006-11-09 22:08:30 +00:00
skodak
e24a1f364a
coding style fixes MDL-6954
2006-11-09 21:58:12 +00:00
skodak
2378265e51
course/edit.php now uses new forms lib, the old one is gone; please report any problems in MDL-6949
2006-11-09 21:29:31 +00:00
skodak
3d397ee029
fixed metacourse issues in course/edit2.php MDL-6949
2006-11-09 21:22:49 +00:00
skodak
493cde249e
Child courses import list empty MDL-7424; added new count_courses_notin_metacourse() function, the old one was kept for BC
2006-11-09 21:12:31 +00:00
jamiesensei
3cd7940b0c
moved the inclusion of mod/{modname}/lib.php to before form definition so that constants in there can be used in form defintion
2006-11-09 19:22:38 +00:00
jamiesensei
264867fdeb
add code to redirect to modedit.php from course/mod.php for activities adding / updating using new formslib
...
migrated chat/mod.html to formslib definition of form is in chat/mod_form.php
2006-11-09 18:25:58 +00:00
toyomoyo
555b75f424
merged category page cleaning - MDL-7409
2006-11-09 06:22:10 +00:00