summaryrefslogtreecommitdiff
path: root/modules/gallery/views/user_profile.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/views/user_profile.html.php')
-rw-r--r--modules/gallery/views/user_profile.html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/views/user_profile.html.php b/modules/gallery/views/user_profile.html.php
index 708b1613..f35f8c3f 100644
--- a/modules/gallery/views/user_profile.html.php
+++ b/modules/gallery/views/user_profile.html.php
@@ -26,6 +26,7 @@
$(document).ready(function() {
$("#g-profile-return").click(function(event) {
history.go(-1);
+ return false;
})
});
</script>
@@ -41,7 +42,7 @@
<? foreach ($info_parts as $info): ?>
<div>
<fieldset>
- <label><?= $info->title ?></label>
+ <label><?= html::purify($info->title) ?></label>
<div>
<?= $info->view ?>
</div>