TODO:
/**
*
* @param {array} $params
* $params['name'] Name of the part (e.g. content-main.html)
* $params['assign_to'] Variable withing the template engine to which the content has to be assinged.
*
*
* REFERENCES:
*
* http://www.smarty.net/docs/en/plugins.functions.tpl
*
* @example
*
* {content name="welcome"}
*
* {content name="welcome" if="{$smarty.cookies.visited}" condition="equal" value="yes" show="none"}
*
* #inside 'content-welcome.html' yuo should add:
*
* {cookie name="visited" value="yes" expiration="60"} // the cookie will expire in 1 hour (60 minutes)
* <h1>First time?... Yay!</h1>
*
*/