PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。

源代码在线查看: debug.tpl

软件大小: 30962 K
上传用户: ddddong
关键词: PHP 管理系统 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

				{* Smarty *}								{* debug.tpl, last updated version 2.0.1 *}								{assign_debug_info}								{if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"}										Smarty Debug Console					included templates & config files (load time in seconds):					{section name=templates loop=$_debug_tpls}						{section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename|escape:html}{if isset($_debug_tpls[templates].exec_time)} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}{/if}					{sectionelse}						no templates included						{/section}					assigned template variables:					{section name=vars loop=$_debug_keys}						{ldelim}${$_debug_keys[vars]}{rdelim}{$_debug_vals[vars]|@debug_print_var}					{sectionelse}						no template variables assigned						{/section}					assigned config file variables (outer template scope):					{section name=config_vars loop=$_debug_config_keys}						{ldelim}#{$_debug_config_keys[config_vars]}#{rdelim}{$_debug_config_vals[config_vars]|@debug_print_var}					{sectionelse}						no config vars assigned						{/section}													{else}									if( self.name == '' ) {ldelim}					   var title = 'Console';					{rdelim}					else {ldelim}					   var title = 'Console_' + self.name;					{rdelim}					_smarty_console = window.open("",title.value,"width=680,height=600,resizable,scrollbars=yes");					_smarty_console.document.write("Smarty Debug Console_"+self.name+"");					_smarty_console.document.write("");					_smarty_console.document.write("Smarty Debug Console");					_smarty_console.document.write("included templates & config files (load time in seconds):");					{section name=templates loop=$_debug_tpls}						_smarty_console.document.write("{section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename|escape:html|escape:javascript}{if isset($_debug_tpls[templates].exec_time)} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}{/if}");					{sectionelse}						_smarty_console.document.write("no templates included");						{/section}					_smarty_console.document.write("assigned template variables:");					{section name=vars loop=$_debug_keys}						_smarty_console.document.write("{ldelim}${$_debug_keys[vars]}{rdelim}{$_debug_vals[vars]|@debug_print_var|escape:javascript}");					{sectionelse}						_smarty_console.document.write("no template variables assigned");						{/section}					_smarty_console.document.write("assigned config file variables (outer template scope):");					{section name=config_vars loop=$_debug_config_keys}						_smarty_console.document.write("{ldelim}#{$_debug_config_keys[config_vars]}#{rdelim}{$_debug_config_vals[config_vars]|@debug_print_var|escape:javascript}");					{sectionelse}						_smarty_console.document.write("no config vars assigned");						{/section}					_smarty_console.document.write("");					_smarty_console.document.write("");					_smarty_console.document.close();								{/if}							

相关资源