[Bins] template error in satyap style
Satya
satyap at thesatya.com
Mon May 3 01:02:53 BST 2004
On May 2, 2004 at 22:38, Guillaume Rousse wrote:
>Satya wrote:
>> On Apr 17, 2004 at 16:29, Guillaume Rousse wrote:
>>>HTML::Template->new() : At least one <TMPL_IF> or <TMPL_UNLESS> not
>>>terminated at end of file! at
>>>/usr/lib/perl5/vendor_perl/5.8.1/HTML/Template.pm line 2265
>>>
>>>It is quite recent, I didn't noticed it so far.
>Not much, except that it occurs after having processed all files in a
>directory. I think I found the problem, there was a missing /IF
>directive in images.html. The attached patch fixes the problem.
Ah, I see. Someone has added javascript image-preloading support to my
templates, and the javascript seems to be wrapped in a TMPL_IF. That
is why my copy works. This patch applies only to the templates
distributed with the javascript.
(Personally, I am not interested in js pre-loading, so my copy is not
going to have it.)
--
Satya. <URL:http://www.thesatya.com/>
Any sufficiently advanced technology is indistinguishable from a perl
script.
More information about the Bins
mailing list