Page 1 of 1

{debug} interrupting the rendering of html

Posted: Mon Sep 17, 2007 3:58 pm
by cubitus
The {debug} smarty's command is supposed logging the assigned smarty's variable into the html page.
I'm just wondering why inserting this command into a smarty template "interrupt" the rendering of the html just after loggin the name of the variable {$gCms) ? See the following code

Code: Select all

...
<h1>Smarty Debug Console</h1>

<h2>included templates & config files (load time in seconds)</h2>

<div>
    <p>no templates included</p>
</div>

<h2>assigned template variables</h2>

<table id="table_assigned_vars">
            <tr class="odd">
            <th>{$SCRIPT_NAME}</th>
            <td>"/cms/index.php"</td></tr>

            <tr class="even">
            <th>{$album}</th>
 
            <th>{$friendly_position}</th>
...
            <td>"4.8"</td></tr>
            <tr class="even">
            <th>{$gCms}</th>
            <td>
The last is in fact the last element that is part of the html page.

I'm running Apache/2.2.4 (Win32) PHP/5.2.3