<h3>Compiler</h3>
<form method="post" action="compiler.php?cmd=chdir">
<p>Source template directory: <input type="text" name="spl" value="{$splValue}" size="50"/></p>
<p>Compiled template directory: <input type="text" name="cpl" value="{$cplValue}" size="50"/></p>
<p>Plugin directory: <input type="text" name="plg" value="{$plgValue}" size="50"/></p>
<p>Master template: <input type="text" name="mas" value="{$masValue}" size="50"/></p>
<p>XML Syntax Mode: Yes <input type="radio" name="xml" value="1" {$sel1}/> <input type="radio" name="xml" value="0" {$sel0}/> No</p>
<p><input type="submit" value="Change directory"/></p>
</form>
<form method="post" action="compiler.php">
<table border="0" width="100%">
<thead>
<tr>
<th width="30">#</th>
<th>Template file</th>
<th>Compile date</th>
<th>Size (src/cpl)</th>
</tr>
</thead>
<tbody>
{section=templates}
<tr>
<td><input type="checkbox" name="sel[]" value="{$templates.filename}" id="lb{$templates.filename}"/></td>
<td><label for="lb{$templates.filename}">{$templates.filename}</label></td>
<td>{$templates.cdate}</td>
<td>{$templates.srcSize} / {$templates.cplSize}</td>
</tr>
{/section}
</tbody>
</table>
<p><input type="submit" name="rall" value="Remove all"/><input type="submit" name="rsel" value="Remove selected"/><input type="submit" name="csel" value="Compile selected"/></p>
</form>