mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 04:04:10 +02: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:
@@ -25,8 +25,10 @@
|
||||
*/
|
||||
function smarty_function_html_select_time($params, $smarty, $template)
|
||||
{
|
||||
$smarty->loadPlugin('Smarty_shared_make_timestamp');
|
||||
$smarty->loadPlugin('Smarty_function_html_options');
|
||||
require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php');
|
||||
require_once(SMARTY_PLUGINS_DIR . 'function.html_options.php');
|
||||
//$smarty->loadPlugin('Smarty_shared_make_timestamp');
|
||||
//$smarty->loadPlugin('Smarty_function_html_options');
|
||||
|
||||
/* Default values. */
|
||||
$prefix = "Time_";
|
||||
|
||||
Reference in New Issue
Block a user