diff options
author | raul | 2014-06-24 17:00:33 +0200 |
---|---|---|
committer | Michael Pereira Neves | 2014-07-11 15:02:46 +0200 |
commit | 352534a1addf69efd32e15b57dfe5cf83e7900ca (patch) | |
tree | 04d9ecf81eeca862cef8b4890f03f7ffd7cd0d43 /modules | |
parent | [templates] adapt html templates (diff) | |
download | slx-admin-352534a1addf69efd32e15b57dfe5cf83e7900ca.tar.gz slx-admin-352534a1addf69efd32e15b57dfe5cf83e7900ca.tar.xz slx-admin-352534a1addf69efd32e15b57dfe5cf83e7900ca.zip |
revert changes
Diffstat (limited to 'modules')
-rw-r--r-- | modules/news.inc.php | 10 |
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 )); } /** |