hasPermission('page-edit')) { /** @var ProcessPageSearch $searchForm */ $searchForm = $modules->get('ProcessPageSearch'); $searchForm = $searchForm->renderSearchForm(); } else { $searchForm = ''; } $version = $adminTheme->version . 'k'; $config->styles->prepend($config->urls->root . "wire/templates-admin/styles/AdminTheme.css?v=$version"); $config->styles->prepend($config->urls->adminTemplates . "styles/" . ($adminTheme->colors ? "main-$adminTheme->colors" : "main-classic") . ".css?v=$version"); $config->styles->append($config->urls->root . "wire/templates-admin/styles/font-awesome/css/font-awesome.min.css?v=$version"); $ext = $config->debug ? "js" : "min.js"; $config->scripts->append($config->urls->root . "wire/templates-admin/scripts/inputfields.$ext?v=$version"); $config->scripts->append($config->urls->root . "wire/templates-admin/scripts/main.$ext?v=$version"); $config->scripts->append($config->urls->adminTemplates . "scripts/main.$ext?v=$version"); require_once(dirname(__FILE__) . "/AdminThemeDefaultHelpers.php"); /** @var AdminThemeDefaultHelpers $helpers */ $helpers = $this->wire(new AdminThemeDefaultHelpers()); $extras = $adminTheme->getExtraMarkup(); ?>