47 Commits

Author SHA1 Message Date
tjhunt
b7b2d0f37d moodle_page: MDL-12212 improve comments and add some work-in-progress warnings 2009-05-06 09:29:05 +00:00
tjhunt
1b6b940022 moodle_page: MDL-12212 eliminate page_my_moodle 2009-05-06 09:23:37 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt
cfcfb9f3d0 moodle_page: MDL-12212 kill legacy page_allows_editing implementations 2009-05-06 09:02:48 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
tjhunt
ad52c04f4c moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
tjhunt
4873f5f709 moodle_page: MDL-12212 Eliminate legacy blocks_ methods
moving blocks will now be broken until the new bockslib is done
2009-05-06 08:53:14 +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
tjhunt
f230ce19ea moodle_page: MDL-12212 implement ->pagetype 2009-05-06 08:34:32 +00:00
skodak
59a82ee1d8 MDL-13224 fixed coding style 2009-04-07 07:45:03 +00:00
dongsheng
8b8ff6ff4c "MDL-13224, convert type of courses limit, everything coming from database is string, merged from 1.9" 2009-04-02 02:49:54 +00:00
dongsheng
497bad9012 "MDL-13224, select how many courses can be shown in mymoodle page" 2009-04-01 07:38:32 +00:00
dongsheng
ebb1a1e847 "MDL-13224, select how many courses can be shown in mymoodle page" 2009-04-01 07:32:57 +00:00
skodak
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
mudrd8mz
ebebf56bda MDL-16441 Display language selection drop-down list at My Moodle page. Merged from 1.9 2008-09-15 11:31:53 +00:00
dongsheng
12d0687748 "MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE" 2008-05-01 06:07:24 +00:00
dongsheng
0a5a575579 MDL-14091, fix myMoodle courses list sort order, Thanks Iñaki 2008-04-09 02:46:55 +00:00
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
nicolasconnault
8082d195a5 MDL-11865 upgraded pagelib to using build_navigation() 2007-11-01 08:59:48 +00:00
moodler
355bf90704 Merged the flexible column patch from Urs (1.11.2.3) to HEAD 2007-10-10 14:31:27 +00:00
stronk7
374bb2b6c5 Now the my page retrieves all the fields (modinfo included) from the course,
so print_overview() calls are working again.  MDL-10232

Merged from MOODLE_18_STABLE
2007-07-23 15:52:19 +00:00
jmg324
282c169549 MDL-9802 added my:manageblocks capability so admins can define whether users can add/remove blocks from myMoodle page 2007-05-18 11:57:46 +00:00
urs_hunkler
8986786c60 added clearfix to middle-column wrapper div against collapsing 2007-05-09 15:44:50 +00:00
urs_hunkler
eb1ed65076 added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:34:14 +00:00
martinlanghoff
0a66585b3d get_my_courses() callers update - check of the $fields param - pass null instead
The default way to call get_my_courses() is now to pass null in the $fields
param to get the (cached copy) of the useful fields. Cuts down enormously
on DB traffic, memory footprint, and session size.
2007-05-06 05:32:40 +00:00
toyomoyo
797c881a01 limit the number of courses to 20 on mymoodle page 2007-02-13 04:09:11 +00:00
moodler
40cab82e64 Merged fix for last access time for my moodle, MDL-7609. 2006-12-05 07:00:43 +00:00
moodler
a06c8c2cd1 Fixed some width="*" in layout tables 2006-09-25 14:40:26 +00:00
toyomoyo
51792df056 adding capabilities 2006-09-08 08:46:26 +00:00
skodak
ad0f9c828e Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
moodler
19078b653a Merged title fix from stable 2006-05-29 09:55:42 +00:00
skodak
e7056effbc fixed array warning when editting blocks; merged from MOODLE_16_STABLE 2006-05-29 06:04:13 +00:00
skodak
9b02b5342a global $course fix; merged from MOODLE_16_STABLE 2006-05-29 05:56:28 +00:00
skodak
e0ce2e1ca4 fixed bug #5593 - logged in nested in <p> and <div>; merged from MOODLE_16_STABLE 2006-05-23 18:59:29 +00:00
skodak
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
moodler
3131d5c6de Removed overview.php 2006-04-25 13:19:52 +00:00
skodak
d2b23346c9 block editing now uses PARAM_BOOL 2006-04-23 20:58:06 +00:00
moodler
a7460097db Just some cosmetic code 2006-04-10 15:00:39 +00:00
skodak
a4b3fc9220 fixed warning 2006-03-18 10:07:35 +00:00
mjollnir_
185cfb095b Reworked the My Moodle course overview API to be MUCH more efficient.
Previously we were literally doing hundreds of database queries, now it's
very much faster.
This makes the API slightly more complicated, but it's definitely worth it!
Each module should implement modname_print_overview, which takes an array of courses
and an array to fill up indexed by [$courseid]['modname'] for the controller to loop through and print.
Each module should LIMIT the number of queries to use, all module instances can be fetched
with the new function get_all_instances_in_courses which is the same as get_all_instances_in_course
but takes an array of courses to fetch the instances for.  This means there is no need to loop
over the courses array and fetch the instances for each course (dramatically cutting down the number of queries!)
2006-01-17 20:49:43 +00:00
mjollnir_
092dcfa418 In the case of my moodle we don't want to redirect to referrer on 'no',
referrer will 90% of the time be the my moodle page. Redirect to wwwroot
instead
2005-10-30 20:20:09 +00:00
mjollnir_
fdaa600675 My moodle page should not be available to guests and offer a full login 2005-10-30 20:10:43 +00:00
mjollnir_
527883218c Participants block shouldn't be shown for my moodle; guests don't want my moodle redirect, fixing page title in edit block instance in my moodle 2005-10-28 04:11:17 +00:00
mjollnir_
1217708363 My moodle sticky block config now generic, can be used for any pagetype.
Currently implemented: course-view (and my moodle, of course)
2005-10-16 22:34:25 +00:00
mjollnir_
44f90f4e04 Fixing another warning in my moodle blocks 2005-08-23 04:25:17 +00:00
mjollnir_
ee6055eb89 Fixing up the my moodle blocks to use blocks_setup instead of the old way. 2005-08-23 04:03:56 +00:00
mjollnir_
0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00