assign('add_ready', $addReady); $contentTemplate = $tpl->get_template($templateName); $tpl->display($contentTemplate); }