compiler.debug.php

来自「、支持无限级的分类与子分类」· PHP 代码 · 共 34 行

PHP
34
字号
<?php

/*
 * Template Lite plugin converted from Smarty
 * -------------------------------------------------------------
 * Type:     function
 * Name:     debug
 * Version:  1.0
 * Date:     July 1, 2002
 * Author:	 Monte Ohrt <monte@ispi.net>
 * 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;
}

?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?