1971 Commits

Author SHA1 Message Date
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
moodler
ff2fc9e22d Some buffing up ... no changes 2005-03-07 16:10:52 +00:00
moodler
430c6392a0 Just some tiny style fixes 2005-03-07 11:53:00 +00:00
moodler
a370c8950e Tidied up some strings and added some mime types for flash etc 2005-03-07 11:42:52 +00:00
moodler
f1e0649c1c Removed files/mimetype.php and put it into lib/filelib.php instead
where it always should have been.
2005-03-07 11:32:03 +00:00
martinlanghoff
eb4e67a27f The olson parser is feature complete and ready for people to start playing with it. The entry point is the olson_todst($filename) function. 2005-03-07 07:39:27 +00:00
moodler
27d2521242 Style for help link is "helplink" 2005-03-07 05:02:25 +00:00
defacer
591052a446 Doing away with generaltableheader 2005-03-06 20:26:42 +00:00
gustav_delius
03f9425fd2 The teacher can now move selected questions to a chosen category or delete them, see http://moodle.org/mod/forum/discuss.php?d=16239 and http://moodle.org/mod/forum/discuss.php?d=19734
There is also a 'Deselect all' button which I implemented provisionally by putting an extra function checknone() into javascript-static.js. This should be cleaned up by someone who knows javascript.
2005-03-06 12:00:46 +00:00
defacer
381612daf9 Adding filterByParent() for collections. 2005-03-06 00:00:18 +00:00
defacer
59556d4833 Switching < to <= which is the correct operator 2005-03-05 23:57:19 +00:00
defacer
c9e72798d4 Changing the way that the DST offset is retrieved, given a timestamp.
This is a nightmare issue, as far as I can think of this is "the" solution.
2005-03-05 22:23:08 +00:00
moodler
f7ab4e55c0 Added settings for allowemailaddresses and denyemailaddresses to the config menus 2005-03-05 17:37:04 +00:00
moodler
66b7c2470b Moved aspellpath configuration onto the editor page. 2005-03-05 17:25:03 +00:00
moodler
14ca3084a0 Better check on aspell 2005-03-05 15:47:49 +00:00
moodler
7885772188 Fixed sideblock styles to fit new simple naming scheming and added finer control 2005-03-05 12:22:33 +00:00
moodler
32d4301be8 Added callto: as an allowed protocol 2005-03-05 06:01:05 +00:00
moodler
766d2bf3b3 Added user fields for Skype, AIM, Yahoo, and MSN messengers. :-)
If anyone knows good links+images to use for AIM, Yahoo and MSN let me know
2005-03-05 05:57:10 +00:00
moodler
8a922475a0 Thanks, Eloy! I've got it in weblib instead 2005-03-05 04:09:20 +00:00
moodler
01af49bb2d WHoops!! Forgot to check this in! 2005-03-05 04:08:29 +00:00
martinlanghoff
b87a5a23a5 Reorganized the rules and fixed a couple of bugs in the olson zone parser 2005-03-05 02:43:07 +00:00
stronk7
c21f449fcd Not really sure if you want this there, but.... 2005-03-04 19:28:48 +00:00
martinlanghoff
af2309e366 We now postpone parsing of AT until we have the GMTOFFSET handy; some reorganization of the returned arrays, and starting to prepare the rationalized DST entries for Moodle DST table 2005-03-04 12:05:26 +00:00
martinlanghoff
720e6293ad Olson parser now parses Zones and Rules 2005-03-04 10:59:29 +00:00
moodler
a039c3af28 Generic filter function. It's a reworked version of the old glossary
filter and is now more efficient.(SE)
2005-03-04 10:10:24 +00:00
moodler
77ffdf4b4c Finishing off search capability with the ability to search by instance,
and in this case, by forum.
2005-03-03 12:22:13 +00:00
moodler
6f2a391fbd Just to make backups work, but we may still have problems with the new adodb
See bug 2663
2005-03-03 07:32:00 +00:00
moodler
c44d5d4215 Some cleaning up of user_login_string and SITE 2005-03-03 04:41:46 +00:00
gustav_delius
009f39beab fixed bug caused by user_login_string() being called with course id instead of course object 2005-03-02 19:49:04 +00:00
defacer
3ef642d96a Implemented discussion from bug 2547:
* Block authors no longer need to set $this->content_type
* If you want to make a "list" block, just derive from block_list
  instead of block_base
* All switch() statements gone from library code
* Overloaded method is_empty() added to block classes for convenience
2005-03-02 19:22:26 +00:00