moodler
99bd2ec8aa
MDL-15405 Send the correct filearea forum_attachment (not that we really use it)
2008-09-02 03:00:51 +00:00
moodler
03efef4a7e
FIx fileareas being sent to mform for forum post
2008-08-29 06:57:10 +00:00
scyrma
4302300219
MDL-15405: A first form (partly) converted to the new filepicker element.
2008-08-27 07:57:54 +00:00
skodak
0faf6791f4
MDL-16072 File storage conversion Forum
2008-08-16 21:24:05 +00:00
ericmerrill
b230cac1da
MDL-15697 Added a check form rule limiting post subject and forum name to 255 characters, as limited by the DB
2008-07-18 13:19:55 +00:00
skodak
89d35c49e6
MDL-13936 fixed group handling when adding new discussions; merged from MOODLE_19_STABLE
2008-04-14 19:05:36 +00:00
skodak
4136c239ac
MDL-14113 when adding/editing posts the target group is now visible + fixed permission check when replying (removed obsolete mygroup function); merged from MOODLE_19_STABLE
2008-04-14 18:35:18 +00:00
skodak
90f4745c22
MDL-14113 patch for multiple issues - see tracker for subtasks; merged from MOODLE_19_STABLE
2008-04-13 19:15:02 +00:00
skodak
a78890d593
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE
2007-11-23 22:15:07 +00:00
scyrma
a9237b8b45
MDL-3632 : this prevents people without mod/forum:viewhiddentimedposts to see hiddentimedposts.
2007-11-19 04:44:08 +00:00
poltawski
2ee60b4944
MDL-9742 Replaced stray tabs with spaces
2007-05-08 16:11:58 +00:00
nicolasconnault
9217695a64
MDL-8696 - Just reduced input field from 64 to 48
2007-03-13 07:38:54 +00:00
toyomoyo
c9c249a185
merged fix for MDL-8577, message textarea too big to fit
2007-02-22 03:22:31 +00:00
skodak
32db0d42c9
MDL-8166 some forgotten set_defaults converted to set_data
2007-01-12 19:01:31 +00:00
skodak
26de8d35ce
fixed text field widths in new forms
2007-01-11 19:47:08 +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
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
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
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
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
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
skodak
c80a13c736
added new set_max_file_size method to moodleform MDL-6914
2006-11-23 08:24:58 +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
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
skodak
0e52f01f0e
coding style changes MDL-6961
2006-11-09 23:04:55 +00:00
jamiesensei
8adca237cf
following on from last commit to post.php removing redundant post.html and adding post_form.php new formslib form description
2006-11-07 09:08:08 +00:00