1809 Commits

Author SHA1 Message Date
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
moodler
ffe0c352c1 Moving the CAS library into the main library directory 2005-03-11 17:13:31 +00:00
moodler
01dc6ab67a Various little tweaks here and there 2005-03-11 14:56:34 +00:00
defacer
73e4f58953 Support for arbitrary number of sort columns.
There is an active hard limit in there which does not allow more than two,
but changing this is as simple as setting $maxsortkeys to something else.
2005-03-10 16:38:01 +00:00
moodler
d0d0cd9c7f You can now specify fields to get_record 2005-03-10 14:13:26 +00:00
moodler
1ac7ee24d7 CFG->nofixday can override the ficing of day format in userdate 2005-03-10 14:10:21 +00:00
moodler
8f7dc7f1c7 Variety of small fixes, but mostly related to how the recent activity
block is constructed.  A new function exists to pump these notes out
in a standard way :  print_recent_activity_note.

Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
moodler
211ea3e9d3 COnsistent use of readdir 2005-03-10 06:04:29 +00:00
moodler
7d56fe1077 Use real tabs in the error_log call because \t doesn't seem to work 2005-03-10 05:05:12 +00:00
martinlanghoff
de6fa62a56 Fixes from Dan Marsden to getremoteaddr() and address_in_subnet() -- getenv() isn't supported under ISAPI (IIS) so we use _SERVER instead. address_in_subnet() had a loop control error. 2005-03-10 02:36:51 +00:00