764 Commits

Author SHA1 Message Date
moodler
da0c90c313 Fixed user graphs for site-level, all logs 2003-07-25 13:23:28 +00:00
moodler
7e4a64888b When displaying a user's logs for the current day, make the graph
display ALL courses (ie to match the logs printed below).
2003-07-24 01:54:06 +00:00
moodler
7618a8eb92 More debugging/checking on get_record_sql 2003-07-23 06:30:26 +00:00
moodler
4d7a373539 Added some additional error checking of get_record_sql when in debug mode 2003-07-23 04:33:40 +00:00
thepurpleblob
464712ec77 Yet more minor problems fixed for hyperlink/mailto: conversion
difficulties
2003-07-22 10:11:12 +00:00
moodler
dd0bd5088c Increase the size of the field to store sequences in course_sections 2003-07-21 14:28:04 +00:00
moodler
1efa27fdbb Close loophole for invisible courses by re-enrolment 2003-07-21 07:50:59 +00:00
moodler
a6d82c3f49 New course parameter "visible" which makes the course available to
students.  Defaults to 1 (on).  Teacher can control this from settings page.
2003-07-21 07:31:01 +00:00
moodler
d4df9200b6 Moved print_headline() to weblib.php 2003-07-21 04:53:55 +00:00
moodler
f78ae3c432 Fixed translation 2003-07-21 00:59:21 +00:00
moodler
86aa7ccfdf New feature - "Web link" resources can now specify a popup window
fullscreen is currently the only feature left out of this .. I had
trouble getting it to work consistently so I've left it out as being
more troubles than it's worth.
2003-07-20 13:53:31 +00:00
moodler
f8a51b414b Don't convert URLs into links for the plain text format because
it can mess up code sometimes
2003-07-15 02:19:12 +00:00
moodler
7c55a29b37 Text emails now have html entities translated properly
Thanks to Gustav Delius for the patch
2003-07-15 02:06:51 +00:00
moodler
7977cffdb0 Arbitrary moving of activities (aka cut and paste)
Some of this code was sent by Howard Miller, but I rewrote most of it
to make it shorter and to fit in better with current code.
2003-07-14 13:08:38 +00:00
moodler
cccb016ae4 When displaying index lists of a particular module's activities,
ensure that the order they are displayed in is always the same as the
order they have been defined in.   See bug 553.

This involved API changes to the function get_all_instances_in_course()
2003-07-12 05:19:18 +00:00
moodler
4337380421 Email addresses are now well and truly obfuscated on public profile pages 2003-07-11 08:38:39 +00:00
thepurpleblob
28683e6c3b Added support for mailto links 2003-07-08 09:10:22 +00:00
moodler
0d27c9ea8b Upgraded ADOdb to 3.60 ... supposed to be faster plus has bugfixes 2003-07-05 06:23:27 +00:00
moodler
2b32bdddb9 Keep strings cached in memory during a single page to improve performance
on slow filesystems or bad file caching.   (experimental)
2003-07-03 12:19:54 +00:00
moodler
3405b2123f For plain format, retain multiple spaces 2003-07-02 11:59:20 +00:00
moodler
df3fd24968 Better check of server name for unusual web servers 2003-06-28 18:45:19 +00:00
moodler
dc7e8cb582 Add LIMIT of 1 to get_record functions ... the behaviour of returning false
when there were more than one record returned was sometimes causing
problems if the data was unclean due to a bug somewhere.

For example, if there are two copies of a section, then Moodle keeps
creating new ones because it can't find ONE.  This fix prevents that.
2003-06-19 02:18:51 +00:00
thepurpleblob
5c408aeb8c Added dreadful spell checker option
Fixed bug where formatting at end of line failed
Removed substitution for single quotes bug (ended up as double)
2003-06-18 14:33:51 +00:00
moodler
71e8bd81c4 Replace script stuff with xxx instead of space to avoid repeating sequences 2003-06-14 08:41:40 +00:00
moodler
4171f9b9a8 Fixes to colorchooser 2003-06-14 06:30:04 +00:00
moodler
6feed269ba Some style changes to reduce the size of the richtext toolbar 2003-06-13 16:06:55 +00:00
moodler
ef5db7243b <em> tag added to the list of allowed tags 2003-06-13 06:57:42 +00:00
moodler
db356340d8 Use parentlanguage when printing documentation 2003-06-12 11:55:29 +00:00
moodler
b947c69a71 Cleaned up get_string for language strings - slicker now
Added new feature: if a string "parentlanguage" exists then that
language will be tried before defaulting to English.

Useful for dialects or other languages that are similar.

For example, all the Spanish translations can default to "es"
2003-06-12 03:27:24 +00:00
moodler
0cd84e67ea Added a check to disable VBSscript as well 2003-06-09 06:18:45 +00:00
moodler
f1c9d90fbb Better regular expression to catch javascript triggers 2003-06-09 05:54:14 +00:00
moodler
fc1207584a Better way of stripping Javascript using regular expressions 2003-06-09 03:00:23 +00:00
moodler
f99329636f Forgot some string conversions 2003-06-08 11:49:25 +00:00
moodler
f207d09a64 More explicit byte-order of strings to make it work on non-Intel machines 2003-06-08 11:40:29 +00:00
moodler
f065b63894 Fixed pass-by-reference 2003-06-08 11:25:45 +00:00
moodler
d1a3dc8867 The session is now named "MoodleSession" to prevent conflicts with
other software.
2003-06-07 06:35:12 +00:00
moodler
72e4eac6c8 Use C-version of str_ireplace() if it is defined (PHP 5 only). 2003-06-06 09:46:27 +00:00
moodler
a46092d2d3 Added some missing Javascript events 2003-06-06 06:17:59 +00:00
moodler
aaa2ebbb0f Add slashes to title to avoid errors with quotes - see bug 479 2003-06-02 16:16:02 +00:00
moodler
7f9bd7b9c3 Smileys now work in all Wiki texts 2003-05-29 15:39:51 +00:00
moodler
423b77166d A very small speed improvement 2003-05-29 15:24:14 +00:00
moodler
e260f95baa No need to do smilies 2003-05-29 15:08:00 +00:00
thepurpleblob
963163137f Smiley support added 2003-05-29 13:42:31 +00:00
moodler
16cba4cf88 Latest changes from Howard Miller 2003-05-27 14:25:15 +00:00
moodler
16ba73512e Slight improvements to import of global variables
- don't globalise cookies
  - better checking of lang variables
2003-05-26 15:38:52 +00:00
moodler
3662bce5b4 A few tweaks for robustness. 2003-05-26 14:43:19 +00:00
moodler
8d2accb64c More robust check of argument 2003-05-26 07:54:53 +00:00
moodler
644f6213f1 Removed funny line feeds? Hope so. 2003-05-26 02:44:29 +00:00
moodler
8fad496688 Still trying to get this retun situation sorted out 2003-05-26 02:42:49 +00:00
moodler
c451c1f6bd Removed mystery character? 2003-05-26 02:40:26 +00:00