247 Commits

Author SHA1 Message Date
moodler
6bf96bb89c Merged version bump from 1.9 2008-03-03 12:03:05 +00:00
moodler
99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
skodak
1f106b3f1d MDL-13155 once more - reverting mod/xx/index.php to use get_all_instances_in_courses() again, should be now nearly the same as in 1.8.x ;-) merged from MOODLE_19_STABLE 2008-02-05 21:40:21 +00:00
skodak
76cbde4138 MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE 2008-02-01 14:10:49 +00:00
skodak
52ae8c057a MDL-12945 fixing mod indexes broken by previous commit; merged from MOODLE_19_STABLE 2008-02-01 09:09:04 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
skodak
0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
nfreear
532f494d96 Fixes reopened bug MDL-7472, "Explicitly label radio buttons in Survey" - removes use of USER->screenreader using get_accesshide + many other accessibility fixes. 2007-11-21 14:50:32 +00:00
poltawski
b18921676e MDL-11124 - Allowed 'There are no [modulename]' translations. This is currently
hardcoded and can be discovered through the user interface resonably easily.

Merged from MOODLE_19_STABLE
2007-10-29 10:44:50 +00:00
tjhunt
bfbef967bc Fix notice. Meged from MOODLE_19_STABLE. 2007-10-17 14:36:03 +00:00
tjhunt
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
iarenaza
0baafc173a Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
mattc-catalyst
07aa205712 MDL-10888: groupings - mod/survey - updated to use groupings 2007-08-28 00:12:01 +00:00
skodak
bb5b72244a MDL-10890 all require_login() in modules reviewed and fixed use of $cm 2007-08-17 12:49:28 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
skodak
1d68419596 MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9 2007-08-15 19:28:11 +00:00
stronk7
87f47bec94 Fixing one SQL that could cause problems with coincidences
in the associative array. MDL-10787

Merged from MOODLE_18_STABLE
2007-08-10 01:46:17 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
moodler
4bcd49bebd Patch from Chris Holmes for MDL-10027, merged from 1.8 2007-06-25 09:21:49 +00:00
skodak
23a7718bd1 MDL-9696 used absolute path include in mod_forms 2007-06-10 23:20:45 +00:00
mattc-catalyst
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
skodak
a33bbfddfc (MDL-9470) Survey submission JS broken; merged from MOODLE_18_STABLE 2007-04-20 17:52:41 +00:00
mattc-catalyst
dc0e9265f6 Breadcrumbs: mod/survey changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:29:42 +00:00
skodak
e0ca19a12d MDL-8781 fixed typo; merged from MOODLE_18_STABLE 2007-03-27 22:03:30 +00:00
skodak
4d7a401910 MDL-8781 survey converted to new formslib - empty intro now means use default from language pack; merged from MOODLE_18_STABLE 2007-03-27 22:01:17 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
toyomoyo
038bf62143 MDL-8425 related fixes 2007-02-08 03:04:41 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
moodler
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
toyomoyo
a2f6a09605 MDL-7861, xhtml problems with survey 2007-01-08 08:00:56 +00:00
toyomoyo
795b56b3f1 MDL-7861, xhtml strict for survey 2007-01-08 05:47:12 +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
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
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
skodak
d81b7ffbd7 MDL-7996 Add ods export support - more reports 2006-12-21 19:46:29 +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
skodak
7150b8ae20 MDL-7434 all images that convey information should have alt text to convey that information - part 3 2006-11-26 16:20:19 +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
toyomoyo
3a2e0fe97a fix for MDL-7472, explicitly label radio buttons in survey. Note you need $USER->screenreader flag for this to be active 2006-11-23 04:49:48 +00:00
toyomoyo
5d1a5ef436 incrementing qnum so that questions numbers in multi will be unique 2006-11-23 03:01:16 +00:00
toyomoyo
f40aee6fd0 fix for MDL-7501, accessiblity of survey questions, duplicating row context 2006-11-22 03:58:00 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00