Commit graph

863 commits

Author SHA1 Message Date
stronk7
8d2191e60c Show continue button after importing glossary. MDL-9071
Merged from MOODLE_18_STABLE
2007-04-03 15:44:17 +00:00
toyomoyo
5bd76d7fba merged fix for MDL-9097, xhtml fixes for glossary 2007-03-30 07:04:43 +00:00
stronk7
ab397f2613 Fixing approval interface. Step4. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-30 00:28:02 +00:00
stronk7
a5c3d160dc Fixing export interface. Step3. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-29 23:25:04 +00:00
stronk7
6ca980741f Fixing import interface. Step2. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-29 23:13:09 +00:00
stronk7
136ce8dee2 Moving options from 2nd tab to main area. Step1. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-29 22:19:29 +00:00
stronk7
43e891ede5 silly change, ignore it... 2007-03-26 23:30:34 +00:00
stronk7
96e4104def Always print the entry when adding, updating/deleting comments. MDL-9047
Merged from MOODLE_18_STABLE
2007-03-26 23:02:35 +00:00
stronk7
572889f194 Fix a problem with glossary not being able to sort by firstname.
Merged from MOODLE_18_STABLE
2007-03-24 00:58:43 +00:00
stronk7
1d33f652dd One default was causing author view not being able to sortby firstname or lastname.
Merged from MOODLE_18_STABLE
2007-03-24 00:38:26 +00:00
skodak
7dbe6ceb4b MDL-8347 Cannot create new glossary category if category with same name exists in another course on site; patch by Ray Lawrence; merged from MOODLE_18_STABLE 2007-03-22 22:45:02 +00:00
stronk7
82015ed26f urlencode() hook for correct parameter handling & XHTML.
Merged from MOODLE_18_STABLE
2007-03-20 00:11:55 +00:00
stronk7
c988beb565 Changing one generic class-name to a glossary specific one.
Merged from MOODLE_18_STABLE
2007-03-19 23:52:16 +00:00
stronk7
7a3ec1afc5 Deleting some inline styles and unused code. MDL-8746
Merged from MOODLE_18_STABLE
2007-03-19 20:15:03 +00:00
stronk7
efe5792531 Now the add/update entry page XHTML validates and doesn't show
the tabs and intro anymore.

Merged from MOODLE_18_STABLE
2007-03-19 18:43:30 +00:00
stronk7
66111853bb Now glossary "add entry" is a button instead of a tab. Part of MDL-8746
Merged from MOODLE_18_STABLE
2007-03-19 18:22:59 +00:00
martinlanghoff
9aa9080756 Auto-linking filters: fix serious caching bug in forum mailouts
Autolinking of glossaries, activity, resources and wiki names were using a
trivial single-entry cache implemented with static vars. The cache was _not_
keyed on course.

This bug was visible during forum_cron() which walks many courses. The cache
would get "stuck" on the first course that had something to put in the cache.
All mailouts from there onwards would autolink to stuff in the wrong course.
2007-03-19 06:33:45 +00:00
stronk7
c2c54ac0fd Minor fixes for XHTML compliance
Merged from MOODLE_18_STABLE
2007-03-19 00:02:19 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
stronk7
11cc84ee9d Fixing RSS link to source. http://moodle.org/mod/forum/discuss.php?d=65762
Merged from MOODLE_18_STABLE
2007-02-27 18:22:04 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
skodak
5fe904adc2 MDL-8490 Glossary student not being able to edit entries 2007-02-13 19:25:04 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
moodler
9ca8cc0847 Basic fixing of tabs for glossary 2007-02-01 06:54:15 +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
stronk7
73be66c7a8 Now all the modules global config pages are valid XML. Related to MDL-7861 2007-01-13 20:13:58 +00:00
stronk7
a4bad45c2c Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:32:19 +00:00
skodak
beac4717de MDL-8166 rename in/out methods in formslib - HQ consensus 2007-01-12 18:52:09 +00:00
toyomoyo
36a2b6bdc3 MDL-7861, xhtml strict related changes for glossary 2007-01-12 06:57:33 +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
skodak
ff8889d8cf MDL-7861 still some icons left ;grr previous commid had wrong MDL id 2007-01-08 20:38:03 +00:00
skodak
0f13ec8f9b MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon 2007-01-08 20:30:38 +00:00
skodak
60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
jamiesensei
18a7736107 added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code. 2007-01-05 04:51:46 +00:00
skodak
7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +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
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13: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
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
toyomoyo
6221541139 taking out unwanted/broken strings from mod_form to make form xhtml strict MDL-7861 2006-12-22 04:23:43 +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
toyomoyo
077f381461 accessiblity, associating <th> with respective row or col 2006-12-13 08:24:23 +00:00
skodak
d73e265e9a added cancel button to glossary comment form and fixed initialization of button arrays MDL-7778 2006-12-05 09:44:11 +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
skodak
32776fef0e minor xhtml fixes 2006-11-30 09:50:01 +00:00
skodak
d83d000ee3 Place information before controls on upload forms MDL-7491 2006-11-28 08:24:45 +00:00