mirror of
https://github.com/smarty-php/smarty.git
synced 2026-02-03 22:05:33 +01:00
- replace internal "eval()" calls by "include" during rendering process
- speed improvment for templates which have included subtemplates
the compiled code of included templates is merged into the compiled code of the parent template
- added logical operator "xor" for {if} tag
- changed parameter ordering for Smarty2 BC
fetch($template, $cache_id = null, $compile_id = null, $parent = null)
display($template, $cache_id = null, $compile_id = null, $parent = null)
createTemplate($template, $cache_id = null, $compile_id = null, $parent = null)
- property resource_char_set is now replaced by constant SMARTY_RESOURCE_CHAR_SET
- fixed handling of classes in registered blocks
- speed improvement of lexer on text sections
This commit is contained in:
@@ -36,7 +36,8 @@
|
||||
*/
|
||||
function smarty_function_html_image($params, $smarty, $template)
|
||||
{
|
||||
$smarty->loadPlugin('Smarty_shared_escape_special_chars');
|
||||
require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php');
|
||||
//$smarty->loadPlugin('Smarty_shared_escape_special_chars');
|
||||
|
||||
$alt = '';
|
||||
$file = '';
|
||||
|
||||
Reference in New Issue
Block a user