X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fsmarty%2Flibs%2Fplugins%2Ffunction.assign_debug_info.php;h=654049876a92f6797ce0773202c6e521426ca17d;hb=38927c4d48865f73d1b965f1a07c76efe4339a9a;hp=0d66b061aec2b3869f6ce867dc2f93406d9dbf21;hpb=e034221efbc7970ec58be22d7517fd3c503dc903;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/smarty/libs/plugins/function.assign_debug_info.php b/wwwroot/smarty/libs/plugins/function.assign_debug_info.php index 0d66b06..6540498 100644 --- a/wwwroot/smarty/libs/plugins/function.assign_debug_info.php +++ b/wwwroot/smarty/libs/plugins/function.assign_debug_info.php @@ -11,6 +11,7 @@ * Type: function
* Name: assign_debug_info
* Purpose: assign debug info to the template
+ * @author Monte Ohrt * @param array unused in this plugin, this plugin uses {@link Smarty::$_config}, * {@link Smarty::$_tpl_vars} and {@link Smarty::$_smarty_debug_info} * @param Smarty @@ -25,12 +26,12 @@ function smarty_function_assign_debug_info($params, &$smarty) $smarty->assign("_debug_config_keys", array_keys($config_vars)); $smarty->assign("_debug_config_vals", array_values($config_vars)); } - + $included_templates = $smarty->_smarty_debug_info; - + $smarty->assign("_debug_keys", array_keys($assigned_vars)); $smarty->assign("_debug_vals", array_values($assigned_vars)); - + $smarty->assign("_debug_tpls", $included_templates); }