Commit graph

337 commits

Author SHA1 Message Date
Petr Skoda
e7521559ed MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 13:17:47 +00:00
samhemelryk
93c91ee4de calendar MDL-19793 Upgrade deprecated calls and added set_url calls 2009-09-29 02:51:00 +00:00
samhemelryk
c9c9fb90b0 overlib MDL-19735 Touched up panel replacement of overlib calendar
* Created delay ContainerEffect and set some nice delays
 * Added set_url calls to calendar
2009-09-18 05:12:45 +00:00
samhemelryk
458eb0d10c overlib MDL-19735 Overlib is now included only where it is used
At the same time I have converted the calendar block to use YUI instead of overlib, this introduces one regression in that the panel is shown immediatly but should really have a minimal delay for usability.
This will be fixed once the theme changes for 2.0 have been commited
2009-09-17 07:46:20 +00:00
nicolasconnault
ba179d56c9 MDL-19791 Upgraded calls to choose_from_menu 2009-08-17 15:16:26 +00:00
nicolasconnault
722e24c4c4 MDL-19793 Migrated calls to print_spacer() 2009-08-06 02:24:59 +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
tjhunt
6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
skodak
6132768ecb MDL-17767 loginas refactoring and simplification; full SESSION switching implemented 2009-01-02 15:15:26 +00:00
tjhunt
ac324e05ea MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves. 2008-09-25 06:40:52 +00:00
tjhunt
7264519e3f MDL-16583 - Clean up some fo the places we link to javascript files, to use require_js 2008-09-23 07:00:59 +00:00
sam_marshall
e2ce18a515 MDL-15519 sorry I'm an idiot, that should have been H3 not H2 2008-07-14 11:20:07 +00:00
sam_marshall
197c4f3b51 MDL-15519 Added H2 tag for month selector in calendar (accessibility) 2008-07-14 11:05:40 +00:00
sam_marshall
ed9f9947e8 MDL-15519: [Accessibility] Added heading tags around current month on monthly calendar view (and changed default styling so this doesn't affect appearance). 2008-07-03 14:16:22 +00:00
skodak
29c1951305 MDL-14679 fixed regression 2008-06-01 14:53:20 +00:00
skodak
62d11d771e MDL-14679 towards /calendar conversion 2008-06-01 14:25:05 +00:00
dongsheng
f581f8d64b "MDL-14129, fix print_error" 2008-05-01 05:44:41 +00:00
dongsheng
d9d16e56a3 "MDL-14460,fix get_context_instance, merged from MOODLE_19_STABLE" 2008-04-30 04:46:46 +00:00
dongsheng
ef35441d27 MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE, see tracker. 2008-04-22 06:24:14 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
2ac8da76b6 User must be logged in (avoids notices) 2008-02-21 06:10:17 +00:00
skodak
a71a3aefe0 MDL-11843 deleting of activities directly from calendar is dangerous/confusing; merged from MOODLE_19_STABLE 2008-02-19 10:46:10 +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
dwoolhead
8263f8024d MDL-12313 basically rationalising getting calendar events function calls 2007-11-26 14:43:28 +00:00
sam_marshall
9b50bd46ad MDL-12075 Display individually colour-coded events in calendar rather than random day colours 2007-11-19 10:53:23 +00:00
toyomoyo
dc6cb74efd MDL-11672, hide hidden assignment descriptions from calendar 2007-11-16 02:52:48 +00:00
toyomoyo
d12e3ff27f MDL-9059, when teacher creates group event on calendar, they can not see it 2007-11-12 06:27:42 +00:00
sam_marshall
fdbffa54f5 MDL-12069 Make calendar events key labels and link titles consistent (also tidy up one bit of duplicated code) 2007-11-08 15:16:16 +00:00
sam_marshall
f63d29223e MDL-11916 Added managegroupevents capability 2007-10-30 16:19:47 +00:00
nfreear
f79f249490 Follow up fix for MDL-11436 'Encapsulate "accesshide" HTML class in function', and use. 2007-10-15 10:04:41 +00:00
toyomoyo
9ba76792ca MDL-10353, adding couse variable to nav bar in calendar preferences 2007-10-15 04:46:31 +00:00
moodler
f6ee5e041c Just a small fix that would make this SQL work ... no idea what bug it would fix. It's not MDL-9059 2007-10-10 08:18:59 +00:00
toyomoyo
e3bb6401e1 MDL-10048, revert some changes in courses regaring coloring of courses 2007-10-09 04:02:43 +00:00
toyomoyo
68ad444b15 fixing a calendar warning 2007-09-20 03:04:53 +00:00
toyomoyo
edeed697de fixing a warning in calendar 2007-09-20 02:57:17 +00:00
toyomoyo
8397874d1b fixing a warning when variable is not an object 2007-09-20 02:45:59 +00:00
martinlanghoff
37875ac5b7 calendar/lib: calendar_set_filters() use pre-fetched context and course recs
Showing the calendar block was causing 2 DB queries per course the
user is enrolled in. Instead, use the data available in the array that
is passed as a parameter, and spare the DB a ton of needless traffic.

Fixes MDL-11221 Calendar not using context stuff from get_my_courses

Author: Martin Dougiamas
2007-09-19 07:53:33 +00:00
nicolasconnault
6619eba40b MDL-10383 Reverting Petr's boolean cast on the array of allowed groups. It makes it impossible to get the "Group event" option in the calendar. 2007-09-11 07:29:48 +00:00
skodak
b571c6b37b MDL-10995 eliminated some get course record calls - reused $COURSE instead 2007-08-26 08:24:50 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
nicolasconnault
e295df447f MDL-10870 All files updated to new build_navigation() method. 2007-08-17 11:18:58 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
skodak
2524b0f24c MDL-10383 - major groups patch - see bug i ntracker for more details - authors: Nick, Matt, Enrique and me 2007-08-14 00:50:00 +00:00
stronk7
e3fc108e41 Let's use the default (cached) list of fields here. MDL-10571
Merged from MOODLE_18_STABLE
2007-07-23 16:34:41 +00:00
dwoolhead
3bfd8bc8b7 MDL-10084 Styling/branding 2007-06-28 14:08:08 +00:00
dwoolhead
365cec3c18 MDL-10084 Styling/branding 2007-06-28 11:54:18 +00:00
toyomoyo
86ac8b24c1 merged fix for MDL-10273, users with no capability should not be able to view New Event button 2007-06-28 04:03:30 +00:00
dwoolhead
7308cb6949 MDL-10084 Styling/branding 2007-06-27 11:45:37 +00:00