| <?php |
| require('../_theme-def.php'); |
| |
| if(!isset($keywords) OR $keywords == '') { |
| $keywords= "eclipse, statet, news, new and noteworthy, statet ${statetVersion}"; |
| } |
| |
| $themeVariables['btn_cfa'] = array( |
| 'hide' => FALSE, |
| 'href' => "/statet/downloads/${statetVersion}.php", |
| 'text' => "<i class=\"fa fa-download\"></i> Download StatET ${statetVersion}" |
| ); |
| |
| $file= basename($App->getScriptName(), '.php').'.html'; |
| |
| $doc = new DOMDocument; |
| $doc->loadhtmlfile($file); |
| enhanceDoc($doc); |
| |
| $title = $doc->getElementsByTagName('title')->item(0); |
| $title = innerHTML($title); |
| |
| $body = $doc->getElementsByTagName('body')->item(0); |
| $body = innerHTML($body); |
| |
| $right_nav = FALSE; |
| $App->Promotion = FALSE; |
| $App->AddExtraHtmlHeader('<link rel="stylesheet" href="noteworthy.css" type="text/css"/>'); |
| |
| require('../_theme-page.php'); |