1818 Commits

Author SHA1 Message Date
defacer
e789650d41 Piles of timezone-related changes. 2005-03-23 03:03:43 +00:00
defacer
d37317b249 "from" is a reserved word in SQL, so change the field to "year" 2005-03-23 03:02:45 +00:00
defacer
0c478e1085 Killing dst_offset_for_year(). 2005-03-23 02:13:00 +00:00
defacer
62a73d8949 Continuing to move towards the "pre-calculated array in $SESSION" approach,
we output just ONE record for each year that something changes. This knocks
another ~3000 records from mdl_timezone.
2005-03-23 02:10:45 +00:00
defacer
aedcf71e33 Treat 'max' as 'only' in the "until" field. This removes ~1500 useless records. 2005-03-23 01:57:15 +00:00
defacer
0ed442f85c DST presets -> timezones 2005-03-23 01:54:45 +00:00
defacer
0bd7322e30 Going forward to timezones ever so slightly. 2005-03-23 01:26:34 +00:00
defacer
deab60a42b My latest working version, but we 'll need to roll back a bit as there
are more changes planned (from_timestamp bites the dust etc).
2005-03-23 01:24:22 +00:00
defacer
1789c54824 mdl_user.dstpreset becomes mdl_user.timezonename 2005-03-23 01:19:27 +00:00
moodler
6078ba3016 Misc recent changes 2005-03-22 18:10:06 +00:00
moodler
08396bb270 New function to close current window: close_window 2005-03-22 17:31:04 +00:00
stronk7
29f46cb6fb Now it works using static instead of $_REQUEST. Thanks to Martin!
Now I know a bit more of PHP :-)
2005-03-22 17:29:02 +00:00
stronk7
a06967fdb9 Added support for $CFG->filtermatchoneperpage, allowing a phrase
to be linked only once in the entire page.
2005-03-21 23:47:21 +00:00
stronk7
a0d2e272d9 Missing global was preventing $CFG->filtermatchonepertext to work. 2005-03-21 23:18:41 +00:00
moodler
57f781f733 Changed variable name because Eloy has plans for $CFG->filtermatchoneperpage :-) 2005-03-21 08:37:43 +00:00
moodler
e299f862a6 When in editing mode, add "editing" class to the body. bug 2781 2005-03-21 08:26:14 +00:00
martinlanghoff
b350cb9d93 Merged from MOODLE_14_STABLE - Pedantic HTTP correctness; now we return an appropriate 503 HTTP status code when the database is unreachable and assumed overloaded. This is for the benefit of monitoring and load testing scripts. 2005-03-20 21:37:05 +00:00
moodler
1f4af9a650 $CFG->filtermatchfirstonly will match first entry only 2005-03-20 17:12:19 +00:00
julmis
afffb9c43c Merging changes from MOODLE_14_STABLE 2005-03-19 16:43:23 +00:00
moodler
4161807b81 Fixed regular expression - Bug 2756 (SE) 2005-03-19 15:08:36 +00:00
defacer
363cb62cf1 Adding universally useful functions to the mainstream. 2005-03-18 14:36:10 +00:00
moodler
3f1f367d04 Add "header" class to headingblocks 2005-03-18 14:35:05 +00:00
moodler
3a1eca0433 New function print_error accepts an error code instead of a string
(from error.php)
2005-03-18 12:10:00 +00:00
defacer
28902d99c8 find_day_in_month now working with the latest convention of $startday, $weekday 2005-03-18 04:38:30 +00:00
defacer
621d6c9c2b Fixing a logic error... awgod. 2005-03-18 04:26:50 +00:00
defacer
7df4ed34be Continuing to debug... we now have a SINGLE rule with from_timestamp = 0, guaranteed. 2005-03-18 04:02:59 +00:00
defacer
e0a3a2921a Improvements and robustness, it now appears to be parsing a concatenation
of all relevant Olson files successfully.
2005-03-18 03:06:46 +00:00
gustav_delius
cd8d4471c8 Print course in footer 2005-03-17 15:12:07 +00:00
gustav_delius
f52d48db38 Added clone function to get around the differences in object handling between php4 and php5. 2005-03-16 22:15:36 +00:00
defacer
4fe76cc138 Typo. 2005-03-16 03:46:17 +00:00
defacer
01b4c10789 olson_parse_on() now parses as agreed for the new timezone settings. 2005-03-16 03:41:56 +00:00
moodler
f14d6f98bb Added Andy's readme 2005-03-15 13:07:44 +00:00
moodler
f6f36069ca Latest versions! 2005-03-15 13:06:52 +00:00
moodler
027b0fe755 pritn_tabs will output by default 2005-03-15 09:47:41 +00:00
moodler
ab5a05c04f New config setting for tabs 2005-03-15 09:21:50 +00:00
moodler
f88ddd6741 New class and function to print tabs (SE) 2005-03-15 08:49:14 +00:00
julmis
eebfa43247 Getting rid of &nbsp marks when texarea is completely empty.
fix for bug #2736
2005-03-14 16:06:55 +00:00
moodler
2d40fc054f Use $CFG->themedir and $CFG->themewww everywhere 2005-03-14 13:29:51 +00:00
moodler
86cc3e75a4 Two new variables $CFG->themedir and $CFG->themewww which tell us where the
themes we use are located.

For most sites these will stay in moodle/theme but it's nice for multi-hosting
sites to have the option to specify differently.
2005-03-14 13:23:38 +00:00
moodler
322344bb6b get_string will now also check inside block directories, which means
Blocks can be self-contained    (thanks Eloy for the idea!)
2005-03-14 13:08:16 +00:00
moodler
6ee8277fc1 Moved print_headingblock to proper place 2005-03-13 14:54:24 +00:00
moodler
7ff9860db0 This change will break themes for sideblock, but now all the main TH cells that use
the standard kind of look (eg gradient) have a consistent class "th.header"
2005-03-13 13:50:23 +00:00
moodler
907b2850b4 Added new config variable to disable blocks on activity mod pages bug 2732 2005-03-13 13:21:24 +00:00
moodler
4419aa8007 Added classes to major headings 2005-03-13 12:56:36 +00:00
moodler
5741a394ac Added footer to maintenance message 2005-03-13 07:28:19 +00:00
skodak
ea7a672d82 typo correction 2005-03-12 21:17:15 +00:00
defacer
b35fc18250 Fix for bug 2731. 2005-03-12 15:56:19 +00:00
moodler
1831d8b954 FIxed a typo from my last checkin 2005-03-12 06:24:57 +00:00
moodler
3cb383b160 Fixed file browsing when there are files named 0 2005-03-12 06:21:35 +00:00
defacer
5e4e027fea Pre-emptively put a lower bound of 1970 to years, instead of putting a lower
bound of 0 to the generated timestamps. Windows' < 1970 bug won't have it
otherwise.
2005-03-12 01:20:37 +00:00