76 Commits

Author SHA1 Message Date
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
skodak
b45d83916f MDL-13269 fixed regrading of activity raw grades; merged from MOODLE_19_STABLE 2008-02-17 16:01:24 +00:00
skodak
d19f47709f MDL-13375 fix for duplicate itemnumbers in outcome items; merged from MOODLE_19_STABLE 2008-02-13 09:48:46 +00:00
nicolasconnault
8c1c197e43 MDL-13375 Fixed the bug in modedit.php; Merging from MOODLE_19_STABLE 2008-02-13 08:15:31 +00:00
nicolasconnault
de6f158f2b MDL-6826 Removed the optional_param lines at the top, and set the submit buttons to PARAM_RAW. Also changed !empty() to isset(); Merging from 1.9 2008-02-06 10:25:45 +00:00
moodler
55da5e81b5 Cleaning up logic from MDL-6826 2008-02-05 03:16:07 +00:00
nicolasconnault
0b19ec1e95 MDL-6826 merging from 1.9 2008-02-04 13:02:07 +00:00
moodler
2deffacca5 MDL-13260 Fixing misplaced variable (notice) 2008-01-31 07:04:23 +00:00
nicolasconnault
6b4671097b MDL-6826 New button added! 2008-01-23 12:56:13 +00:00
skodak
4b86bb0827 MDL-12773, MDL-12144 grade category selection on modedit page; merged from MOODLE_19_STABLE 2008-01-21 18:42:03 +00:00
nicolasconnault
6ca117e27f Misplaced variable definition 2008-01-08 06:07:56 +00:00
moodler
21090e447a Merged from 1.9
Improvements to the tabs for assigning and overriding roles.   MDL-12120

Tabs are now all on the top row
Tabs have clearer titles
Other help texts improved
2007-11-19 07:13:02 +00:00
skodak
ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
skodak
97928ddf00 MDL-11003 adding of first activity on frontpage does not work - incorrect section 2007-08-26 15:30:51 +00:00
skodak
273eb2f5aa MDL-10999 Cannot Insert or Edit a Label 2007-08-26 07:44:14 +00:00
skodak
e04ff2d559 MDL-10383 adding new standard elements method - modules now must specify what they support (groups/groupings/groupmembersonly); by default only groupmode selector is enabled 2007-08-20 07:27:04 +00:00
skodak
24f41672ba MDL-10383 - adding UI for new grouping settings into course and mod edit forms + fixed section handling on mod edit page + other minor cleanup 2007-08-17 08:05:04 +00:00
skodak
e79541a3b7 fixed updating of idnumbers 2007-08-03 14:12:38 +00:00
nicolasconnault
6d762c249c MDL-10109 Completing unfinished refactoring. Thanks Petr :-) 2007-08-02 15:13:09 +00:00
nicolasconnault
2d6df44f7f MDL-10109 Only creating new category when at least 2 grade_items (inc. outcome or normal grade) 2007-08-02 14:33:29 +00:00