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 2 matches
Smarty Forum Index
Author Message
  Topic: Smarty 3.1.15 - {include} in {block} ignores tpl dirs
cardmeister

Replies: 1
Views: 6434

PostForum: Bugs   Posted: Wed Dec 04, 2013 2:07 pm   Subject: Smarty 3.1.15 - {include} in {block} ignores tpl dirs
Versions:

3.1.15
SVN Trunk (12/4/2013)


Problem:

When placing an {include} inside a {block} tag, the template directory list is not considered past the first render.

templates/default/co ...
  Topic: What is the advantage of !! over (bool)
cardmeister

Replies: 0
Views: 2625

PostForum: General   Posted: Tue Aug 21, 2012 7:09 pm   Subject: What is the advantage of !! over (bool)
While poking through the Smarty code, there are a number of places where I see things like this:

$file_exists = !!$file_mtime

This seems to be used to booleanize values. I'm curious why this is ...
 
Page 1 of 1
All times are GMT
Jump to:  


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