Package: php-html-template-it This packages refuses to display pages that have no variable replacements in them. This situation might come up with a page that used to have variable replacements but doesn't any more, or one that you plan to have in the future, and just haven't put them in yet.
Here's what I'm using as a testcase: index.php: <?php require_once "HTML/Template/IT.php"; $tpl = new HTML_Template_IT("./templates"); $tpl->loadTemplatefile("main.tpl.htm", true, true); $tpl->show(); ?> templates/main.tpl.htm: <html> <p>foo</p> </html> This case in fact looks intentionally crippled, with no explanation as to why. This patch removes the crippling. --- /tmp/IT.php 2005-08-02 05:16:43.393968953 -0700 +++ IT.php 2005-08-02 05:28:11.005155573 -0700 @@ -585,10 +585,7 @@ } else { - if (isset($this->touchedBlocks[$block])) { - $this->blockdata[$block] .= $outer; - unset($this->touchedBlocks[$block]); - } + $this->blockdata[$block] .= $outer; } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]