Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 4 matches
Smarty Forum Index
Author Message
  Topic: smarty_make_timestamp: wrong result with MySQL timestamps
prossel

Replies: 1
Views: 11339

PostForum: Bugs   Posted: Thu Mar 18, 2004 5:29 pm   Subject: smarty_make_timestamp: wrong result with MySQL timestamps
I've run into some cases where smarty_make_timestamp returns wrong results with some values of MySQL timestamps.

Example:

Real date: march 18th, 2004 17:37:49
MySQL timestamp value: 20040318173 ...
  Topic: debug.tpl is missing javascript escape
prossel

Replies: 6
Views: 14283

PostForum: Bugs   Posted: Wed Aug 13, 2003 8:33 am   Subject: debug.tpl is missing javascript escape
Hello,

I've found another problem of the same type when template variables contain the \ character.

It's still in the debug.tpl, in the second part, where JavaScript commands are generated, in ...
  Topic: debug.tpl is missing javascript escape
prossel

Replies: 6
Views: 14283

PostForum: Bugs   Posted: Fri Aug 08, 2003 8:39 pm   Subject: debug.tpl is missing javascript escape
i think debug.tpl is right place to fix this. but i would escape the first occurence of {$_debug_tplsOK, this makes sense. I'll fix my fix as you suggested.

thanks for reporting this with the fix i ...
  Topic: debug.tpl is missing javascript escape
prossel

Replies: 6
Views: 14283

PostForum: Bugs   Posted: Fri Aug 08, 2003 9:06 am   Subject: debug.tpl is missing javascript escape
Hello,

I have this problem under windows (where path separator is \) with file names begining with some characters (ex: u). The page is trying to fill the debug window with javascript such as:
_sm ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP