539 Commits

Author SHA1 Message Date
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
moodler
c8ddb345b9 DOS format 2003-05-26 02:32:11 +00:00
moodler
05c7ec6f2b Trying to force DOS format 2003-05-26 02:20:39 +00:00
moodler
3926deafe1 Removed three lines - this fixes the path problems occurring when
extracting files in Moodle on Windows platforms.

This should not affect normal use within Moodle on other platforms.
2003-05-25 12:46:17 +00:00
moodler
bb515027b5 The single quotes caused problem on the rare occasions that these
unset strings were being written to the database
2003-05-24 02:34:29 +00:00
moodler
7f2a3e678e New field for user: autosubscribe
This sets the default value for on-the-fly forum subscription.
Defaults to on = subscribe.

(Also fixed a bug in postgres7.sql - a missing field for htmleditor!)
2003-05-23 05:32:40 +00:00
thepurpleblob
b2878fc5ae Fixed problem with list lines not being formatted
Added CVS hooks for <hr> and Question/Answer (Q. and A.) lines
2003-05-22 10:41:40 +00:00
moodler
353d033843 get_course_users now calls get_site_users if the course is a site.
There is something wrong with this SQL still though ... it mostly works
but I'm still getting wierd behaviour with small numbers of users.

Need some help here ...  for example just look at get_site_users()
on your test site.

It's supposed to return a list of users who are admins, creators,
teachers or students
2003-05-20 09:33:30 +00:00
moodler
3ee236820a Some fixes for check_gd_version -- please test this for me on every server you have! 2003-05-19 03:27:13 +00:00
moodler
6a6681294a Should use php_flag, not php_value, for boolean settings!!
See bug 429
2003-05-19 02:25:11 +00:00
stronk7
cc7fa0dc05 Added a 4th OPTIONAL (default "get") parameter to
"print_single_button" function. Now can make "post"
forms too.
2003-05-18 16:41:23 +00:00
moodler
bbf9b1624d Improved get_site_users a bit for efficiency 2003-05-17 06:10:20 +00:00
moodler
c39c66a5e8 Using new ini_get_bool function to work around a bug with ini_get where
the result is different for items set in htaccess
2003-05-17 02:05:10 +00:00
moodler
5c219ea46d Added hyphen (-) to the list of allowed characters in a filename 2003-05-16 06:08:42 +00:00
moodler
7adf67875d Some notices to remind people about things they need to do. 2003-05-15 17:26:59 +00:00
moodler
ae384ef160 New configuration variable: secureforms (defaults to 'true')
Replaces the old $CFG->buggy_referer (reverses it, in fact) and can
now be set in the configuration page (no need for it in config.php).
2003-05-15 15:59:52 +00:00
moodler
c6a0f9d5bf Minor touch-ups to the front page HTML 2003-05-15 14:02:13 +00:00
moodler
ce729f49c8 New override for Apache's LimitRequestBody parameter which may limit files. 2003-05-15 11:15:55 +00:00
moodler
a53cef7e80 Removed obsolete get_users_search function 2003-05-14 16:29:26 +00:00
moodler
5a74165523 FIxed up function get_user() which now takes lots of parameters and
can be used all over the place.

Also, related fixes to "add admin" (MUCH better performance) and the user listings

More to come for "add teacher" and "add creator"
2003-05-14 15:19:04 +00:00
moodler
76c1650d02 Changed home page link to moodle.org (from moodle.com)
I did some heavy thinking about this, and I think this is
best for the community.  I had wanted to drive some traffic
past moodle.com (the moodle.com will feature very prominent
links to moodle.org).  What I'll do now, I think, is put a
advertisements on http://moodle.org pointing to moodle.com.

Also some lowercasing of HTML.
2003-05-14 05:01:01 +00:00
moodler
b086c2b527 Fixed variable name 2003-05-14 03:37:47 +00:00
moodler
a0deb5db60 Add a backdoor for match_referer ... if the referer is "nomatch" then
it always returns true.
2003-05-12 09:22:00 +00:00
moodler
393c9b4ff4 Fixes for detect_munged_arguments() and default values for p() s() etc 2003-05-12 06:35:32 +00:00
moodler
5867bfb50e New feature to manage installed code modules!
You can now hide/show individual activity modules and even delete them completely!

For example, if you hide the "choice" module, then all choice activities
will be hidden throughout the whole site, and "Choice" will not
appear on any "Add..." menu.

Deleting a module is a complete deletion of all data from the database.

If you want to try out the deletion on a real module, I suggest the
pgassignment module, since it will soon be deleted from CVS anyway
(because it's being replaced with workshop).

Look for "Manage modules" on the admin menu.
2003-05-09 17:24:17 +00:00
moodler
7e6b0b3b6e Added new 'visible' field for module management. 2003-05-09 13:32:27 +00:00