summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_block_photo_stream.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-31 00:11:48 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-31 00:11:48 -0700
commit708f27f483d70660446ea2132b02cb7b39225f98 (patch)
treec1f6231ea024565be6c2a41ad092eea05b30d7fc /modules/gallery/views/admin_block_photo_stream.html.php
parentad81861c331f60ec8c19ea11e47e2826660fa142 (diff)
Run p::clean() on any variables that contain data entered by users.
Diffstat (limited to 'modules/gallery/views/admin_block_photo_stream.html.php')
-rw-r--r--modules/gallery/views/admin_block_photo_stream.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/admin_block_photo_stream.html.php b/modules/gallery/views/admin_block_photo_stream.html.php
index e8a4d933..1e1329d1 100644
--- a/modules/gallery/views/admin_block_photo_stream.html.php
+++ b/modules/gallery/views/admin_block_photo_stream.html.php
@@ -2,9 +2,9 @@
<ul>
<? foreach ($photos as $photo): ?>
<li class="gItem gPhoto">
- <a href="<?= url::site("photos/$photo->id") ?>" title="<?= $photo->title ?>">
+ <a href="<?= url::site("photos/$photo->id") ?>" title="<?= p::clean($photo->title) ?>">
<img <?= photo::img_dimensions($photo->width, $photo->height, 72) ?>
- src="<?= $photo->thumb_url() ?>" alt="<?= $photo->title ?>" />
+ src="<?= $photo->thumb_url() ?>" alt="<?= p::clean($photo->title) ?>" />
</a>
</li>
<? endforeach ?>