PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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>