summaryrefslogtreecommitdiffstats
path: root/modules/news.inc.php
diff options
context:
space:
mode:
authorraul2014-06-24 17:00:33 +0200
committerMichael Pereira Neves2014-07-11 15:02:46 +0200
commit352534a1addf69efd32e15b57dfe5cf83e7900ca (patch)
tree04d9ecf81eeca862cef8b4890f03f7ffd7cd0d43 /modules/news.inc.php
parent[templates] adapt html templates (diff)
downloadslx-admin-352534a1addf69efd32e15b57dfe5cf83e7900ca.tar.gz
slx-admin-352534a1addf69efd32e15b57dfe5cf83e7900ca.tar.xz
slx-admin-352534a1addf69efd32e15b57dfe5cf83e7900ca.zip
revert changes
Diffstat (limited to 'modules/news.inc.php')
-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 ));
}
/**