/** * Send all content according to the current layout * @static */ function Template() { global $page, $GP_ARRANGE, $GP_STYLES, $get_all_gadgets_called, $addon_current_id; $get_all_gadgets_called = false; if (isset($page->theme_addon_id)) { $addon_current_id = $page->theme_addon_id; } gpOutput::TemplateSettings(); header('Content-Type: text/html; charset=utf-8'); require $page->theme_dir . '/template.php'; gpPlugin::ClearDataFolder(); gpOutput::AllGadgetSetting(); gpOutput::HeadContent(); }