diff --git a/Theme/Backend/news-archive.tpl.php b/Theme/Backend/news-archive.tpl.php index 28f6176..ddd46d2 100644 --- a/Theme/Backend/news-archive.tpl.php +++ b/Theme/Backend/news-archive.tpl.php @@ -25,13 +25,13 @@ $footerView->setPage(1); echo $this->getData('nav')->render(); ?>
| = $this->l11n->lang['News']['Type']; ?> - | = $this->l11n->lang['News']['Title']; ?> - | = $this->l11n->lang['News']['Author']; ?> - | = $this->l11n->lang['News']['Date']; ?> + | = $this->l11n->getText('News', 'Type'); ?> + | = $this->l11n->getText('News', 'Title'); ?> + | = $this->l11n->getText('News', 'Author'); ?> + | = $this->l11n->getText('News', 'Date'); ?> |
| = $footerView->render(); ?> @@ -39,7 +39,7 @@ echo $this->getData('nav')->render(); ?> $value) : $count++; ?> - | |||||||
| = $this->l11n->lang[0]['Empty']; ?> + | |||||||
| = $this->l11n->getText(0, 'Empty'); ?> | |||||||
| - | = $this->l11n->lang['News']['Type']; ?> - | = $this->l11n->lang['News']['Title']; ?> - | = $this->l11n->lang['News']['Author']; ?> - | = $this->l11n->lang['News']['Date']; ?> + | = $this->l11n->getText('News', 'Type'); ?> + | = $this->l11n->getText('News', 'Title'); ?> + | = $this->l11n->getText('News', 'Author'); ?> + | = $this->l11n->getText('News', 'Date'); ?> |
| = $news->isFeatured() ? '' : ''; ?> - | = $this->l11n->lang['News']['TYPE' . $news->getType()]; ?> - | = $news->getTitle(); ?> - | = $news->getCreatedBy(); ?> - | = $news->getPublish()->format('Y-m-d'); ?> + | = $this->l11n->lang['News', 'TYPE' . $news->getType()); ?> + | = $news->getTitle(); ?> + | = $news->getCreatedBy(); ?> + | = $news->getPublish()->format('Y-m-d'); ?> - |
| = $this->l11n->lang[0]['Empty']; ?> + | ||||||||
| = $this->l11n->getText(0, 'Empty'); ?> | ||||||||
| - | = $this->l11n->lang['News']['Type']; ?> - | = $this->l11n->lang['News']['Title']; ?> - | = $this->l11n->lang['News']['Author']; ?> - | = $this->l11n->lang['News']['Date']; ?> + | = $this->l11n->getText('News', 'Type'); ?> + | = $this->l11n->getText('News', 'Title'); ?> + | = $this->l11n->getText('News', 'Author'); ?> + | = $this->l11n->getText('News', 'Date'); ?> |
| = $news->isFeatured() ? '' : ''; ?> - | = $this->l11n->lang['News']['TYPE' . $news->getType()]; ?> - | = $news->getTitle(); ?> - | = $news->getCreatedBy(); ?> - | = $news->getPublish()->format('Y-m-d'); ?> + | = $this->l11n->lang['News', 'TYPE' . $news->getType()); ?> + | = $news->getTitle(); ?> + | = $news->getCreatedBy(); ?> + | = $news->getPublish()->format('Y-m-d'); ?> - |
| = $this->l11n->lang[0]['Empty']; ?> + | ||||||||
| = $this->l11n->getText(0, 'Empty'); ?> | ||||||||