136 Commits

Author SHA1 Message Date
thepurpleblob
afaf622902 If no custom list is specified, the default list from the language pack
will be used instead. It works out-of-the-box (again!).
2005-08-26 08:33:59 +00:00
thepurpleblob
82a76d38b5 Some more tweaks to LaTeX filter - see bug #3829. 2005-08-10 12:58:38 +00:00
thepurpleblob
bd0c390ed7 Added preamble for LaTeX AMS notation to default. See bug #3829 2005-08-10 12:45:38 +00:00
thepurpleblob
3f2a955d19 Try again - adding new files for new settings screen. 2005-08-05 10:38:43 +00:00
thepurpleblob
c96bdc0242 Added settings screen for mediaplugin filter. 2005-08-05 10:37:46 +00:00
moodler
ff8f90c759 Merged from stable 2005-07-30 15:54:32 +00:00
thepurpleblob
dd153b32fe Moved filter paths to filter settings (admin) page. 2005-07-28 09:35:05 +00:00
thepurpleblob
9ab25ad18f Added proper looked-up strings. 2005-07-26 13:18:32 +00:00
thepurpleblob
ee780c2d80 Added configuration screen for bad words list. 2005-07-26 13:06:44 +00:00
thepurpleblob
bf9760c4a8 Provide setup screen for the censor bad words list. Note that for decencies
sake, I have decided to start with a blank word list rather than use the
provided one which may shock the unwary!
2005-07-26 13:05:13 +00:00
thepurpleblob
f649fc24a6 TeX cache cleared when page displayed, to ensure changes actually apply. 2005-07-26 12:32:49 +00:00
thepurpleblob
a66d2974e6 Added facility to modify settings from admin page. Just a start... will
add more settings for tex.
2005-07-26 10:58:39 +00:00
thepurpleblob
8e4d40ddb9 Added version of mimetex compiled for FreeBSD. 2005-07-25 08:11:13 +00:00
thepurpleblob
5b540fa98f Use 'factored out' configuration settings. 2005-07-22 13:59:19 +00:00
thepurpleblob
1d88a9644e Initialise all (new) config settings for this filter in one place. 2005-07-22 13:57:22 +00:00
thepurpleblob
25d7779cf2 Added additional features/fixes noted in bug #3795 by Dmitry Pupinin. 2005-07-22 09:01:34 +00:00
thepurpleblob
6ef8d79a3e Various small changes suggested by Dmitry Pupinin.
1. Changed formula's size
2. Formula displayed correctly in pop-up window
3. Preambula became configurable
4. Formula became transparent
2005-07-21 07:52:13 +00:00
thepurpleblob
87ae01dfea Added paths for windows 2005-07-20 13:28:11 +00:00
moodler
a625e5eb5c Merged multiline link fix from stable 2005-07-20 01:55:56 +00:00
moodler
a630afdc57 Merged multilang fix from stable again 2005-07-12 17:10:33 +00:00
moodler
563fa6199d Merged "8" fixed fix 2005-07-12 15:10:47 +00:00
moodler
2b573acb6f Merged utf8 fix from stable 2005-07-12 12:27:55 +00:00
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