friendica/friendica — pull request #561 by fermionic (2012-12-25 19:07:11+00:00)
Title: 20121225 smarty includes like friendicas

I decided I really disliked having statements like {{ inc $field_select }} where $field_select was defined by the PHP scripts. It takes too much control away from theme developers, and it's a pain to maintain. Plus, by getting rid of that, porting to Red will be easier.

Also, further tests that I've done (in addition to Smarty's documentation) reveal that not all variables have to be explicitly pass to included templates. Included templates can use the calling template's variables, just like in Friendica.