summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.base.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-27 22:55:39 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-02-27 22:55:39 +0100
commit229c907a57a4a64730e7b58f59cb8f7f627bfaf3 (patch)
tree560c7cdae8b7a43898832b0989b7fb3b780501a8 /core/templates/layout.base.php
parent40e51d13d2fd028fa13902b12814532d1de15f5a (diff)
downloadnextcloud-server-229c907a57a4a64730e7b58f59cb8f7f627bfaf3.tar.gz
nextcloud-server-229c907a57a4a64730e7b58f59cb8f7f627bfaf3.zip
[core] From echo to p
Diffstat (limited to 'core/templates/layout.base.php')
-rw-r--r--core/templates/layout.base.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 47d552069a0..0ada957478e 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -3,26 +3,26 @@
<head>
<title>ownCloud</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="shortcut icon" href="<?php echo image_path('', 'favicon.png'); ?>" />
- <link rel="apple-touch-icon-precomposed" href="<?php echo image_path('', 'favicon-touch.png'); ?>" />
+ <link rel="shortcut icon" 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): ?>
- <link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
+ <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen" />
<?php endforeach; ?>
<?php foreach ($_['jsfiles'] as $jsfile): ?>
- <script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
+ <script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
<?php endforeach; ?>
<?php foreach ($_['headers'] as $header): ?>
<?php
- echo '<'.$header['tag'].' ';
+ print_unescaped('<'.$header['tag'].' ');
foreach ($header['attributes'] as $name => $value) {
- echo "$name='$value' ";
+ print_unescaped("$name='$value' ");
};
- echo '/>';
+ print_unescaped('/>)';
?>
<?php endforeach; ?>
</head>
<body>
- <?php echo $_['content']; ?>
+ <?php print_unescaped($_['content']); ?>
</body>
</html>