diff options
author | raul | 2014-06-24 17:00:33 +0200 |
---|---|---|
committer | raul | 2014-06-24 17:00:33 +0200 |
commit | ed999be5f2192b9fe82535daa79e13baac5d156a (patch) | |
tree | 92a04d93111b8f84b55126035f2bcbdd68c038dc | |
parent | [templates] adapt html templates (diff) | |
download | slx-admin-ed999be5f2192b9fe82535daa79e13baac5d156a.tar.gz slx-admin-ed999be5f2192b9fe82535daa79e13baac5d156a.tar.xz slx-admin-ed999be5f2192b9fe82535daa79e13baac5d156a.zip |
revert changes
-rw-r--r-- | modules/news.inc.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/news.inc.php b/modules/news.inc.php index 3adae7f7..31a37e4a 100644 --- a/modules/news.inc.php +++ b/modules/news.inc.php @@ -49,21 +49,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 )); } |