summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorPascal de Bruijn <pmjdebruijn@pcode.nl>2014-08-28 10:12:59 +0200
committerPascal de Bruijn <pmjdebruijn@pcode.nl>2014-08-28 10:12:59 +0200
commit73f50287ff0965c1be6a520c92c9f0d297ec5685 (patch)
tree4774d080a8579e1a0e10cb3896d4dc9172431a83 /core/templates
parent49da0a794317042e8598b0735119854950444a7f (diff)
downloadnextcloud-server-73f50287ff0965c1be6a520c92c9f0d297ec5685.tar.gz
nextcloud-server-73f50287ff0965c1be6a520c92c9f0d297ec5685.zip
templates: use p() for getiTunesAppId
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.guest.php2
-rw-r--r--core/templates/layout.user.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index edd0f1b5ec8..24706b77b19 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -12,7 +12,7 @@
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
- <meta name="apple-itunes-app" content="app-id=<?php print_unescaped($theme->getiTunesAppId()); ?>">
+ <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
<link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
<?php foreach($_['cssfiles'] as $cssfile): ?>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 197cc94608b..51470fb07fa 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -16,7 +16,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
- <meta name="apple-itunes-app" content="app-id=<?php print_unescaped($theme->getiTunesAppId()); ?>">
+ <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:'ownCloud'); ?>">