PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_Template_Sigma » Bug #8669

Sets variable required to show a block

Details

Submitted2006-09-10 09:27 UTC
Frombalandin87 at bk dot ru
StatusBogus
PackageHTML_Template_Sigma
PHP Version5.1.4
OSWindows
Roadmaps(Not assigned)

Comments

[2006-09-10 09:27 UTC] balandin87 at bk dot ru

Description:
------------
When block haven't variables, it didn't shown. I use latest version of the PEAR package.

Test script:
---------------
<?php
require_once 'Sigma.php';
$tpl = new HTML_Template_Sigma('.');
$tpl->loadTemplateFile('template.html');

$tpl->parse('block');

$tpl->show();
?>

/* Contents of template.html */

<html>
<!-- BEGIN block -->
text
<!-- END block -->
</html>

Expected result:
----------------
<html>
text
</html>

Actual result:
--------------
<html>

</html>