diff --git a/Theme/Backend/projectmanagement-create.tpl.php b/Theme/Backend/projectmanagement-create.tpl.php index 4d08893..57b95cc 100644 --- a/Theme/Backend/projectmanagement-create.tpl.php +++ b/Theme/Backend/projectmanagement-create.tpl.php @@ -18,35 +18,35 @@ echo $this->getData('nav')->render(); ?>
| = $this->getText('Title'); ?> - | = $this->getText('Start'); ?> - | = $this->getText('Due'); ?> + | = $this->getHtml('Title') ?> + | = $this->getHtml('Start') ?> + | = $this->getHtml('Due') ?> | ||||
| = $footerView->render(); ?> + | = htmlspecialchars($footerView->render(), ENT_COMPAT, 'utf-8'); ?> | ||||||||
| = $value->getName(); ?> - | = $value->getStart()->format('Y-m-d'); ?> - | = $value->getEnd()->format('Y-m-d'); ?> + | = htmlspecialchars($value->getName(), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getStart()->format('Y-m-d'), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($value->getEnd()->format('Y-m-d'), ENT_COMPAT, 'utf-8'); ?> - | ||||
| = $this->getText('Empty', 0, 0); ?> + | |||||||||
| = $this->getHtml('Empty', 0, 0); ?> | |||||||||
| = $this->getText('Status'); ?> - | = $this->getText('Due', 'Tasks'); ?> - | = $this->getText('Title'); ?> + | = $this->getHtml('Status') ?> + | = $this->getHtml('Due', 'Tasks') ?> + | = $this->getHtml('Title') ?> | $task) : $c++; @@ -59,11 +59,11 @@ 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->getText('S' . $task->getStatus(), 'Tasks'); ?> - | = $task->getDue()->format('Y-m-d H:i'); ?> - | = $task->getTitle(); ?> + | = $this->getHtml('S' . $task->getStatus(), 'Tasks') ?> + | = htmlspecialchars($task->getDue()->format('Y-m-d H:i'), ENT_COMPAT, 'utf-8'); ?> + | = htmlspecialchars($task->getTitle(), ENT_COMPAT, 'utf-8'); ?> - |
| = $this->getText('Empty', 0, 0); ?> + | |||||
| = $this->getHtml('Empty', 0, 0); ?> | |||||