Re: [htmltmpl] fetch the CGI objects

2008-04-29 Thread Sven Neuhaus
disabled="disabled"'); Hope that helps... Regards, -Sven Neuhaus - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time

Re: [htmltmpl] dynamic

2007-11-02 Thread Sven Neuhaus
Kapoor, Nishikant schrieb: > Hello all, > > I have a need to include a template based on a certain condition i.e., I > would like to be able to do > > /my.tmpl"> > > where I can set myDir. Browsing the archives suggests that this functionality > is presently not available. Since th

[htmltmpl] Useful little patch for force_untaint option

2007-09-06 Thread Sven Neuhaus
Hello, this little patch will reveal the parameter name of the tainted value in some cases. I haven't figured out how to do it in the other cases, I don't think the name of the parameter name is preserved in the data structure. Cheers, -Sven diff -u HTML-Template-2.9/Template.pm HTML-Template-2.

Re: [htmltmpl] HTML::Template support for Unicode

2007-07-21 Thread Sven Neuhaus
Erik van Konijnenburg schrieb: > On Fri, 2007-07-20 at 09:58 +0200, Sven Neuhaus wrote: >> Erik van Konijnenburg schrieb: >>> This is to propose for inclusion in HTML::Template a patch that >>> adds unicode support. >>> If the template file happens to contain U

Re: [htmltmpl] HTML::Template support for Unicode

2007-07-20 Thread Sven Neuhaus
Erik van Konijnenburg schrieb: > This is to propose for inclusion in HTML::Template a patch that > adds unicode support. > If the template file happens to contain Unicode already, this breaks: > the bytes making up an UTF-8 character are fed to the Latin => unicode > transformation, and you end up

Re: [htmltmpl] apache and html template

2007-07-13 Thread Sven Neuhaus
Blesson Paul wrote: > > I have an issue with Polish character ś. This > > charecter is corrupted when it is outputed through > > HTML::Template->output(). > > > > Only this charecter is causing the issue. Rest of them > > are fine. Is there any solution to solve this ś is an "s-acute", right? "ś"

Re: [htmltmpl] Numeric loops

2007-05-02 Thread Sven Neuhaus
Dan Horne wrote: > Is there a way to loop from a lower integer to an higher one? For example, > say an article has a rating of 4. I'd like to loop from 1 to 4 and print a > star at each iteration. The only way I can see of doing this is create an > array ref in the perl coder and pass that to the t

Re: [htmltmpl] calling javascript from the template

2007-04-25 Thread Sven Neuhaus
Robert Franks wrote: > It seems the page does not invoke the call to 'urchin.js' as am getting > javascript error: > 'urchintracker() not defined' I checked: The function name is "urchinTracker", JavaScript is case sensitive. -Sven ---

Re: [htmltmpl] Patch for new option "force_untaint" - comments?

2006-12-07 Thread Sven Neuhaus
Sven Neuhaus wrote: > The "force_untaint" option. This option makes sure that no tainted values > are set in the template. > [...] > Please let me know what you think. I believe this would be very helpful in > preventing cross-site-scripting (CSS) bugs. No feedback? :-(

[htmltmpl] Patch for new option "force_untaint"

2006-11-24 Thread Sven Neuhaus
untainted. I have attached a patch to the bug that implements this feature. Please let me know what you think. I believe this would be very helpful in preventing cross-site-scripting (CSS) bugs. Regards, -Sven Neuhaus - Ta