40 Commits

Author SHA1 Message Date
Sam Hemelryk
8f685009b3 forum MDL-21086 cleaned up boilderplates and php doc packages 2009-12-10 03:11:18 +00:00
Petr Skoda
1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
skodak
4ba2221a09 MDL-18910 full support for module intro editor with embedded images 2009-04-22 04:46:04 +00:00
skodak
42f103be4c MDL-18910 moving modedit features to modname_supports() 2009-04-21 08:57:20 +00:00
skodak
6507d1a97e MDL-18910 normalised module intro and introformat 2009-04-20 19:10:05 +00:00
tjhunt
16851b22ad MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html 2008-09-25 10:04:01 +00:00
mjollnir_
b2a9505b22 MDL-16514 - adding format to forum mod_form and fixing regression in single forum type add instance 2008-09-15 15:55:11 +00:00
moodler
30a9aff589 MDL-14722 Added new maxattachments setting at admin and forum level to
set the maximum number of attachments for forum posts.   Default: 1.

Works, but still needs a bit of polishing to deal with re-editing posts (to stop people going above maxattachments)

Also fixed documentation for attachments.
2008-09-08 05:46:42 +00:00
sam_marshall
49f6e5f476 MDL-15498: Fixes to problems Petr identified with completion system checkin 2008-07-28 15:58:50 +00:00
sam_marshall
4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
skodak
8eb1d25ffe MDL-11844 new option for conditional stripping of tags from activity names 2008-07-26 15:15:25 +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
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
skodak
13bbe067f0 MDL-3942 - various forum scoring types - patch by Anthony Borrow; merged from MOODLE_19_STABLE 2008-02-05 11:22:13 +00:00
scyrma
d417533252 Fix for par of the missing strings, as reported in MDL-12294 2007-11-26 04:10:08 +00:00
skodak
4050572d56 MDL-10888 parent definition_after_data() must be called too!; merged from MOODLE_19_STABLE 2007-11-17 16:53:39 +00:00
mattc-catalyst
010a47bf7d MDL-10888: groupings - mod/forum - update to use new standard_coursemodule_elements() 2007-08-21 05:03:48 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
skodak
23a7718bd1 MDL-9696 used absolute path include in mod_forms 2007-06-10 23:20:45 +00:00
skodak
c3cec42188 MDL-9516 fixed mod_form.php logic 2007-06-03 19:08:14 +00:00
skodak
353228d8f4 MDL-9548 Implement grade_updated event triggers in Forum 2007-06-03 16:24:03 +00:00
poltawski
2ee60b4944 MDL-9742 Replaced stray tabs with spaces 2007-05-08 16:11:58 +00:00
nicolasconnault
b2e8e723eb MDL-8787 - Created new help file for News Forum Type, and overrode the help button for the forum type select in mod_form.php 2007-03-07 07:13:31 +00:00
jamiesensei
a7f7e52fc5 changed name of moodleform_mod method 'defaults_preprocessing' to 'data_preprocessing' in line with change of set_defaults name to set_data. 2007-01-16 15:36:33 +00:00
skodak
26de8d35ce fixed text field widths in new forms 2007-01-11 19:47:08 +00:00
jamiesensei
18a7736107 added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code. 2007-01-05 04:51:46 +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
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
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
jamiesensei
abf11956f9 changed method name addDependency to disabledIf and removed data/mod.html 2006-11-22 15:19:20 +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
a02c77dc6e glossary form migrated to formslib
and other formslib forms now using $COURSE global
2006-11-13 07:52:01 +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
jamiesensei
535e0ab6c3 migrated mod/forum/mod.html to new formslib 2006-11-10 03:04:34 +00:00