moodler
c1d5710174
Cleaned up format a little, plus added better error checking of server
...
variables so that at least people will get feedback if they are missing
2002-10-19 04:58:14 +00:00
moodler
0be05df068
Find URLs at the beginning of lines ...
2002-10-18 17:05:17 +00:00
moodler
3fe3851d57
OK, I've rationalised the text formatting now. Basically, both Moodle and
...
HTML text allow the same range of HTML tags (so it doesn't matter is you
switch from one to the other).
<IMG> and <A> are now ALLOWED in Moodle text. However, the clean_text
function now checks for and removes any embedded javascript triggers
to avoid cross-site scripting attacks that way.
clean_text() should be called on ANY text that comes in from students.
2002-10-18 09:09:19 +00:00
moodler
08beb3327b
Allow <IMG> tags in Moodle format text. Not having it can really mess
...
up smileys etc if the text has been edited at any stage using the
richtext editor.
I realise it's possible for students to really mess up forums display
etc if they wanted to include a huge picture ... I'm not sure if there
are any cross-site scripting attacks possible with images in there.
But there is also now the HTML format for most things, which is editable
using an ordinary form, so this problem is currently already exposed.
I think it's OK as long as can find a filter to strip all javascript
out of ANY format text in Moodle.
2002-10-18 06:05:56 +00:00
moodler
ff80e012b0
Miscellaneous little changes from today ...
2002-10-14 16:00:55 +00:00
moodler
1a072208ce
Smilies are now replaced even in HTML text, and small fixes
2002-10-12 05:09:49 +00:00
moodler
c9dda99059
Modified text_to_html to use the new smilies, which for efficiency are
...
now defined in a global array, and use str_replace instead of ereg ...
2002-10-12 03:53:40 +00:00
moodler
0095d5cd3c
Additions to cope with richtext editor being used in some forms.
2002-10-10 07:26:10 +00:00
moodler
7fbd6b1c0b
Don't use getenv anywhere - not necessary and breaks PHP under ISAPI
2002-10-02 02:05:29 +00:00
martin
8dcea3963a
Added a few more allowed HTML tags in plain text files. <dl> <h1><h2><h3> <hr>
2002-09-27 14:48:25 +00:00
martin
08056730fa
Improved interface for course/teachers.php ... instead of typing numbers
...
into a box there is now a menu for each user. Much better!
2002-09-19 14:51:49 +00:00
martin
ddd9a8969b
SUrprise icon is a bit wider than 16 pixels
2002-09-12 17:08:32 +00:00
martin
503eced327
Added height and width to smiley icons, to make emails look
...
better in circumstances where external images are blocked
(eg some webmail programs like squirrelmail).
2002-09-08 16:13:10 +00:00
martin
e2d8972553
BUG FIX! - fixes error that could allow ANY file on the system to be read!
2002-09-05 11:53:17 +00:00
martin
0eae8049a0
Fixed over-zealous removal of returns from text ...
2002-09-02 07:41:39 +00:00
martin
7b3be1b12d
New space-removal works better if done before adding link tags :-)
2002-08-22 08:31:29 +00:00
martin
729be1ab37
Experimental filters to remove returns from before and after tags, which
...
should mean neater formatting of lists and so on. Needs testing.
2002-08-22 07:53:41 +00:00
martin
909f539dad
Minor tweaking and cleaning up
2002-08-12 13:45:41 +00:00
martin
618b22c57c
Language changes to weblib
2002-08-12 07:40:53 +00:00
martin
65cf9fc390
Improvements to the help system
2002-07-21 08:34:25 +00:00
martin
8553b7005a
Changes related to internationalision strings and printing them
2002-07-11 05:30:57 +00:00
martin
5af78ed2b2
New highlight function for searches etc
2002-06-11 07:01:51 +00:00
martin
f3ecd2c8da
Slight interface tweaks
2002-06-05 06:24:29 +00:00
martin
bda8d43a78
Changes to user settings, now it matches the stored data better
2002-06-05 05:37:55 +00:00
martin
873960de8c
Changes related to timezone display. Datetime display now uses userdate()
...
which itself uses the USER variable timezone to alter the displayed time.
2002-06-05 03:15:30 +00:00
martin
8c7dc44061
Added lists to allowed html in cleantext
2002-06-01 03:46:35 +00:00
martin
d69cb7f457
Smiley conversion is now optional (better for html mail)
2002-05-18 05:22:48 +00:00
martin
daa52dac8c
Added :) smileys as well.
2002-04-12 13:20:50 +00:00
martin
b7a3cf49f8
Added cleantext function, used for cleaning user-entered text of nasty tags etc
2002-03-26 12:58:54 +00:00
martin
f9903ed0a4
Initial revision
2001-11-22 06:23:56 +00:00