Location: PHPKode > projects > Pligg > pligg/plugins/compiler.debug.php
<?php

/*
 * Template Lite plugin converted from Smarty
 * -------------------------------------------------------------
 * Type:     function
 * Name:     debug
 * Version:  1.0
 * Date:     July 1, 2002
 * Author:	 Monte Ohrt <hide@address.com>
 * Purpose:  popup debug window
 * -------------------------------------------------------------
 */
function tpl_compiler_debug($params, &$tpl)
{
	if($params['output'])
	{
	    $debug_output = '$this->assign("_templatelite_debug_output", ' . $params['output'] . ');';
	}
	else
	{
		$debug_output = "";
	}

	if(!function_exists("generate_compiler_debug_output"))
	{
		require_once(TEMPLATE_LITE_DIR . "internal/compile.generate_compiler_debug_output.php");
	}
	$debug_output .= generate_compiler_debug_output($tpl);
	return $debug_output;
}

?>
Return current item: Pligg