diff options
Diffstat (limited to 'core/templates/layout.base.php')
-rw-r--r-- | core/templates/layout.base.php | 16 |
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> |