diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 04bb21896f1..35c4378fc98 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -4,13 +4,13 @@
ownCloud
-
+
-
+
+
@@ -20,11 +20,8 @@
foreach($header['attributes'] as $name=>$value){
echo "$name='$value' ";
};
- echo '>';
- echo $header['text'];
- echo ''.$header['tag'].'>';
+ echo '/>';
?>
-
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 2e70fa29389..c8b276bebb6 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -10,7 +10,7 @@
+
@@ -20,9 +20,7 @@
foreach($header['attributes'] as $name=>$value){
echo "$name='$value' ";
};
- echo '>';
- echo $header['text'];
- echo ''.$header['tag'].'>';
+ echo '/>';
?>