summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/news.inc.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/news.inc.php b/modules/news.inc.php
index 19955978..e5be99ac 100644
--- a/modules/news.inc.php
+++ b/modules/news.inc.php
@@ -85,20 +85,12 @@ class Page_News extends Page
if ($row['newsid'] == $this->newsId) $row['active'] = "active";
$lines[] = $row;
}
- $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,
- 'activeNews' => $dictionary->translate("activeNews"),
- 'title' => $dictionary->translate("title"),
- 'content' => $dictionary->translate("content"),
- 'save' => $dictionary->translate("save"),
- 'latestUpdate' => $dictionary->translate("latestUpdate"),
- 'welcome' => $dictionary->translate("welcome")
- ));
+ 'list' => $lines ));
}
/**