cvs: smarty / NEWS Smarty.class.php TODO

From: Date: Thu, 01 Aug 2002 21:04:38 +0000
Subject: cvs: smarty / NEWS Smarty.class.php TODO
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-220@lists.php.net to get a copy of this message
mohrt Thu Aug 1 17:04:38 2002 EDT Modified files: /smarty NEWS Smarty.class.php TODO Log: changed default warning type for plugin errors from E_USER_WARNING to E_USER_ERROR Index: smarty/NEWS diff -u smarty/NEWS:1.224 smarty/NEWS:1.225 --- smarty/NEWS:1.224 Mon Jul 29 10:21:52 2002 +++ smarty/NEWS Thu Aug 1 17:04:37 2002 @@ -1,3 +1,5 @@ + - changed default warning type for plugin errors from + E_USER_WARNING to E_USER_ERROR (Monte) - added $all_extra, $hour_extra, $minute_extra, $second_extra and $meridian_extra parameters to html_select_time function (Rainer Collet, Monte) Index: smarty/Smarty.class.php diff -u smarty/Smarty.class.php:1.308 smarty/Smarty.class.php:1.309 --- smarty/Smarty.class.php:1.308 Wed Jul 17 17:33:12 2002 +++ smarty/Smarty.class.php Thu Aug 1 17:04:37 2002 @@ -1948,7 +1948,7 @@ Function: _trigger_plugin_error Purpose: trigger Smarty plugin error \*======================================================================*/ - function _trigger_plugin_error($error_msg, $tpl_file = null, $tpl_line = null, $error_type = E_USER_WARNING) + function _trigger_plugin_error($error_msg, $tpl_file = null, $tpl_line = null, $error_type = E_USER_ERROR) { if (isset($tpl_line) && isset($tpl_file)) { trigger_error("Smarty plugin error: [in " . $tpl_file . " line " . Index: smarty/TODO diff -u smarty/TODO:1.25 smarty/TODO:1.26 --- smarty/TODO:1.25 Thu Jul 25 12:30:45 2002 +++ smarty/TODO Thu Aug 1 17:04:38 2002 @@ -2,7 +2,6 @@ * correctly capture nested php tag syntax in templates: <?php echo "<?php exit(); ?>"; ?> * support implementations of prefiltes, mods, and others as class methods. -* possibly implement default modifiers that apply to variables upon display * ability to concatenate values/strings together * fix all E_NOTICE warnings * make simple math easier @@ -10,7 +9,7 @@ * change plugins so $smarty variable always comes first * being able to load config files from PHP scripts * get cache ttl with function call - +* make Config_File booleanize configurable through Smarty FIX: make inserts use normal functions before plugins UPD: change it so that if template comes from some resource, that resource stays as the default, no need to specify it

« previous php.smarty.cvs (#220) next »