$bigtree["form"] = $form = BigTreeAutoModule::getEmbedFormByHash($_GET["hash"]); $bigtree["form_root"] = ADMIN_ROOT."ajax/auto-modules/embeddable-form/"; ?>
// Configuration based CSS if (isset($bigtree["config"]["admin_css"]) && is_array($bigtree["config"]["admin_css"])) { foreach ($bigtree["config"]["admin_css"] as $style) { ?> } } // Runtime based CSS if (isset($bigtree["css"]) && is_array($bigtree["css"])) { $bigtree["css"] = array_unique($bigtree["css"]); foreach ($bigtree["css"] as $style) { $css_path = explode("/",$style); // This is an extension piece acknowledging it could be used outside the extension root if ($css_path[0] == "*") { $include_path = ADMIN_ROOT.$style; // This is an extension inside its routed directory loading its own styles } elseif (defined("EXTENSION_ROOT")) { $include_path = ADMIN_ROOT."*/".$bigtree["module"]["extension"]."/css/".$style; // This is just a regular old include } else { $include_path = ADMIN_ROOT."css/".$style; } ?> } } if ($form["css"]) { ?> } ?>