summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.guest.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-19 22:53:07 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-19 22:53:07 +0200
commit0db5c734bca903701766d20942c9469f8f5f8814 (patch)
tree60e66f90a48477cc5e109b17017b34b77c497a61 /core/templates/layout.guest.php
parentca860932707da593976f07e63f571cd3eb1a1109 (diff)
downloadnextcloud-server-0db5c734bca903701766d20942c9469f8f5f8814.tar.gz
nextcloud-server-0db5c734bca903701766d20942c9469f8f5f8814.zip
some header fixes
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r--core/templates/layout.guest.php11
1 files changed, 4 insertions, 7 deletions
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 @@
<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'); ?>" />
- <?php if(isset($_['cssfiles'])) foreach($_['cssfiles'] as $cssfile): ?>
+ <?php foreach($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
<?php endforeach; ?>
<script type="text/javascript">
var oc_webroot = '<?php global $WEBROOT; echo $WEBROOT; ?>';
- // </script>
- <?php if(isset($_['jsfiles'])) foreach($_['jsfiles'] as $jsfile): ?>
+ </script>
+ <?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
<?php endforeach; ?>
@@ -20,11 +20,8 @@
foreach($header['attributes'] as $name=>$value){
echo "$name='$value' ";
};
- echo '>';
- echo $header['text'];
- echo '</'.$header['tag'].'>';
+ echo '/>';
?>
- <script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
<?php endforeach; ?>
</head>