Sources for file plugins/smarty/function.debug.php in version 2.0



Click on a comment to hide it. Click here to show all comments.

/*
 * Smarty plugin
 * -------------------------------------------------------------
 * Type:     function
 * Name:     debug
 * Version:  1.0
 * Date:     July 1, 2002
 * Author:     Monte Ohrt <monte@ispi.net>
 * Purpose:  popup debug window
 * -------------------------------------------------------------
 */
function smarty_function_debug($params, &$smarty)
{
    if(
$params['output']) {
        
$smarty->assign('_smarty_debug_output',$params['output']);
    }
    return 
$smarty->_generate_debug_output();
}

/* vim: set expandtab: */

?>


Website is Copyright © Odynia.org 2000-2005 - Xnyo is released under a BSD license.