36 Commits

Author SHA1 Message Date
Sam Hemelryk
683eb07144 MDL-28407 Fixed up calendar preferences form handling 2011-08-05 09:34:27 +08:00
Sam Hemelryk
797cedc7cf MDL-25249 Tidied up calendar variable passing and removed session abuse 2011-06-29 14:50:38 +08:00
Petr Skoda
ca74470c8d MDL-23616 extremely messy hack to work around weird course handling resulting in unknown PAGE->context 2010-08-04 07:37:02 +00:00
Dan Marsden
5e58f699a1 Calendar preferences MDL-23332 fix db call 2010-07-16 08:57:44 +00:00
Sam Hemelryk
36dc3b7104 calendar MDL-22887 Output is now through a renderer, all pages have navigation, and now uses true pretend blocks. 2010-06-22 04:03:44 +00:00
Rossiani Wijaya
bd08a24a8a add page heading 2010-05-27 09:33:46 +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
244a32c617 MDL-21119 lang menu and login info now handled by themes 2009-12-29 17:26:29 +00:00
Petr Skoda
19c795b837 MDL-20901 fixed input validation 2009-11-19 19:28:19 +00:00
Sam Hemelryk
76d9df3f1d calendar MDL-20601 Conversion of calendar to mforms and new html editor + file API 2009-11-02 03:50:56 +00:00
samhemelryk
93c91ee4de calendar MDL-19793 Upgrade deprecated calls and added set_url calls 2009-09-29 02:51:00 +00:00
samhemelryk
f22f13330a calendar MDL-19793 Upgraded print_header and build_navigation calls to OUTPUT/PAGE equivilants 2009-09-04 04:26:50 +00:00
nicolasconnault
91599e5f4a MDL-19793 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:29:57 +00:00
nicolasconnault
9314a6bea9 MDL-19793 Converted all print_footer() calls 2009-08-06 14:22:10 +00:00
nicolasconnault
bca9ba8c6e MDL-19793 Migrated calls to print_heading 2009-08-06 08:26:34 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
62d11d771e MDL-14679 towards /calendar conversion 2008-06-01 14:25:05 +00:00
toyomoyo
d9a23b785f merged fix for MDL-10353, after setting preferences user should return to same course view 2007-10-04 05:13:28 +00:00
nicolasconnault
73c24ef80b MDL-10870 All files updated to new build_navigation() method. 2007-08-16 15:01:25 +00:00
martinlanghoff
37d87d11f9 calendar: performance optimisations + behaviour fix (MDL-7416 MDL-9617)
With 2500 courses the calendar was causing around 15000 queries at login and 5000 on the home page.

- Replaced queries inside loops with single unlooped queries.
- Fixed calendar so that course events will show when the users role is assigned at a category level.
- Moved calendar_session_vars() function call out of calendar/lib.php (including a lib should not have side effects)

Author: Matt Clarkson - with some conflict resolution from MartinL
2007-05-06 04:28:11 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
patrickslee
66590bd8a7 Removed/added/moved some redundant/missing/misplaced page headers/footers, merged from 15_STABLE 2005-08-03 01:24:29 +00:00
stronk7
ef9b35a01b Tabs are out 2005-05-16 19:38:21 +00:00
moodler
84854c09c6 Removed some classes from being added explicitly 2005-02-25 06:20:19 +00:00
defacer
7f92cbefbb DST is out of the preferences entirely. 2005-02-18 01:46:57 +00:00
moodler
4a2c4132d5 Removed some $THEME stuff 2005-01-25 17:16:34 +00:00
defacer
054193be87 Merging fix for reopened bug 1384 from STABLE.
Fix for bug 2252:
You can now choose to have the calendar "remember" your filter settings
between logins.

Some extra code in calendar/lib.php for DST. It doesn't currently affect
how Moodle works.
2005-01-12 11:55:01 +00:00
defacer
86f092d25e New "Calendar" section in Admin -> Configuration.
Includes preliminary support for DST!
Includes "admin sees all events or only own?" setting (bug 1972)

WARNING: Modified moodlelib.php to explicitly specify NOT-DST when
calling mktime() and gmmktime(). This is essential since we don't want
PHP to second-guess us for the DST matters, but... it may affect existing
code?
2004-12-15 07:14:41 +00:00
defacer
77e9d3cf4c Minor code style changes 2004-12-01 21:49:23 +00:00
moodler
77ec198a93 Fixed typo when printing footer 2004-08-12 07:48:00 +00:00
defacer
08cebf196e Fix all requires() to use absolute paths (Sun boxes have problems with relative
paths, it seems). Also, login is required to view the calendar of any course
other than the site.
2004-06-02 08:13:26 +00:00
moodler
1e1ff33b2e Some interface cleanups ...
- simplified the screens some more (headers etc)

 - preferences are all on one page, and the code was rewritten
   for simplicity and consistency

Changes are not well tested yet but I'm off to bed  :-)
2004-05-01 17:32:37 +00:00
moodler
ff2ec3b570 Some changes to the layout to remove blocks etc 2004-04-27 08:49:22 +00:00
defacer
1b0ebe79b1 Addressing bug 1257:
Changed the handling of time display format; now it's read from the language
file by default, and a new preference has been added to allow each user to
manually specify his preferred time format.
2004-04-22 09:02:23 +00:00
defacer
053c98cff9 Fixed a whole bunch of warnings and minor bugs, which all shared a common cause:
The preferences screens weren't handling filter changes correctly.
2004-04-20 12:49:02 +00:00
moodler
7423f11664 Checking in latest calendar code! Looking great, Jon! 2004-03-29 15:28:15 +00:00