You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
1.1 KiB

{* $Id$ *}
{* Show help for debugger commands *}
{if $command_result.action eq 'one'}
{* Show help about single command *}
<table border="0">
<tr>
<td width="15%"><code>{$command_result.name}</code></td>
<td>{$command_result.description} </td>
</tr>
<tr><td><br></td></tr>
<tr>
<td></td>
<td> {tr}Syntax:{/tr} <pre>{$command_result.syntax}</pre> </td>
</tr>
<tr><td><br></td></tr>
<tr>
<td></td>
<td> {tr}Example:{/tr} <pre>{$command_result.example}</pre> </td>
</tr>
</table>
{elseif $command_result.action eq 'list'}
{* Show help for all available commands. There is any time at
least one command present: 'help' -- its appended by debugger itself
*}
<table border="0">
{section name=i loop=$command_result[0]}
<tr>
<td width="15%"><code>{$command_result[0][i].cmd}</code></td>
<td>{$command_result[0][i].description}</td>
</tr>
{/section}
</table>
{/if}