114 Commits

Author SHA1 Message Date
thepurpleblob
64ffa2a243 Added check so render returns with false if unsupported platform. 2005-06-28 14:12:45 +00:00
thepurpleblob
18a2407ef4 Added class to render images using Latex rather than mimetex. It will only
be used if it works on the server, otherwise mimetex is used as before.
Produces rather nicer images, and the full range of formatting can be used,
rather than mimetex's limited set.
2005-06-28 13:23:57 +00:00
fiedorow
ee9ff7f35b Compatibility fix for glossary 2005-06-24 18:07:10 +00:00
stronk7
32be01392d Changed to use the new replacementphrase attribute so
bad words are replaced with a strlen(phrase) number
of **** characters. Bug 3605
(http://moodle.org/bugs/bug.php?op=show&bugid=3605)

Merged from MOODLE_15_STABLE
2005-06-22 23:34:26 +00:00
moodler
b99e8b98fc Merged Flash script fix from stable 2005-06-05 05:12:50 +00:00
defacer
fde4a0941b New extended multilang filter!
Now does lang replacement for each "langblock" (many lang-enabled tags
bunched together with only whitespace between), allowing:

  * Multiple langblocks per filtered text
  * Non-lang-translated content before, after, and between langblocks

This should be solving bugs 2878 and 2879. Buy one, get one free.
2005-05-19 17:32:30 +00:00
stronk7
894ff63f8f Tabs are out 2005-05-16 22:22:31 +00:00
moodler
bde0832a23 Moved badwords list to censor.php file (bug 3164) 2005-05-08 15:10:17 +00:00
stronk7
2086597256 Now we support both uppercase and lowercase lang tags, and the separator
can be both the hypen and the underscore characters.
Everything is converted to Moodle's (lowercase with hypen) langs.

And the filter returns the full text if some exception happens (bad build
lang tags). Actually it was returning an empty string on error.

Should we be a stricter allowing only the correct langs????
2005-04-28 16:33:15 +00:00
stronk7
87cf01aef5 Now multilang filter supports both the
<lang lang="XX> and the <span lang="XX"> syntaxes. Bug 3057.
(http://moodle.org/bugs/bug.php?op=show&bugid=3057)
2005-04-27 22:17:44 +00:00
stronk7
34d186ebe9 I forgot to look for cache. Woking now. 2005-04-25 22:03:57 +00:00
stronk7
eb6eb58ec5 Cache array of filterobjects per request. 2005-04-25 21:55:36 +00:00
fiedorow
380e47f50b Check slasharguments setting in algebradebug.php too 2005-04-14 13:39:54 +00:00
fiedorow
781cac7273 Added link to admin/config.php for slasharguments 2005-04-14 13:24:51 +00:00
fiedorow
9dd9a4267a texdebug.php now checks slasharguments setting 2005-04-14 04:27:32 +00:00
martinlanghoff
a9a9bdba55 Merged from MOODLE_14_STABLE - insert_record() - major efficiency improvements for Postgres databases on insert. Also fixed many calls to insert_record() which discard the returned record id to not ask for the record id. 2005-04-01 05:55:10 +00:00
ikawhero
748105767f Just so we can put spaces in the bad words string. 2005-03-26 03:03:26 +00:00
moodler
c2ecfdfcbf Don't download MP3 files automatically.... download only when play button
is pressed.
2005-03-16 08:15:33 +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
moodler
dc15cff35a Modern version :-) 2005-03-05 11:53:46 +00:00
moodler
e661425c2b Use a customised style for censored words 2005-03-05 03:41:00 +00:00
moodler
fc34bbe886 Improved censor
- now blacks out words using styles
  - gets the words from the language pack
2005-03-05 03:32:38 +00:00
moodler
facc743aa2 Rewritten to use the new generic filter function. (SE) 2005-03-04 10:12:44 +00:00
moodler
df031f9a0d XHTML compliance, but also you can now set up colors to be passed to
the MP3 Flash player, using

  $THEME->filter_mediaplugin_colors = 'blah...';
2005-02-28 13:30:44 +00:00
martinlanghoff
07158c1ed0 Merged from MOODLE_14_STABLE - Cleanup of warnings in filter/activitynames 2005-02-14 07:40:46 +00:00
fiedorow
3613082378 Corrected file size message in debugger 2005-02-13 17:04:35 +00:00
fiedorow
d7e3f044c1 various improvements: better debugging, image positioning, XHTML validation 2005-02-10 22:19:08 +00:00
fiedorow
f352814af5 various improvements: updated mimetex, image positioning, XHTML validation 2005-02-10 22:17:13 +00:00
moodler
428b9360de Latest version - very nice! 2005-02-03 11:12:47 +00:00
moodler
a2df2a1ac0 Updates from Charlie Williams and "wild girl"s fantastic flash friend
MP3 player now has a slider with loading information, and is slightly less high
(15px instead of 18px) so it fits better inline.

Source included.
2005-02-01 03:24:25 +00:00
julmis
5096a8eada Adding <span class="nolink"> excluding. 2005-01-30 14:21:52 +00:00
moodler
e00f0fddfe To stop people browsing filters 2005-01-23 04:16:07 +00:00
skodak
e7f927a0fc new handling of uploaded files, please TEST, TEST, TEST 2004-12-14 18:57:51 +00:00
stronk7
00a3a66a45 Some dyslexic problem solved! :-D
Merged from MOODLE_14_STABLE
2004-12-13 01:31:54 +00:00
stronk7
3a558dd9a8 Now activity names are sorted by name length to avoid Bug 2282
(http://moodle.org/bugs/bug.php?op=show&bugid=2282)

Merged from MOODLE_14_STABLE
2004-12-13 01:25:23 +00:00
skodak
00d9cd1409 merged from MOODLE_14_STABLE;
fixed encoding of html entities in tex expressions - SC#7
2004-11-18 10:08:14 +00:00
moodler
5977cfa376 Merged from stable 2004-11-11 07:03:53 +00:00
stronk7
71c235bca4 New release of the multilang filter:
- 100% compatible with previous "Multilang" filter.
    - Supports a new "short" syntax to make things easier. Simply use:
        <lang lang="XX">
    - It needs less resources and executes faster.
    - It Allows any type of content to be used. No restrictions at all!

Merged from MOODLE_14_STABLE
2004-11-07 17:11:57 +00:00
skodak
650874544b merged from MOODLE_14_STABLE: initialized variables - the same as algebra/pix.php 2004-11-04 08:00:39 +00:00
moodler
66f99e7240 Some XHTML changes 2004-10-19 10:33:06 +00:00
moodler
e5912bca11 Tidy filter from Hannes Gassert <hannes at mediagonal dot ch>
If you have Tidy installed as part of your PHP, you can use this
filter to convert all user text into XHTML on the fly.
2004-09-23 12:33:14 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
moodler
6d9b3de4e0 Auto-detection of type, apparently. 2004-09-13 08:21:46 +00:00
moodler
b797605898 Merged XML UTF-8 fixed from stable (see bug 1927) 2004-09-13 08:17:09 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
moodler
e3f19cb089 New filter for Email protection ... filters all email addresses in Moodle
text and obfuscates them from spammer's robotic eyes

Thanks Mike Churchward!  http://moodle.org/mod/forum/discuss.php?d=11302
2004-09-02 04:14:06 +00:00
gustav_delius
222ac91bc9 removed unnecessary calls to get_site() 2004-08-29 14:15:40 +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
59a3122e2a Added support for .mpg .mpeg and .avi files. 2004-08-02 14:39:05 +00:00
fiedorow
f7e0a0b8e7 Functionality in debug for miscellaneous mimeTeX binaries 2004-06-10 16:47:30 +00:00