summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_block_photo_stream.html.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-31 22:56:11 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-08-31 22:56:11 -0600
commit7b2c03c2b9d61ce945199505d8c2f273a84725b9 (patch)
tree9af33753e5f9832f3640f475268b31b92f3c6862 /modules/gallery/views/admin_block_photo_stream.html.php
parent559f9a4b9d770a37048db73e82f84bc1f0ec09f1 (diff)
parent5ca13fe5e83ec7d6dcc1f5d2ac19a3f4ebfc782c (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
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 a50836ad..1b9d8ff5 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="<?= html::clean($photo->title) ?>">
+ <a href="<?= url::site("photos/$photo->id") ?>" title="<?= html::purify($photo->title)->for_html_attr() ?>">
<img <?= photo::img_dimensions($photo->width, $photo->height, 72) ?>
- src="<?= $photo->thumb_url() ?>" alt="<?= html::clean($photo->title) ?>" />
+ src="<?= $photo->thumb_url() ?>" alt="<?= html::purify($photo->title)->for_html_attr() ?>" />
</a>
</li>
<? endforeach ?>