jamiesensei
18a7736107
added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code.
2007-01-05 04:51:46 +00:00
moodler
d69e9c1519
Changed fieldsets to use the new invisiblefieldset class
2007-01-05 02:01:45 +00:00
skodak
b7dc225654
MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead
2007-01-04 21:32:36 +00:00
skodak
fa73873105
MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit
2007-01-04 18:23:55 +00:00
moodler
a1857045dc
Tidy up discussion controls using CSS MDL-7861
2007-01-04 15:58:55 +00:00
moodler
c7a049a3e2
More fixes for Strict MDL-7861
2007-01-04 15:31:05 +00:00
moodler
81d227745a
XHTML Strict fixes for forum search MDL-7861
2007-01-04 15:23:45 +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
Martin Langhoff
f3f7610c90
cvsimport fixups -- cvshead had strayed from upstream
2007-01-04 13:15:04 +13:00
skodak
32f0b38a4a
MDL-8049 Remove all language=Javascript from javascript includes
2007-01-03 19:33:44 +00:00
skodak
e25cb71041
MDL-8050 1.2 Remove all target="_top"
2007-01-03 19:24:48 +00:00
vyshane
37ce014f91
Fixed xhtml for MDL-7861
2007-01-03 02:00:52 +00:00
vyshane
76b1f3c740
XHTML fixes for MDL-7861.
2007-01-02 01:25:40 +00:00
skodak
feaf5d06db
MDL-8015 improved file uploading
...
- changed file upload api in formslib
- fixed blog attachments and related code in file.php
- fixed glossary attachments
- fixed embedded images in forum posts and blogs - only gif, png and jpeg; the problme was that svg were embedded using img tag which was wrong, the same applied to other picture formats unsupported by browsers (please note that student submitted svg should be never embedded in moodle page for security reasons)
- other minor fixes
2006-12-28 21:21:44 +00:00
jamiesensei
b6d15ddef9
removed all 'Revert' buttons from forms and removed it altogether from add_action_buttons method since it was decided it didn't contribute to usability.
2006-12-28 16:12:22 +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
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
stronk7
72da35d536
Add support for multilang titles in forum->posts
...
Merged from MOODLE_17_STABLE
2006-12-20 16:41:11 +00:00
stronk7
47c9c8f5dd
Added one missing format_string() to post->subject
...
Merged from MOODLE_17_STABLE
2006-12-20 10:00:02 +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
vyshane
ac21137379
Making sure that restore views work in xhtml strict 1.0. MDL-7861.
2006-12-19 07:00:14 +00:00
jamiesensei
19194f825a
added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method
2006-12-14 12:44:10 +00:00
skodak
102a58099a
SC#341 fixed initilaization of navtail variable
2006-12-14 08:14:03 +00:00
toyomoyo
3f5abcb20a
accessibility fixes
2006-12-14 07:48:40 +00:00
toyomoyo
077f381461
accessiblity, associating <th> with respective row or col
2006-12-13 08:24:23 +00:00
skodak
2840c21611
fixed timestart and timeend warning when adding new discussion
2006-12-10 18:33:07 +00:00
skodak
e0a83a88ef
fixed mfrom typo
2006-12-10 18:23:50 +00:00
jamiesensei
11f260f4ee
some changes to date_selector and date_time_selector. Now automatically disabledIf disable checkbox is checked. 'optional' option includes a disable checkbox.
2006-12-09 11:42:57 +00:00
vyshane
57f876b732
Merged from 1.7
2006-12-05 08:15:01 +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
vyshane
ea3caf69cd
Merged from 1.7.
2006-12-04 08:09:22 +00:00
vyshane
b725b819da
Merged from 1.7.
2006-12-01 05:21:22 +00:00
skodak
2495b9a128
fixed addStopFieldsetElements of submitbutton
2006-11-29 20:57:28 +00:00
skodak
a85e7029b7
fixed attachment typos
2006-11-29 19:53:21 +00:00
skodak
edebb94faa
MDL-7434 all images that convey information should have alt text to convey that information - part 8
2006-11-26 19:30:39 +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
02f8f37d5d
added defaults for when there is no submitted data to datetimeselector and small fix for forum\mod_form.php
2006-11-23 09:38:33 +00:00
skodak
c80a13c736
added new set_max_file_size method to moodleform MDL-6914
2006-11-23 08:24:58 +00:00
jamiesensei
abf11956f9
changed method name addDependency to disabledIf and removed data/mod.html
2006-11-22 15:19:20 +00:00
skodak
2f8d5316a1
Forums index page, add table headers for section/week MDL-7480
...
and fixed section_links block for weekscss format
2006-11-22 07:48:35 +00:00
jamiesensei
9c03bbaa04
more fixes for lockoptions behaviour; changes to forum/mod_form.php; removed forum/mod.html
2006-11-21 11:02:13 +00:00
jamiesensei
6e372b2591
added commenting to addDependency method and used new functionality in forum\mod_form.php
2006-11-21 09:33:48 +00:00
jamiesensei
373503035f
little bit of clean up. removed extra global var and format element helpbutton is now included in element definition.
2006-11-15 07:49:43 +00:00
jamiesensei
a02c77dc6e
glossary form migrated to formslib
...
and other formslib forms now using $COURSE global
2006-11-13 07:52:01 +00:00
vyshane
3d436d5974
Error message to use lang string nopostdiscussion
2006-11-13 07:38:51 +00:00
vyshane
a4ea3ef30a
Merged from 1.7
2006-11-13 07:32:21 +00:00
vyshane
9fbccd3907
Merged from 1.7
2006-11-13 03:27:41 +00:00
skodak
c58efbf529
readded file uploads to forum post form, file processing was not updated because it would need a rewrite MDL-6961
2006-11-12 18:36:00 +00:00
jamiesensei
d24206d657
fixed problem with select box element for 'forum type' which must sometimes display option which is otherwise unselectable.
2006-11-12 11:07:12 +00:00