| <?php | |
| /** | |
| * Copyright (c) 2014, 2018 Eclipse Foundation and others. | |
| * | |
| * This program and the accompanying materials are made | |
| * available under the terms of the Eclipse Public License 2.0 | |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ | |
| * | |
| * Contributors: | |
| * Christopher Guindon (Eclipse Foundation) - Initial implementation | |
| * Eric Poirier (Eclipse Foundation) | |
| * | |
| * SPDX-License-Identifier: EPL-2.0 | |
| */ | |
| require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); | |
| $App = new App(); | |
| $Theme = $App->getThemeClass(); | |
| include ($App->getProjectCommon()); | |
| // Begin: page-specific settings. Change these. | |
| $pageTitle = "Eclipse Luna"; | |
| $Theme->setPageTitle($pageTitle); | |
| $Theme->setPageKeywords("eclipse Luna, release, simultaneous, release train, luna"); | |
| $Theme->setPageAuthor("Christopher Guindon"); | |
| // Custom theme variables | |
| $variables = array(); | |
| $variables['hide_breadcrumbs'] = TRUE; | |
| $variables['main_container_classes'] = 'container-full footer-offset breadcrumbs-offset padding-top'; | |
| $App->setThemeVariables($variables); | |
| ob_start(); | |
| include ("content/en_" . $App->getScriptName()); | |
| $html = ob_get_clean(); | |
| $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/luna/assets/public/stylesheets/styles.min.css" media="screen" />'); | |
| $Theme->setHtml($html); | |
| $Theme->generatePage(); |