summaryrefslogtreecommitdiff
path: root/app/Template/file/open.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/file/open.php')
-rw-r--r--app/Template/file/open.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/file/open.php b/app/Template/file/open.php
index 6106e6f8..9efd7780 100644
--- a/app/Template/file/open.php
+++ b/app/Template/file/open.php
@@ -1,6 +1,6 @@
<div class="page-header">
- <h2><?= Helper\escape($file['name']) ?></h2>
+ <h2><?= $this->e($file['name']) ?></h2>
<div class="task-file-viewer">
- <img src="<?= Helper\u('file', 'image', array('file_id' => $file['id'], 'task_id' => $file['task_id'])) ?>" alt="<?= Helper\escape($file['name']) ?>"/>
+ <img src="<?= $this->u('file', 'image', array('file_id' => $file['id'], 'task_id' => $file['task_id'])) ?>" alt="<?= $this->e($file['name']) ?>"/>
</div>
</div> \ No newline at end of file