Changeset [8e36055b5c8e0504233e4271d6644e8becfbbe4e] by dleffler
Revision 8e36055b5c8e0504233e4271d6644e8becfbbe4e,
committed by dleffler
· April 11th, 2014 @ 04:32 AM
Adds two smarty plugins: 'exp_include' includes a template
(file) based on current framework, it can pass an alternate (else)
template, (assign) output to a variable, or pass other variables
{exp_include file=show else=noshow assign=tempvar anothervar=1};
'serialize' can disassemble an assoc array for input into the
'assoc_array' block plugin {serialize var=$myarray}
https://github.com/exponentcms/exponent-cms/commit/8e36055b5c8e0504...
2 changed files
-
A
framework/plugins/compiler.exp_include.php -
A
framework/plugins/function.serialize.php