1{section name=consts loop=$consts} 2{if $show == 'summary'} 3 var {$consts[consts].const_name}, {$consts[consts].sdesc}<br> 4{else} 5 <a name="{$consts[consts].const_dest}"></a> 6 <p></p> 7 <h4>{$consts[consts].const_name} = <span class="value">{$consts[consts].const_value|replace:"\n":"<br>\n"|replace:" ":" "|replace:"\t":" "}</span></h4> 8 <div class="indent"> 9 <p class="linenumber">[line {if $consts[consts].slink}{$consts[consts].slink}{else}{$consts[consts].line_number}{/if}]</p> 10 {include file="docblock.tpl" sdesc=$consts[consts].sdesc desc=$consts[consts].desc tags=$consts[consts].tags} 11 </div> 12 <p class="top">[ <a href="#top">Top</a> ]</p> 13{/if} 14{/section} 15