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 3 matches
Smarty Forum Index
Author Message
  Topic: {include} extract attribute
snaxor

Replies: 0
Views: 10986

PostForum: Feature Requests   Posted: Tue Oct 11, 2011 4:37 am   Subject: {include} extract attribute
{include} could have an optional extract attribute that would take an associative array (or object) and do the equivalent of php's extract command before passing the variables to the included template ...
  Topic: 3.1RC1, escape_html and |count
snaxor

Replies: 2
Views: 5610

PostForum: Bugs   Posted: Wed Jul 06, 2011 8:18 pm   Subject: 3.1RC1, escape_html and |count
This bug is now fixed in the SVN Smarty_3_1_DEV branch.

Super cool. Thanks [url=http://hyperboleandahalf.blogspot.com/2010/04/alot-is-better-than-you-at-everything.html]alot.
  Topic: 3.1RC1, escape_html and |count
snaxor

Replies: 2
Views: 5610

PostForum: Bugs   Posted: Wed Jul 06, 2011 6:35 pm   Subject: 3.1RC1, escape_html and |count
In 3.1RC1, with escape_html set to true, the |count modifier gets applied after the htmlspecialchars in the compiled template. |count works as expected when, escape_html is false.

Php:

$smarty = ...
 
Page 1 of 1
All times are GMT
Jump to:  


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