summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.property.FN.php
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-02-10 15:24:26 +0000
committerTom Needham <needham.thomas@gmail.com>2012-02-10 15:24:26 +0000
commit2f80df1f9e358f98f21c49a352623228b31a8a90 (patch)
treeacac19db9dfcd3570ac1c4af63574a26f16303c6 /apps/contacts/templates/part.property.FN.php
parent960dd750c95e116b76e17de728936a17556f2f93 (diff)
parent85853f9ec29be9a2ba92737de204da1469f72dd8 (diff)
downloadnextcloud-server-2f80df1f9e358f98f21c49a352623228b31a8a90.tar.gz
nextcloud-server-2f80df1f9e358f98f21c49a352623228b31a8a90.zip
Merge branch 'master' of gitorious.org:owncloud/owncloud into migration
Diffstat (limited to 'apps/contacts/templates/part.property.FN.php')
-rw-r--r--apps/contacts/templates/part.property.FN.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/templates/part.property.FN.php b/apps/contacts/templates/part.property.FN.php
index 83cef94e303..c9e21c20e60 100644
--- a/apps/contacts/templates/part.property.FN.php
+++ b/apps/contacts/templates/part.property.FN.php
@@ -1,9 +1,9 @@
<p id="contacts_details_name" class="contacts_property" data-checksum="<?php echo $_['property']['checksum']; ?>">
- <?php echo $_['property']['value']; ?>
+ <?php echo htmlspecialchars($_['property']['value']); ?>
<span style="display:none;" data-use="edit"><img class="svg action" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
</p>
<?php if (!isset($_['details'])): ?>
<script>
-$('#leftcontent li.active a').text('<?php echo $_['property']['value']; ?>');
+$('#leftcontent li.active a').text('<?php echo htmlspecialchars($_['property']['value']); ?>');
</script>
<?php endif ?>