{* $Id$ *} {* Debug console tab -- to display result of command *} {* Display command results if we have smth to show... *} {if $result_type ne 0} {*NO_RESULT *}
> {$command|escape:"html"}
{if $result_type == 1}{*TEXT_RESULT*}
{* Show text in PRE section *}
{strip}
{$command_result|escape:"html"|wordwrap:90:"\n":true|replace:"\n":"
"}
{/strip}
{elseif $result_type == 2}{*HTML_RESULT*}
{* Type HTML as is *}
{$command_result}
{elseif $result_type == 3 && strlen($result_tpl) > 0}{*TPL_RESULT*}
{* Result have its own template *}
{include file=$result_tpl}
{/if}{* Check result type *}