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
37aa59a932
no need to use javascript for a submit button
2006-12-19 02:34:38 +00:00
toyomoyo
4cb35c1b95
MDL-7861, fixing xhtml for lesson. When in strict mode, javascript button is not working
2006-12-19 01:52:39 +00:00
toyomoyo
78d112679d
MLD-7861, making moodle xhtml strict. There are still errors in lesson mod
2006-12-18 06:13:04 +00:00
jamiesensei
19194f825a
added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method
2006-12-14 12:44:10 +00:00
toyomoyo
077f381461
accessiblity, associating <th> with respective row or col
2006-12-13 08:24:23 +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
mark-nielsen
f2a3512bbd
Merged in changes for MDL-7477 fix
2006-12-11 18:44:00 +00:00
mark-nielsen
eb302b1914
Merged in fix for MDL-7418
2006-12-08 18:48:01 +00:00
mark-nielsen
3cea312333
Merged changes from MOODLE_17_STABLE
2006-12-06 02:26:28 +00:00
mark-nielsen
15d2933a00
Merged in changes from MOODLE_17_STABLE for bug MDL-2006
2006-12-06 02:04:37 +00:00
jamiesensei
0befbdfd8f
petr's patch to fix problem with htmlarea breaking clientside validation. Also using id's with same naming convention as formslib for htmlareas.
2006-12-05 13:21:40 +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
mark-nielsen
512ce79274
Merged changes from MOODLE_17_STABLE for MDL-7707
2006-11-28 05:54:43 +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
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
toyomoyo
5169310847
merged fix for MDL-7112 select distinct on text field
2006-11-02 02:17:39 +00:00
skodak
d927bb5553
fixed incorrect use of require_capability() in lesson mod MDL-7314; merged from MOODLE_17_STABLE
2006-10-31 22:02:49 +00:00
sam_marshall
82928b7954
[MDL-7287] Lesson - tweaked continue.php to include a file via filesystem not HTTP because I couldn't see any reason to do it the latter way and it breaks under our loadbalancing system
2006-10-30 11:02:08 +00:00
stronk7
5d0fc5c33d
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
b8a342d7ac
New upgrade.php file added for this module. MDL-7214
2006-10-26 17:33:40 +00:00
thompson697
cf0b1faded
Apply modularity to the creation of the log file during restore to a new course.
...
Remove the responsibility for loging the application of the course start date offset, from activity modules to the backup module.
Merged from stable branch
2006-10-17 10:05:41 +00:00
toyomoyo
8db6090013
merged fix warnings during restore
2006-10-12 03:36:58 +00:00
moodler
2d5a4f255b
Merged fixes for MDL-6907 from stable
2006-10-11 06:21:58 +00:00
stronk7
b695b9106b
Typo recently introduced. MDL-6336
...
(merged from MOODLE_16_STABLE)
2006-10-06 15:03:46 +00:00
toyomoyo
837bde0cc0
fix for MDL-6336
2006-10-06 08:26:37 +00:00
thompson697
eb87ac71c5
Change creation of restorelog file location to protected backupdata folder.
...
Reassign style and language links
2006-10-04 14:50:50 +00:00
mark-nielsen
5491947aa1
NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files.
2006-09-30 19:49:40 +00:00
mark-nielsen
eefa69ce5c
Bug Fix: The dependency drop-down was displaying incorrectly. Fixed up code to use API to gather Lessons correctly.
2006-09-30 19:24:22 +00:00
mark-nielsen
b3b4bc44ce
BugFix for MDL-6730: now blank lessons redirect to edit.php where the user is prompted by a menu of options.
2006-09-30 19:00:07 +00:00
martinlanghoff
ea9a729f80
mod/lesson, mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters
2006-09-26 05:11:29 +00:00
mark-nielsen
31b50f6442
Fix for MDL-6628: the lesson object was not being cloned correctly.
2006-09-23 19:57:35 +00:00
mark-nielsen
6707a280a9
Moved endofbranch redirect up to avoid double printing of messages.
2006-09-23 19:32:25 +00:00
mark-nielsen
c7c404b964
Fixed alignment issue in IE
2006-09-23 18:51:49 +00:00
mark-nielsen
563106f0a8
Fixed branch table buttons to work with JavaScript turned off. This fix lead to some minor changes to the button output, but hopefully simplified things.
...
Also, removed .hidden-label class because it was no longer in use due to label fixes earlier.
2006-09-23 18:45:59 +00:00
mark-nielsen
9b5274b96d
Fixed a label
2006-09-23 01:01:14 +00:00
vyshane
94bcea7983
Removed mod/lesson:view
2006-09-22 02:58:39 +00:00
skodak
eef868d17d
major whitespace cleanup - fixed trailng whitespace in new files and admin area
2006-09-20 21:00:45 +00:00
mark-nielsen
096a664c01
Attempted to improve the display of the table in collapsed view
2006-09-19 05:57:57 +00:00
mark-nielsen
7c03355aab
Fix for the instance mentioned in MDL-3058
2006-09-19 05:11:57 +00:00
mark-nielsen
4bea0828a2
Got ahead of myself, fixed by bug fix
2006-09-19 04:49:45 +00:00
mark-nielsen
51c870d253
Notice fix in report for numerical question types
2006-09-19 04:48:13 +00:00
mark-nielsen
9ae4e9f5de
Fix in addpage.php when one deletes all pages in a lesson then adds a new one
...
Fix numerical questions were not displaying the student's answer in the feedback
2006-09-19 04:45:18 +00:00
mark-nielsen
b14123498f
Saw several problems with lesson_choose_from_menu, so finally replaced its use with choose_from_menu in lib/weblib.php
2006-09-19 04:06:32 +00:00
mark-nielsen
f08769317f
Removed hard-coded strings and fixed labels
2006-09-19 03:47:49 +00:00
mark-nielsen
63d4c906c7
Removed a hard-coded string and added PHPdoc comments for the page
2006-09-19 02:54:57 +00:00
mark-nielsen
7adb975062
removed some unecessary comments
2006-09-19 02:48:29 +00:00