Home » HTML » HTML_Template_Sigma » Bug #8669
Sets variable required to show a block
Details
| Submitted | 2006-09-10 09:27 UTC |
|---|---|
| From | balandin87 at bk dot ru |
| Status | Bogus |
| Package | HTML_Template_Sigma |
| PHP Version | 5.1.4 |
| OS | Windows |
| 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>