} } } else { $clang = rex_clang::getStartId(); } $context = new rex_context(['page' => 'structure', 'category_id' => $category_id, 'article_id' => $article_id, 'clang' => $clang]); // --------------------- Extension Point echo rex_extension::registerPoint(new rex_extension_point('PAGE_STRUCTURE_HEADER_PRE', '', ['context' => $context])); // --------------------------------------------- TITLE echo rex_view::title(rex_i18n::msg('title_structure')); // --------------------------------------------- Languages echo rex_view::clangSwitchAsButtons($context); // --------------------------------------------- Path require __DIR__ . '/../functions/function_rex_category.php'; // -------------- STATUS_TYPE Map $catStatusTypes = rex_category_service::statusTypes(); $artStatusTypes = rex_article_service::statusTypes(); // --------------------------------------------- API MESSAGES echo rex_api_function::getMessage(); // --------------------------------------------- KATEGORIE LISTE $cat_name = 'Homepage'; $category = rex_category::get($category_id, $clang); if ($category) { $cat_name = $category->getName(); } $add_category = ''; if ($KATPERM) { $add_category = '<a href="' . $context->getUrl(['function' => 'add_cat', 'catstart' => $catstart]) . '"' . rex::getAccesskey(rex_i18n::msg('add_category'), 'add') . '><i class="rex-icon rex-icon-add-category"></i></a>'; } $data_colspan = 5; // --------------------- Extension Point