summaryrefslogtreecommitdiff
path: root/themes/default/views/dynamic.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/dynamic.html.php
parent712fdb55458f5d89fb5e5e4f4f99b8e1c130ba60 (diff)
Run all variables containing user-entered text through p::clean()
Diffstat (limited to 'themes/default/views/dynamic.html.php')
-rw-r--r--themes/default/views/dynamic.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/views/dynamic.html.php b/themes/default/views/dynamic.html.php
index 8d2d2123..12b5192c 100644
--- a/themes/default/views/dynamic.html.php
+++ b/themes/default/views/dynamic.html.php
@@ -3,7 +3,7 @@
<div id="gAlbumHeaderButtons">
<?= $theme->dynamic_top() ?>
</div>
- <h1><?= $tag->name ?></h1>
+ <h1><?= p::clean($tag->name) ?></h1>
</div>
<ul id="gAlbumGrid">
@@ -16,7 +16,7 @@
width="<?= $child->thumb_width ?>"
height="<?= $child->thumb_height ?>" />
</a>
- <h2><?= $child->title ?></h2>
+ <h2><?= p::clean($child->title) ?></h2>
<?= $theme->thumb_bottom($child) ?>
<ul class="gMetadata">
<?= $theme->thumb_info($child) ?>