summaryrefslogtreecommitdiff
path: root/modules/info/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-05-31 23:28:42 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-05-31 23:28:42 -0700
commit3c24d9476618496c8f2e1ca2f6025fa157120e43 (patch)
treee3d8b381098affa3081cc95cd74ebeabef972ab3 /modules/info/views
parent463b3454ae7633815e24cdf86e81c57409dd15a9 (diff)
parent79a05adb9d941671cefbdf6b1cc97f0cd84fabf3 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/info/views')
-rw-r--r--modules/info/views/info_block.html.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php
index 880d5d3e..db664894 100644
--- a/modules/info/views/info_block.html.php
+++ b/modules/info/views/info_block.html.php
@@ -3,18 +3,18 @@
<tbody>
<tr>
<th><?= t("Title:") ?></th>
- <td><?= $item->title; ?></td>
+ <td><?= p::clean($item->title) ?></td>
</tr>
<? if ($item->description): ?>
<tr>
<th><?= t("Description:") ?></th>
- <td><?= $item->description; ?></td>
+ <td><?= p::clean($item->description) ?></td>
</tr>
<? endif ?>
<? if ($item->id != 1): ?>
<tr>
<th><?= t("Name:") ?></th>
- <td><?= $item->name; ?></td>
+ <td><?= p::clean($item->name) ?></td>
</tr>
<? endif ?>
<? if ($item->captured): ?>
@@ -26,7 +26,7 @@
<? if ($item->owner): ?>
<tr>
<th><?= t("Owner:") ?></th>
- <td><a href="#"><?= $item->owner->name ?></a></td>
+ <td><a href="#"><?= p::clean($item->owner->name) ?></a></td>
</tr>
<? endif ?>
</tbody>