Package: php-html-template-it
Version: 1:1.2.1-2
Followup-For: Bug #320959


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php-html-template-it depends on:
ii  php-pear                      5.2.4-2    PEAR - PHP Extension and Applicati

php-html-template-it recommends no packages.

-- no debconf information
You've broken the package completely!
If you want the template without any variables or blocks to show up you
have 2 options:
1) you invoke the loadTemplatefile/setTemplate this way:
$tpl->loadTemplatefile('main.tpl.htm', true,false);
the last parameter says you don't want the empty variables and the first empty
block in this case is the __global__ block
2) you can "touch" the blocks:
$tpl->touchBlock('__global__');

The global block is special to HTML_Template_IT/X that it doesn't need
to have the enclosing tags.
Please look in the source HTML/Template/IT.php:770



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to