summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.guest.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-28 11:15:58 +0100
committerLukas Reschke <lukas@owncloud.com>2014-10-28 11:15:58 +0100
commit510d0b2cf3c108447f42fcb119560175134fb0f6 (patch)
treee5fa478087f35655f5857ebefb5c4ba576503697 /core/templates/layout.guest.php
parent7466ff09bb1b02de45b62a622ce51e4f680f2658 (diff)
downloadnextcloud-server-510d0b2cf3c108447f42fcb119560175134fb0f6.tar.gz
nextcloud-server-510d0b2cf3c108447f42fcb119560175134fb0f6.zip
Fix the "addHeader($tag, $attributes, $text)" methods to not ignore the $text parameter
Also support closing tags with no text content given Conflicts: lib/private/template.php
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r--core/templates/layout.guest.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 0ad2ea4d807..763af4dc1d2 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -22,16 +22,7 @@
<?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
<?php endforeach; ?>
-
- <?php foreach($_['headers'] as $header): ?>
- <?php
- print_unescaped('<'.$header['tag'].' ');
- foreach($header['attributes'] as $name=>$value) {
- print_unescaped("$name='$value' ");
- };
- print_unescaped('/>');
- ?>
- <?php endforeach; ?>
+ <?php print_unescaped($_['headers']); ?>
</head>
<body id="<?php p($_['bodyid']);?>">
<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>