2000 Commits

Author SHA1 Message Date
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
defacer
1656bb3e2f Fix for bug 2701.
Credits for the report and the patch go to Samuli Karevaara.
2005-03-09 21:16:38 +00:00
moodler
89e1ce0474 More fixes for linking. Bug 2693. (SE) 2005-03-09 01:13:53 +00:00
moodler
71d4f59316 Fixed a bug in the ignore tags array - bug 2693 (SE) 2005-03-08 23:34:40 +00:00
mjollnir_
3f05218715 In blocks_print_group, if we just return if pageblocks are empty, we never get to print the admin block 2005-03-08 23:24:10 +00:00
defacer
554906f69a New feature: you can now give a HTML class to a column with $table->column_class() 2005-03-08 14:57:16 +00:00
defacer
7270d81fad New table class that makes it easy to use goodies like paging etc. 2005-03-08 11:14:15 +00:00
moodler
21f6c44b05 New function to remove duplicate entries from an array of filterobjects 2005-03-08 07:45:01 +00:00
defacer
7678e65cac New useful function submitFormById(). Fires off the form's onsubmit() handler first,
if applicable, and only submits if the handler doesn't exist or returns true.
2005-03-08 04:22:38 +00:00
defacer
a0413b585d New function for sql portability: sql_isnull().
NOTE: I don't know how this is supposed to be phrased in Postgres. Can
someone who does give a finger of help here? :)
2005-03-07 16:58:00 +00:00