Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Wahlbrink2019-05-20 04:40:06 -0400
committerStephan Wahlbrink2019-05-20 04:40:06 -0400
commit711aa327a78d2fe86818280a1d5b6ec3e085ab21 (patch)
tree6c2e72a70cc6c8247fbe4ce3595b99005ed105d4
parent0f27d06baabc76038cc3577df128a07fae5089c4 (diff)
downloadstatet-711aa327a78d2fe86818280a1d5b6ec3e085ab21.tar.gz
statet-711aa327a78d2fe86818280a1d5b6ec3e085ab21.tar.xz
statet-711aa327a78d2fe86818280a1d5b6ec3e085ab21.zip
Add link to downloads of StatET
-rw-r--r--news/_noteworthyCommon.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/news/_noteworthyCommon.php b/news/_noteworthyCommon.php
index aca885d..9df2db6 100644
--- a/news/_noteworthyCommon.php
+++ b/news/_noteworthyCommon.php
@@ -26,6 +26,13 @@ if (!isset($theme)) {
$theme = "solstice";
}
$Theme = $App->getThemeClass($theme);
+$themeVariables = array();
+
+$themeVariables['btn_cfa'] = array(
+ 'hide' => FALSE,
+ 'href' => 'https://projects.eclipse.org/projects/science.statet/downloads',
+ 'text' => '<i class="fa fa-download"></i> Download StatET'
+);
$file = basename($App->getScriptName(), '.php').'.html';
@@ -42,6 +49,7 @@ $html = $body;
$html = mb_convert_encoding($html, 'HTML-ENTITIES', 'auto');
# Begin: page-specific settings. Change these.
+$Theme->setThemeVariables($themeVariables);
$Theme->setPageAuthor("");
$Theme->setPageKeywords($keywords);
$Theme->setPageTitle($title);

Back to the top