From: <var...@us...> - 2014-07-02 09:20:20
|
Revision: 8948 http://sourceforge.net/p/phpwiki/code/8948 Author: vargenau Date: 2014-07-02 09:20:18 +0000 (Wed, 02 Jul 2014) Log Message: ----------- No trigger_error, display error inline Modified Paths: -------------- trunk/lib/plugin/TeX2png.php Modified: trunk/lib/plugin/TeX2png.php =================================================================== --- trunk/lib/plugin/TeX2png.php 2014-07-02 09:10:30 UTC (rev 8947) +++ trunk/lib/plugin/TeX2png.php 2014-07-02 09:20:18 UTC (rev 8948) @@ -181,8 +181,7 @@ $this->createTexFile($texfile, $text); $this->createPngFile($this->imagepath, $imagename); } else { - $error_html = _("TeX imagepath not writable."); - trigger_error($error_html, E_USER_NOTICE); + return HTML::span(array('class' => 'error'), _("TeX imagepath not writable.")); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |