8556 Commits

Author SHA1 Message Date
Petr Skoda
985d1d1d22 MDL-21187 brand new yui2 lib loading now using the official YAHOO oholoaders which properly resolves all dependencies; please note we are still suing the YUI2 CSS preloading 2009-12-25 15:27:47 +00:00
Sam Hemelryk
56115eea49 navigation MDL-21177 Removed erroneous DB queries from module extension calls 2009-12-24 02:06:05 +00:00
Petr Skoda
cbcc9852e0 MDL-21125 removing obsolete global $THEME 2009-12-23 18:23:21 +00:00
Petr Skoda
088ccb43cf MDL-21125 obsoleting global $THEME 2009-12-23 17:51:41 +00:00
Petr Skoda
92e01ab771 MDL-21125 obsoleting global $THEME 2009-12-23 17:44:17 +00:00
Sam Hemelryk
4e03354235 mod-data MDL-19806 Converted remaining print_textarea's to 2.0 editors. 2009-12-23 06:19:25 +00:00
Sam Hemelryk
f81a82477d mod-quiz MDL-19813 converted deprecated calendar event methods 2009-12-23 03:01:36 +00:00
Sam Hemelryk
92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +00:00
Sam Hemelryk
0a1f8f8ffe mod-scorm MDL-20261 Added functions to extend navigation and removed update this module buttons 2009-12-23 01:47:57 +00:00
Sam Hemelryk
86bf47458e mod-hotpot MDL-20258 Added skeleton functions to extend navigation and removed update this module buttons 2009-12-23 01:47:01 +00:00
Sam Hemelryk
7a7e209df0 navigation MDL-20649 Revised the way in which navigation works for users
When logged in there is a my moodle dashboard branch, when viewing a site profile there is a users branch, and when viewing a course profile there the user is shown under the participants branch
2009-12-23 01:22:48 +00:00
Tim Hunt
8ce3e17f80 Correct PHPdoc comment. 2009-12-21 16:39:06 +00:00
Sam Hemelryk
d185ff44e1 mod-feedback MDL-19807 Fixed up final deprecated methods 2009-12-21 03:57:36 +00:00
Eloy Lafuente
f12c95734a Related to MDL-6489 - advanced search template was missing in backup/restore ; merged from 19_STABLE 2009-12-18 18:11:13 +00:00
Eloy Lafuente
a1b4e1f2eb MDL-11507, MDL-15157 database activity - avoid some notices on restore ; merged from 19_STABLE 2009-12-18 17:53:47 +00:00
Eloy Lafuente
14594faa80 MDL-21160 database activity - remap scale on restore ; merged from 19_STABLE 2009-12-18 17:40:16 +00:00
Penny Leach
df3466045c portfolio/assignment MDL-21035 added updated & published fields to leap2a.
also fixed files support in online type
2009-12-18 14:38:22 +00:00
Penny Leach
4dfe45ee2d portfolio/glossary MDL-21031 leap2a support for full glossary 2009-12-18 13:44:56 +00:00
Penny Leach
924377d29a portfolio/glossary MDL-21031 leap2a
this only implements leap2a in the single-entry export so far.
2009-12-18 13:44:47 +00:00
Dan Marsden
67f941099a SCORM MDL-17891 pass back correct state if storeData fails in LMSFinish - thanks to Peter Chamberlin for the report. 2009-12-18 10:34:59 +00:00
Dan Marsden
25d18a5288 SCORM MDL-18835 remove old comment 2009-12-18 10:12:12 +00:00
Dan Marsden
00c1677a99 SCORM MDL-18835 display time periods in "human-readable" format. - mainly for SCORM 2004 objects. - thanks to Vlas Voloshin for patch and unit tests! 2009-12-18 10:10:04 +00:00
Sam Hemelryk
007772d65d mod-assignment MDL-21106 Changed user->id to submission->id, big thanks Penny for spotting 2009-12-18 08:45:00 +00:00
Dan Marsden
8be1ab6b98 SCORM MDL-20122 badly formatted restore values - thanks to Michael Avelar for the fix 2009-12-18 08:19:51 +00:00
Dan Marsden
f6f7efeefb SCORM MDL-18857 allow items with a score of 0 to still display on outline report. 2009-12-18 07:22:50 +00:00
Dan Marsden
544bd6cd3b SCORM MDL-21024 missing field in restore. 2009-12-18 07:13:53 +00:00
Dan Marsden
15d0fae463 SCORM MDL-20588 workaround for IE 6 bug - turn zlib compression off if IE 6 is detected. 2009-12-18 06:40:59 +00:00
Sam Hemelryk
448052a5fd mod-lesson MDL-21006 Refactored renderer->header method, removed logic to function in locallib 2009-12-18 03:50:38 +00:00
Petr Skoda
ff5265c64f MDL-21148 plugin renderers now redirect calls to core renderer, credit goes to anybody who did the lesson renderer ;-) 2009-12-17 14:54:04 +00:00
Petr Skoda
755909352c MDL-21148 preparation for new target parameter in get_renderer() 2009-12-17 14:51:36 +00:00
Petr Skoda
649cf95d0b MDL-21147 renamed find_renderer back to get_renderer() - there are no more collisions with those magic getters 2009-12-17 14:06:22 +00:00
Petr Skoda
56cbc53b76 MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements 2009-12-17 13:45:54 +00:00
Andrew Davis
f69815f938 feedback MDL-21064 Hardcoded string in /mod/feedback/index.php 2009-12-17 06:02:46 +00:00
Petr Skoda
50397e43ff MDL-20792 fixing forgotten moodle_ prefixes in renderers 2009-12-16 22:33:49 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
47ce714bc0 MDL-21142 minor cleanup in out() default params 2009-12-16 21:33:01 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk
0a4abb7306 mod-lesson MDL-21006 Huge refactoring of the lesson code
The following are notable changes made in this commit
* Lesson page type are now class based and extend an abstract class. This includes a class for the page type and a class for the creating/editing a instance of this page.
* Converted all forms to mforms
* Action script located in mod/action/* were worked into the above so far less switch statements and the action directory will be removed.
* Implements a custom renderer
* Converted everything to use page, output, and custom renderer methods
* Replaced all deprecated methods incl. print_textarea conversions
* Tried to cut down on excessive DB calls.
Things worth noting:
* The focus of this patch was on cleaning up the module not rewriting it, as such I have organized NOT rewritten. There are still many areas in the module where the code could be greatly improved however to do so would require a rethink/rewrite
2009-12-16 02:00:48 +00:00
Sam Hemelryk
fb1ee4d548 mod-assignment MDL-21106 Changed itemid for online assignment from assignment->id to user->id 2009-12-16 01:48:48 +00:00
Andrew Davis
a6ffb8eeb8 quiz MDL-18896 small efficiency improvement 2009-12-16 00:52:57 +00:00
Penny Leach
5fb2911515 portfolio MDL-21079 updated a few more portfolio_callers
fixed a few more that were pointing to lib.php rather than locallib.php
2009-12-15 12:37:06 +00:00
Penny Leach
521a6ab04d portfolio MDL-20896 added the ability to set mime info for "intended" files
This means for places in Moodle that are going to write a file, like a
CSV file, they can set the intended mimetype of the generated file.

Previously you had to use a stored_file object.

This also gets rid of portfolio_fake_add_url function and replaces the
data module implementation with a button.  I also refactored
portfolio_add_button::to_html to use moodle_url so it's easy to return
the same parameters to hidden form fields, an escaped url (for a link),
and a non escaped url (to redirect to, which is what the data module
does)
2009-12-15 12:36:49 +00:00
Penny Leach
56e20c3416 portfolio/glossary NOBUG added some phpdocs 2009-12-14 16:01:35 +00:00
Penny Leach
b9be87b3e8 portfolio/glossary NOTABUG improved some phpdocs 2009-12-14 15:43:25 +00:00
Penny Leach
ff284987c7 online assignment / send_file: MDL-21104 fixed two missing variables 2009-12-14 10:18:31 +00:00
Penny Leach
e032f29d92 portfolio MDL-21079 fixed a regression caused by massive refactoring of where portfolio callers live 2009-12-12 14:18:34 +00:00