| = $this->l11n->lang['Tasks']['Status']; ?> - | = $this->l11n->lang['Tasks']['Due']; ?> - | = $this->l11n->lang['Tasks']['Title']; ?> - | = $this->l11n->lang['Tasks']['Creator']; ?> - | = $this->l11n->lang['Tasks']['Created']; ?> + | = $this->l11n->getText('Tasks', 'Status'); ?> + | = $this->l11n->getText('Tasks', 'Due'); ?> + | = $this->l11n->getText('Tasks', 'Title'); ?> + | = $this->l11n->getText('Tasks', 'Creator'); ?> + | = $this->l11n->getText('Tasks', 'Created'); ?> | $task) : $c++; @@ -40,30 +40,30 @@ echo $this->getData('nav')->render(); ?> elseif($task->getStatus() === \Modules\Tasks\Models\TaskStatus::CANCELED) { $color = 'red'; } elseif($task->getStatus() === \Modules\Tasks\Models\TaskStatus::SUSPENDED) { $color = 'yellow'; } ;?>
| = $this->l11n->lang['Tasks']['S' . $task->getStatus()]; ?> + | = $this->l11n->getText('Tasks', 'S' . $task->getStatus()); ?> | = $task->getDue()->format('Y-m-d H:i'); ?> | = $task->getTitle(); ?> | = $task->getCreatedBy(); ?> | = $task->getCreatedAt()->format('Y-m-d H:i'); ?> - |
| = $this->l11n->lang[0]['Empty']; ?> + | |||||
| = $this->l11n->getText(0, 'Empty'); ?> | |||||
| = $this->l11n->lang['Tasks']['Received']; ?> | 0 - |
|---|---|
| = $this->l11n->lang['Tasks']['Created']; ?> | 0 - |
| = $this->l11n->lang['Tasks']['Forwarded']; ?> | 0 - |
| = $this->l11n->lang['Tasks']['AverageAmount']; ?> | 0 - |
| = $this->l11n->lang['Tasks']['AverageProcessTime']; ?> | 0 - |
| = $this->l11n->lang['Tasks']['InTime']; ?> | 0 + |
| = $this->l11n->getText('Tasks', 'Received'); ?> | 0 + |
| = $this->l11n->getText('Tasks', 'Created'); ?> | 0 + |
| = $this->l11n->getText('Tasks', 'Forwarded'); ?> | 0 + |
| = $this->l11n->getText('Tasks', 'AverageAmount'); ?> | 0 + |
| = $this->l11n->getText('Tasks', 'AverageProcessTime'); ?> | 0 + |
| = $this->l11n->getText('Tasks', 'InTime'); ?> | 0 |