Commit graph

1641 commits

Author SHA1 Message Date
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
vyshane
aa91a2f22c Merged from 1.7. 2007-02-14 02:57:37 +00:00
vyshane
0985b11b80 Merged from 1.7. 2007-02-14 01:58:54 +00:00
vyshane
b304e7f770 Merged from 1.7. 2007-02-13 05:25:45 +00:00
vyshane
6155150c02 Merged from 1.7. 2007-02-13 02:28:26 +00:00
vyshane
6527b5c2e9 Merged from 1.7. 2007-02-09 01:33:24 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
vyshane
02cb4f393d Merged from 1.7. 2007-02-02 07:56:45 +00:00
skodak
4e43dc39f5 MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - undoing my previous hack for MDL-7114 2007-01-29 21:36:57 +00:00
vyshane
ebe82e08ec Merged from 1.7. 2007-01-29 07:36:55 +00:00
vyshane
1466926adf Merged from 1.7. 2007-01-29 06:02:17 +00:00
skodak
9152fc9938 MDL-8323 finished full conversion to proper $COURSE global - no more $CFG->coursetheme, $CFG->courselang - improved course_setup(), current_language() and current_theme(); and Chameleon theme fixes needed for global $COURSE
MDL-7962 chat seems to be completely broken in head (fixed wrong JS)
* reworked chat themes support
MDL-8338 Cron does not need cookies
MDL-8339 forum cron capabilities problems
* minor deprecated function current_encoding() cleanup
2007-01-28 21:18:08 +00:00
skodak
dcf6d93c9c MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms
2007-01-27 19:56:08 +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
vyshane
818c1b0592 Merged from 1.7. 2007-01-16 02:44:13 +00:00
stronk7
a4bad45c2c Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:32:19 +00:00
skodak
32db0d42c9 MDL-8166 some forgotten set_defaults converted to set_data 2007-01-12 19:01:31 +00:00
skodak
beac4717de MDL-8166 rename in/out methods in formslib - HQ consensus 2007-01-12 18:52:09 +00:00
vyshane
26d932b109 Merged from 1.7. 2007-01-12 05:05:09 +00:00
skodak
26de8d35ce fixed text field widths in new forms 2007-01-11 19:47:08 +00:00
moodler
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
moodler
42d06f50f4 Strict XHTML logic fixes for discussions in some circumstances MDL-7861 2007-01-08 12:13:35 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
moodler
7f51199bd1 FIxes for Strrrrrict in forum ratings 2007-01-08 08:51:47 +00:00
moodler
3df151627c More forum tidying up, less tables 2007-01-08 07:16:48 +00:00
moodler
0be4d8bf67 Removed more tables from forum display :-) Strrrrrict! 2007-01-08 06:56:15 +00:00
vyshane
41a220329e Fix for MDL-7861 2007-01-07 10:19:01 +00:00
vyshane
8703f29af7 Added fieldset tag. MDL-7861. 2007-01-07 06:49:25 +00:00
skodak
d2ce367fb9 MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera) 2007-01-06 19:22:58 +00:00
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