summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-30 16:20:52 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-30 16:20:52 -0700
commit7015948357f91e79bb10595cd7c6bc2513d0863e (patch)
treed272757f1dc1e38426eeea80399b6313ea247adc /themes/default/views/photo.html.php
parent74e204b557618520d7bc56266a25d230946f02e7 (diff)
parente4eedadcbb42e831f9649e6b52bd1ee9bf86f544 (diff)
Merge branch 'master' of git@github.com:/gallery/gallery3
Diffstat (limited to 'themes/default/views/photo.html.php')
-rw-r--r--themes/default/views/photo.html.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index 39e61ef6..5289b467 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -5,7 +5,7 @@
<script>
$(document).ready(function() {
$(".gFullSizeLink").click(function() {
- $.gallery_show_full_size("<?= $theme->item()->file_url() ?>", "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>");
+ $.gallery_show_full_size(<?= html::js_string($theme->item()->file_url()) ?>, "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>");
return false;
});
});
@@ -51,8 +51,8 @@
</div>
<div id="gInfo">
- <h1><?= p::purify($item->title) ?></h1>
- <div><?= nl2br(p::purify($item->description)) ?></div>
+ <h1><?= html::purify($item->title) ?></h1>
+ <div><?= nl2br(html::purify($item->description)) ?></div>
</div>
<?= $theme->photo_bottom() ?>