Petr Skoda
9c89c04af5
MDL-30007 standardise filter version files
2011-11-29 21:15:42 +01:00
Helen Foster
82b15e2811
MDL-21250 capital letters removal
...
Also some spotted leading and trailing whitespace was removed from some
strings.
2011-01-27 16:24:30 +01:00
David Mudrak
dcfffe3072
MDL-24531 Extend filter manager API so that options can be passed to the filters
...
The only option passed at the moment is the original format in which the
user inserted the text. Other options can be added later if/when needed.
2010-10-07 08:57:20 +00:00
Petr Skoda
35716b8682
MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;Êimproved php docs; fixed upgrade of filters (should be in plugins, not core)
2010-07-30 20:51:01 +00:00
David Mudrak
30c8dd34f7
MDL-15252 Re-committing all English strings exported from AMOS
...
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.
The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.
Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667
MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs
2010-04-10 07:24:56 +00:00
Petr Skoda
a845d68b9f
MDL-21694 moving filters strings to correct plugin location
2010-04-01 19:27:30 +00:00
Petr Skoda
9a9012dc8f
MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now)
2010-02-14 20:18:10 +00:00
Petr Skoda
4aea3cc7cd
MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout
2010-02-11 13:27:02 +00:00
Petr Skoda
4317f92f3f
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 12:51:40 +00:00
tjhunt
ccc161f8f0
filters: MDL-7336 change weblib to use the new code
...
* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib
2009-04-13 06:56:32 +00:00
dongsheng
9e3f34d1c7
"FILTER/MDL-14582, filters 2.0, compatible with old filters"
2008-12-19 02:16:00 +00:00
stronk7
d533ff3abe
MDL-17545 activity names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE
2008-12-07 18:57:38 +00:00
skodak
219f652b91
MDL-14679 upgrade $DB conversion
2008-05-31 18:05:42 +00:00
skodak
dd97c32868
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE
2008-01-24 20:33:50 +00:00
stronk7
6a42a9b456
small typo in var name
...
Merged from MOODLE_18_STABLE
2007-03-19 16:12:42 +00:00
martinlanghoff
9aa9080756
Auto-linking filters: fix serious caching bug in forum mailouts
...
Autolinking of glossaries, activity, resources and wiki names were using a
trivial single-entry cache implemented with static vars. The cache was _not_
keyed on course.
This bug was visible during forum_cron() which walks many courses. The cache
would get "stuck" on the first course that had something to put in the cache.
All mailouts from there onwards would autolink to stuff in the wrong course.
2007-03-19 06:33:45 +00:00
skodak
fa73873105
MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit
2007-01-04 18:23:55 +00:00
skodak
e25cb71041
MDL-8050 1.2 Remove all target="_top"
2007-01-03 19:24:48 +00:00
stronk7
fea43a7f51
Casting $course->modinfo to string prevents one notice to
...
be showed when it's null, returning false as desired.
2006-09-04 21:12:37 +00:00
stronk7
f4ba785b13
Solved one problem with frames and activitynames filter.
...
(http://moodle.org/mod/forum/discuss.php?d=28382 )
Merged from MOODLE_15_STABLE
2006-01-11 15:22:13 +00:00
stronk7
32a50e2833
Avoid empty or unlinkable activity names
...
Merged from MOODLE_15_STABLE
2005-09-05 22:32:06 +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
moodler
facc743aa2
Rewritten to use the new generic filter function. (SE)
2005-03-04 10:12:44 +00:00
martinlanghoff
07158c1ed0
Merged from MOODLE_14_STABLE - Cleanup of warnings in filter/activitynames
2005-02-14 07:40:46 +00:00
julmis
5096a8eada
Adding <span class="nolink"> excluding.
2005-01-30 14:21:52 +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
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
stronk7
2ed07cc70a
Solved bug 1491 in all the "linking" filters.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=1491 )
Bugfix 001
2004-05-30 01:00:16 +00:00
stronk7
6bda940380
Small change to make it a bit more consistent. No significant.
2004-05-27 23:43:08 +00:00
moodler
19f671d373
Fixed quotes in titles ... well nearly.
2004-05-24 17:58:46 +00:00
stronk7
341d554fdb
Avoid linking to labels and to hidden activities...
2004-05-24 17:43:11 +00:00
stronk7
45a1ad99a2
Allow every activity name in texts to be linked to the
...
original activity.
Bug 1454.
(http://moodle.org/bugs/bug.php?op=show&bugid=1454 )
2004-05-24 17:30:56 +00:00