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
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
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
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
skodak
85c9ebb926
MDL-1883 improved perf when editing scales - new function xxx_scale_used_anywhere()
2007-09-18 18:37:58 +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
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
3628d16093
Merged fix for MDL-10154 from 1.8
2007-06-18 06:34:54 +00:00
skodak
23a7718bd1
MDL-9696 used absolute path include in mod_forms
2007-06-10 23:20:45 +00:00
poltawski
e73457e4ba
MDL-9742 Converting tabs to spaces
2007-05-08 15:44:37 +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
mattc-catalyst
859d05a03e
mod/journal: HTML fixes
...
Fixed HTML errors causing parser errors in Firefox when in developer debug
mode.
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 23:12:26 +00:00
mattc-catalyst
236387ab93
Breadcrumbs: mod/journal changes
...
- Modified to use build_navigation() for breadcrumb generation.
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:43:05 +00:00
moodler
1934b87667
Updated versions and requires (primarily because of formslib dependencies)
2007-02-02 13:02:24 +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
jamiesensei
18a7736107
added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code.
2007-01-05 04:51:46 +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
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
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
jamiesensei
b2a0cb86d0
migrated journal/mod.html to formslib
2006-11-14 06:01:11 +00:00
mjollnir_
d3674ed965
Merged from MOODLE_17_STABLE: fixed the journal upgrade. renaming a null column to not null is unhappy
2006-11-07 00:09:37 +00:00
skodak
714986dc40
Journal Module fixes fro 1.7 MDL-7159; merged from MOODLE_17_STABLE
2006-10-30 11:16:27 +00:00
stronk7
5d0fc5c33d
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
b8a342d7ac
New upgrade.php file added for this module. MDL-7214
2006-10-26 17:33:40 +00:00
stronk7
b4c7bb78fc
Deleting some old oci8po files from CVS.
2006-10-21 18:28:28 +00:00
thompson697
cf0b1faded
Apply modularity to the creation of the log file during restore to a new course.
...
Remove the responsibility for loging the application of the course start date offset, from activity modules to the backup module.
Merged from stable branch
2006-10-17 10:05:41 +00:00
thompson697
eb87ac71c5
Change creation of restorelog file location to protected backupdata folder.
...
Reassign style and language links
2006-10-04 14:50:50 +00:00
skodak
fbc88f3886
fixed legacy comment upgrade code in assignment and journal
2006-09-26 19:18:21 +00:00
vyshane
583b57b42d
Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now?
2006-09-24 14:01:50 +00:00
stronk7
0bc94c9990
Last reserved word is out now!
...
journal_entries->comment to entrycomment
Only 2 tables have reserved names but they aren't
a problem if we force $CFG->prefix always
2006-09-21 09:54:00 +00:00
skodak
03f5a0f87c
major whitespace cleanup - fixed \r\n line-ending
2006-09-20 19:46:52 +00:00
thompson697
163ff97e84
Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
moodler
0f9602085b
Small bump for guest role fix
2006-09-12 08:22:14 +00:00
moodler
8d158ed44f
Reload the guest role using new defaults
2006-09-12 07:10:49 +00:00
stronk7
01c3c55960
Oops, filled now. I forgot to save changes before commit.
2006-08-11 17:31:11 +00:00