summaryrefslogtreecommitdiff
path: root/themes/default/views/album.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-31 01:06:51 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-31 01:06:51 -0700
commit2e16c9557c8a1641b3dd5826492f826a1a96bfb0 (patch)
treed7891e2b90bf4c17e497a7d4d632d5b669f99fc8 /themes/default/views/album.html.php
parent712fdb55458f5d89fb5e5e4f4f99b8e1c130ba60 (diff)
Run all variables containing user-entered text through p::clean()
Diffstat (limited to 'themes/default/views/album.html.php')
-rw-r--r--themes/default/views/album.html.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php
index f4baa210..6e17696d 100644
--- a/themes/default/views/album.html.php
+++ b/themes/default/views/album.html.php
@@ -2,8 +2,8 @@
<? // @todo Set hover on AlbumGrid list items for guest users ?>
<div id="gInfo">
<?= $theme->album_top() ?>
- <h1><?= $item->title ?></h1>
- <div class="gDescription"><?= $item->description ?></div>
+ <h1><?= p::clean($item->title) ?></h1>
+ <div class="gDescription"><?= p::clean($item->description) ?></div>
</div>
<ul id="gAlbumGrid">
@@ -18,7 +18,7 @@
<?= $child->thumb_tag(array("class" => "gThumbnail")) ?>
</a>
<?= $theme->thumb_bottom($child) ?>
- <h2><span></span><a href="<?= $child->url() ?>"><?= $child->title ?></a></h2>
+ <h2><span></span><a href="<?= $child->url() ?>"><?= p::clean($child->title) ?></a></h2>
<ul class="gMetadata">
<?= $theme->thumb_info($child) ?>
</ul>