95 Commits

Author SHA1 Message Date
Dan Marsden
30b5ee6b06 Plagiarism Lib MDL-13680 - reverting commit for now. 2010-04-28 02:47:25 +00:00
Dan Marsden
cc3b3fae5d Plagiarism Lib MDL-13680 - add Plagiarism lib support for modules. - initially including the assignment module and Turnitin service - Backup deliberately excluded at this stage and I expect some of the file handling to change slightly before 2.0 release. 2010-04-27 21:52:07 +00:00
Martin Dougiamas
5435c9dcc4 help strings MDL-21695 changed _hlp to _help and fixed help.php to format those strings properly 2010-04-23 07:46:35 +00:00
Sam Hemelryk
ba9dc077c4 roles MDL-22126 Fixed up usage of admin/roles/tags.php 2010-04-21 02:43:02 +00:00
Petr Skoda
3fc066917d MDL-21695 adding support for module help 2010-04-13 21:59:15 +00:00
Dan Marsden
75ba5fe41a Events MDL-16203 fire events when a module is added/updated/deleted 2010-03-22 02:56:45 +00:00
Sam Hemelryk
d0ccc7e93e course MDL-19794 Set a better page layout (admin) for modedit 2010-02-01 07:49:33 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
191b267bcd MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically 2009-12-27 12:02:04 +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
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +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
b1a2d9d2af course MDL-20989 Fixed bug that threw notices if a module didn't support FEATURE_MOD_INTRO 2009-12-07 06:23:00 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
moodler
480b5db6b3 course/modedit MDL-19794 Add missing heading from module editing page 2009-09-22 08:15:58 +00:00
samhemelryk
2b9e3bac50 course MDL-19794 Updated a couple of deprecated functions in modedit and view 2009-09-10 06:45:51 +00:00
samhemelryk
0ef5125898 navigation MDL-20216 Fixed regression in course/modedit.php 2009-09-08 03:16:23 +00:00
samhemelryk
3856ca5605 course MDL-19794 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents 2009-09-08 01:33:56 +00:00
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
nicolasconnault
d60c112435 MDL-19794 Converted all print_footer() calls 2009-08-06 14:10:33 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
samhemelryk
0578e8eb38 course-modedit MDL-16089 Fixed bug caused by recent changes, unable to edit resources 2009-07-07 06:05:39 +00:00
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
nicolasconnault
9ee67e60b4 Removed redundant require_capability and require_login, causing havoc on new module page. 2009-07-02 07:49:12 +00:00
nicolasconnault
57a29a9735 Removed useless require_capability, causing havoc on new module page. 2009-07-02 07:44:56 +00:00
skodak
09f8d75e32 MDL-19611 fixing regression - video icon disappeared 2009-06-25 07:30:37 +00:00
skodak
bf8e93d704 MDL-18293 $DB->somethiong is using exceptions, no need for ifs tehre, removing useless strings 2009-06-03 20:00:08 +00:00
skodak
a19a06d09e MDL-14589 file api improvements - converting more params to general $options array 2009-05-18 19:04:06 +00:00
tjhunt
ad5d5997ed moodle_page: MDL-12212 more ->pagepaths to kill 2009-05-06 08:43:51 +00:00
tjhunt
d529807a65 moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
2009-05-06 08:38:55 +00:00
skodak
a08171c5c2 MDL-19002 file upload limits support 2009-04-28 19:08:33 +00:00
skodak
43b44d5ea6 MDL-18910 full support for module intro editor with embedded images 2009-04-22 07:14:19 +00:00
skodak
dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00
sam_marshall
e7c6bf0eab MDL-18297: Changed date conditions so that the text and behaviour is more natural. 2009-04-17 16:06:29 +00:00
skodak
90ee78e21c MDL-18293 removing unused error strings (now replaced by exceptions) 2009-02-17 16:33:32 +00:00
sam_marshall
82bd6a5ea9 MDL-15499: Conditional availability of activities 2008-12-17 16:37:35 +00:00
skodak
c765b6b73f fixed my silly typo from db conversion 2008-11-02 21:37:41 +00:00
skodak
d857e8b627 MDL-16223, MDL-16222 - module context now available in xxx_add_instance() module method and $mform is passed as second parameter; $cm is updated/inserted before the activity insert/update hook; other related refactoring and cleanup; error string improvements 2008-08-27 16:33:50 +00:00
sam_marshall
9ddbd44598 MDL-15869: Fixed bug in saving module settings when completion is not enabled 2008-07-29 09:13:25 +00:00
sam_marshall
4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
tjhunt
9824e56707 MDL-15731 Removed default grouping for modules which do not support grouping - Commiting the merge to head on behalf of sam. 2008-07-21 13:00:41 +00:00
dongsheng
535a6fa0b5 "MDL-14129, fix print_error" 2008-06-15 11:34:42 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
2cbd725cf7 MDL-14679 towards modform conversion - fixed regressions 2008-06-01 21:51:13 +00:00
skodak
cb141e5a67 MDL-14679 towards modform conversion - fixed regressions 2008-06-01 21:40:56 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
681cf96530 MDL-14679 cleaned up mod.php 2008-06-01 20:15:50 +00:00
dongsheng
ba6018a902 "MDL-14129, fix print_error call under course/, see tracker" 2008-05-07 06:02:51 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00