Commit Graph

16 Commits

Author SHA1 Message Date
moodler 0b4362228b Gah, now it's fixed properly 2005-07-12 17:09:48 +00:00
moodler c41a30806a Fixed my fix from earlier 2005-07-12 15:09:48 +00:00
moodler bc6c0782e9 Fix for problem with lang names containing 8 Thanks Eloy 2005-07-12 12:26:55 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
stronk7 c738a0920f Nobody is now calling get_string_from_file(). And the multilang filter supports
utf8 langs too

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 15:46:01 +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
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 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 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
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
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 4da85078e9 Changed the name of all filters to be consistent.
Removed texh filter
2004-02-17 05:22:26 +00:00