393 Commits

Author SHA1 Message Date
defacer
67b1b6c2cc Small fixes, moving towards XHTML compliance. 2004-09-09 10:26:11 +00:00
mchurch
6ccf1c631a Changed some tags for XHTML 1.0 Transitional compliance. 2004-09-08 21:27:11 +00:00
moodler
7c3aa35887 Merged smiley/Markdown fixes 2004-09-08 16:18:45 +00:00
moodler
357b5286b8 HTML tidy up 2004-09-07 08:54:43 +00:00
moodler
37d83d9951 Admin can now also 'login as' course creators 2004-09-06 14:03:17 +00:00
mchurch
63574ba81f Added <tt> and <code> tags to valid tags. 2004-09-03 18:00:41 +00:00
moodler
9d54c2fb73 Merged fix to allow referrals from the home page 2004-09-01 11:24:35 +00:00
moodler
3df2c54344 Merged from Stable (fix for color fonts) 2004-08-30 12:13:02 +00:00
thepurpleblob
963c3b552d $courseid now sent to wiki conversion properly 2004-08-27 14:31:40 +00:00
julmis
af815ebd77 Merging changes from MOODLE_14_STABLE 2004-08-26 20:32:28 +00:00
moodler
eb2aa909d7 Merged from stable (sideblockheading style fix) 2004-08-26 14:35:14 +00:00
defacer
629b5885f7 Here buggy buggy...
General announcement:
If you 're running in debug mode and suddenly the HTML editor stops working
for no apparent reason, check your HTML source to find PHP notices embedded
in JS code, screwing it up and thus making it unexecutable. This has happened
to me more times than I can remember.
2004-08-23 13:18:39 +00:00
moodler
ec51c7fb33 Don't lower-case parsed attributes 2004-08-23 02:21:59 +00:00
gustav_delius
90fcc576ea Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic. 2004-08-21 20:20:58 +00:00
julmis
67ccec433e Add aspellpath check before printing editor config colde 2004-08-21 14:21:09 +00:00
moodler
ef132aa077 Added some more protocols to the allowed list 2004-08-21 13:31:49 +00:00
julmis
eb2042f685 Add editor settings feature and Ludo's (Marc Alier) spellchecking functionality.
- Needs testing and should consider unstable.
2004-08-21 10:12:09 +00:00
moodler
3bd7ffec71 Added better cleaning of HTML attributes, using kses library.
Thanks to Eamon Costello for finding the library and writing the
wrapper functions.
2004-08-21 04:34:06 +00:00
moodler
80035a89e1 Disallow dots being passed to lang (path disclosure) 2004-08-18 05:52:01 +00:00
moodler
76add072fe Add spaces for web addresses to help bodgy clients that get
confused about the trailing ] bracket.

bug 1649
2004-08-17 08:09:13 +00:00
moodler
ed5bdd6585 Some filters add javscript, we and certainly do not want to clean
those out.

Moving the cleaning to just before the other filters are run.
2004-08-10 09:16:16 +00:00
moodler
9d40806d0e format_text now does a clean_text after all the filters, for added safety
Practically all printed text in Moodle should use this function

If you don't want to clean the text of unwanted tags and scripts, then
set the parameter $options->noclean
2004-08-09 14:54:39 +00:00
defacer
5a59303726 This seems to improve the regexp filtering by solving some problems where
it was killing unarmed population... hope it works "better" now!
2004-08-09 08:51:47 +00:00
moodler
df1c46115b Improvement to filters, providing speed boost AND better compatibility
with Turck MMCache.

Filter function must now have a particular name

   eg resource_filter

where "resource" is the name of the directory that filter.php is in.
2004-08-08 06:57:44 +00:00
moodler
51a96819cc COntinue buttons should break out of frames 2004-08-07 13:43:01 +00:00
moodler
b4d4e4aac5 helps wiki find global course 2004-08-03 04:08:11 +00:00
moodler
1f2eec7b65 Fixes to helpbuttons and popups 2004-08-02 19:09:06 +00:00
moodler
f29667f638 Hide "Unenrol" when we're not in a course 2004-07-31 13:02:06 +00:00
moodler
e7cdcd1892 Added support for Markdown - thanks to David Scotson! 2004-07-30 04:02:58 +00:00
gustav_delius
609ba03702 adding <th> to allowed tags, fixing bug 1635 2004-07-29 22:46:32 +00:00
moodler
b40bc478d9 Fixed a few notices and extended some functions a little 2004-07-29 14:54:25 +00:00
moodler
b4bac9b6b6 New functions for login failure display 2004-07-25 13:47:38 +00:00
moodler
03fe48e753 Fixes for encoding, Moodle should now be able to OVERRIDE the default charset
that is set by Apache

Fixes for no-caching case, just a little more robust.

Based on patch sent by Ilia Chipitsine - thanks!
2004-07-21 12:16:36 +00:00
moodler
f2b9b6ea62 Topic labels in the navmenu are now based on section summary 2004-07-21 06:06:10 +00:00
moodler
3326450b16 Fixed bug 1656 ... labels in menus are non-selectable now 2004-07-21 05:41:58 +00:00
moodler
63f3cbbd7d Merged $bodytags parameter in headers from STABLE 2004-07-14 06:54:43 +00:00
moodler
5b07d99038 Merged in fix for wrapping of multibyte languages 2004-07-07 17:45:42 +00:00
moodler
16c4d82a50 When looking for me() try $_SERVER['URL'] (IIS uses it) 2004-07-06 12:34:33 +00:00
julmis
8718067799 A little fix for $CFG->loginhttps
- set $wwwrot variable earlier.
2004-06-22 18:35:59 +00:00
gustav_delius
7636b1194d don't replace smilies in plain text format 2004-06-22 07:38:05 +00:00
moodler
a2fa19d87c Merged in latest changes from STABLE 2004-06-21 13:07:44 +00:00
moodler
8a33e3717d Based on code from Janne - this allows secure logins via https
$CFG->loginhttps

After logging in via https, Moodle returns to a normal http URL


More info:  http://moodle.org/mod/forum/discuss.php?d=8555
2004-06-19 16:13:28 +00:00
gustav_delius
5bff67518f fixed the self-inflicted problem with navmenu on non-module pages. 2004-06-09 08:55:44 +00:00
gustav_delius
cb6480373e jump menu now always shows "Jump to", see http://moodle.org/mod/forum/discuss.php?d=8543#41211 2004-06-09 08:46:43 +00:00
gustav_delius
6f9f3b693f fixed bug 1553 which gave error with empty jump menu 2004-06-09 08:36:28 +00:00
moodler
7613890851 BRANCH MERGE
These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
julmis
2d9b4f4bf5 print_timer_selector function added for QuizTimer 2004-06-02 18:00:12 +00:00
moodler
50e4a15e6e Replace -> with >> in the navigation ... this will be replaced in
the new template scheme for a more dynamic template that you pass
an array to, so this is really just a reminder for later.
2004-05-31 05:21:58 +00:00
gustav_delius
f7f2ff6dba Only editing teachers are allowed to unenrol students 2004-05-30 20:54:58 +00:00
gustav_delius
0ae7e6f40e Guest user now has Login link instead of Logout link, see http://moodle.org/mod/forum/post.php?reply=40214 2004-05-30 00:55:48 +00:00