blob: 98ed4840199d4ee43e42fcfe519bb5f22021cd26 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2017 Eclipse Foundation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christopher Guindon (Eclipse Foundation) - Initial implementation
*******************************************************************************/
require_once(realpath(dirname(__FILE__) . "/../eclipse.org-common/system/app.class.php"));
$App = new App();
// Custom theme variables
$variables = array();
$variables['hide_breadcrumbs'] = TRUE;
$App->setThemeVariables($variables);
$Theme = $App->getThemeClass($theme);
$pageTitle = 'Eclipse Oxygen';
$Theme->setPageAuthor('Eclipse Foundation');
$Theme->setPageKeywords("eclipse oxygen, release, simultaneous, release train, oxygen");
$Theme->setPageTitle($pageTitle);
// Place your html content in a file called content/en_pagename.php
ob_start();
include("content/en_" . $App->getScriptName());
$html = ob_get_clean();
$Theme->setHtml($html);
$Theme->generatePage();