diff options
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r-- | core/templates/layout.guest.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index a84e2b8cef7..03d58c9eae1 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -4,22 +4,22 @@ <title>ownCloud</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="apple-itunes-app" content="app-id=543672169"> - <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> @@ -27,11 +27,11 @@ <body id="body-login"> <div id="login"> <header><div id="header"> - <img src="<?php echo image_path('', 'logo.svg'); ?>" class="svg" alt="ownCloud" /> + <img src="<?php print_unescaped(image_path('', 'logo.svg')); ?>" class="svg" alt="ownCloud" /> </div></header> - <?php echo $_['content']; ?> + <?php print_unescaped($_['content']); ?> </div> <footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> – - <?php echo $l->t( 'web services under your control' ); ?></p></footer> + <?php p($l->t( 'web services under your control' )); ?></p></footer> </body> </html> |