Sam Hemelryk
962360fa21
MDL-27771 filter-text: Fixed typo contninue
2011-07-13 14:52:44 +08:00
Petr Skoda
f7f0909ce5
PULL-442 multiple TeX related fixes
...
Prevent moodle_url error, cleanup entity encoding and decoding, disable tex source view when TeX and Algebra plugins disabled, localise TeX source popup and prevent phishing attempts, fix executable permission of Algebra pearl script, prevent image error in tex debug when Tex/Ghostscript not configured properly, fix copyright blocks and phpdocs, improve coding style, fix wrong source display link in Algebra filter.
2011-03-13 15:18:07 +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
Andrew Davis
e4cd4de28a
filters MDL-22564 fixing some php errors in the filters
2010-05-26 01:31:11 +00:00
Andrew Davis
eaed2fd163
ajax MDL-22286 removed references to the previous version of the JS function openpopup()
2010-05-05 02:05:58 +00:00
Inaki
cf4e7548a8
filter tex: MDL-10197 Quality improvement of TeX-images by using PNG format.
...
It seems some TeX installs use a convert utility that renders poor quality
images when using the GIF format, but render good ones when using PNG. If
all the needed tools are available, let the admin choose the preferred
output format.
Merged from MOODLE_19_STABLE
2010-04-10 00:19:22 +00:00
Andrew Davis
c78a948e8c
all areas MDL-20821 Replaced instances of ereg_replace and eregi_replace with preg_replace
2009-11-17 01:36:35 +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
skodak
c94985efb1
MDL-18552 different TeX trouble fix
2009-03-31 10:03:10 +00:00
stronk7
e42398e409
MDL-18552 TeX filter - blacklist unsecure commands + protect texdebug ; merged from 19_STABLE
2009-03-26 19:17:25 +00:00
tjhunt
c1d9eeb920
tex filter: MDL-18230 ensure we always generate valid XHTML.
2009-02-17 05:24:41 +00:00
dongsheng
e47d5adef3
"FILTER/MDL-18230, remove hardcoded style for TeX formulas image, merged from 1.9"
2009-02-16 03:10:01 +00:00
dongsheng
9e3f34d1c7
"FILTER/MDL-14582, filters 2.0, compatible with old filters"
2008-12-19 02:16:00 +00:00
skodak
b402e13409
MDL-14679 towards filters conversion
2008-06-02 08:46:50 +00:00
skodak
82a5323cd7
MDL-14679 towards filters conversion
2008-06-02 08:46:50 +00:00
dongsheng
09ee7b0d9e
MDL-14460, fix get_context_instance, see tracker
2008-04-23 08:07:42 +00:00
skodak
220a90c5a1
MDL-11561 admin tree improvements and bugfixing
2007-12-19 17:35:20 +00:00
sam_marshall
f5ceb06a32
MDL-12039 Added ability to configure alt text when using TeX filter
2007-11-06 15:49:03 +00:00
skodak
0f13ec8f9b
MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon
2007-01-08 20:30:38 +00:00
skodak
2bbaf749c8
MDL-7434 all images that convey information should have alt text to convey that information - part 2
2006-11-25 18:09:33 +00:00
toyomoyo
5f10f77505
took out a comment, for proper debugging use the new debugging() function
2006-09-19 04:31:36 +00:00
toyomoyo
51792df056
adding capabilities
2006-09-08 08:46:26 +00:00
thepurpleblob
82a76d38b5
Some more tweaks to LaTeX filter - see bug #3829 .
2005-08-10 12:58:38 +00:00
thepurpleblob
25d7779cf2
Added additional features/fixes noted in bug #3795 by Dmitry Pupinin.
2005-07-22 09:01:34 +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
894ff63f8f
Tabs are out
2005-05-16 22:22:31 +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
fiedorow
f352814af5
various improvements: updated mimetex, image positioning, XHTML validation
2005-02-10 22:17:13 +00:00
gustav_delius
839f2456bb
XHTML compliance
...
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +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
fiedorow
7363a0355b
Commented out debugging code
2004-04-26 15:20:10 +00:00
fiedorow
30fc04e4e8
replaced js alert by popup
2004-03-28 22:35:49 +00:00
fiedorow
d633b4eb27
Expression image now links to TeX source or debug script
2004-03-27 18:33:30 +00:00
fiedorow
ea3cf78190
Remove nolink tags in glossaries
2004-02-29 14:26:57 +00:00
moodler
4da85078e9
Changed the name of all filters to be consistent.
...
Removed texh filter
2004-02-17 05:22:26 +00:00