From 352534a1addf69efd32e15b57dfe5cf83e7900ca Mon Sep 17 00:00:00 2001 From: raul Date: Tue, 24 Jun 2014 12:00:33 -0300 Subject: revert changes --- modules/news.inc.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'modules') 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 )); } /** -- cgit v1.2.3-55-g7522