| <?php |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); |
| $App = new App(); |
| $Nav = new Nav(); |
| $Menu = new Menu(); |
| |
| $keywords= 'eclipse, statet, news, announcements, new and noteworthy'; |
| |
| require('../_theme-def.php'); |
| |
| $themeVariables['btn_cfa'] = array( |
| 'hide' => FALSE, |
| 'href' => 'https://projects.eclipse.org/projects/science.statet/', |
| 'text' => '<i class="fa fa-home"></i> StatET' |
| ); |
| |
| require('../_theme-nav-statet.php'); |
| |
| $file= basename($App->getScriptName(), '.php').'.html'; |
| |
| $doc = new DOMDocument; |
| $doc->loadhtmlfile($file); |
| |
| $title = $doc->getElementsByTagName('title')->item(0); |
| $title = innerHTML($title); |
| |
| $body = $doc->getElementsByTagName('body')->item(0); |
| $body = innerHTML($body); |
| |
| $App->Promotion = FALSE; |
| |
| require('../_theme-page.php'); |