summaryrefslogtreecommitdiffstats
path: root/modules/news.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/news.inc.php')
-rw-r--r--modules/news.inc.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/news.inc.php b/modules/news.inc.php
index 2f169fb5..19955978 100644
--- a/modules/news.inc.php
+++ b/modules/news.inc.php
@@ -85,13 +85,19 @@ class Page_News extends Page
if ($row['newsid'] == $this->newsId) $row['active'] = "active";
$lines[] = $row;
}
- // render each entry
+ $dictionary = new Dictionary();
$paginate->render('page-news', array(
'token' => Session::get('token'),
'latestDate' => ($this->newsDate ? date('d.m.Y H:i', $this->newsDate) : '--'),
'latestContent' => $this->newsContent,
'latestTitle' => $this->newsTitle,
- 'list' => $lines
+ 'list' => $lines,
+ 'activeNews' => $dictionary->translate("activeNews"),
+ 'title' => $dictionary->translate("title"),
+ 'content' => $dictionary->translate("content"),
+ 'save' => $dictionary->translate("save"),
+ 'latestUpdate' => $dictionary->translate("latestUpdate"),
+ 'welcome' => $dictionary->translate("welcome")
));
}