summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorVolker E <volker.e@temporaer.net>2015-03-18 05:33:17 +0100
committerVolker E <volker.e@temporaer.net>2015-03-18 05:33:17 +0100
commit790324b313b8ae5d30e7cf3856e492b8054fd61f (patch)
tree9dfb314facf7cfe6c09ea1b0df36a5c827c0a092 /core/templates
parent4c46d0c46c7dad2f7d59e09a2e29c9a33270a5a4 (diff)
downloadnextcloud-server-790324b313b8ae5d30e7cf3856e492b8054fd61f.tar.gz
nextcloud-server-790324b313b8ae5d30e7cf3856e492b8054fd61f.zip
addressing #14984 removing redundant type attributes
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.base.php4
-rw-r--r--core/templates/layout.guest.php4
-rw-r--r--core/templates/layout.user.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 1fc8b34adb8..a5336b1585a 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -12,10 +12,10 @@
<link rel="shortcut icon" type="image/png" 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 print_unescaped($cssfile); ?>" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="screen">
<?php endforeach; ?>
<?php foreach ($_['jsfiles'] as $jsfile): ?>
- <script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
+ <script src="<?php print_unescaped($jsfile); ?>"></script>
<?php endforeach; ?>
<?php print_unescaped($_['headers']); ?>
</head>
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index a2d0d1090ce..c494e32a7fc 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -13,10 +13,10 @@
<link rel="shortcut icon" type="image/png" 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 print_unescaped($cssfile); ?>" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="screen">
<?php endforeach; ?>
<?php foreach($_['jsfiles'] as $jsfile): ?>
- <script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
+ <script src="<?php print_unescaped($jsfile); ?>"></script>
<?php endforeach; ?>
<?php print_unescaped($_['headers']); ?>
</head>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 5a78006a1eb..9667aa72ddb 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -20,10 +20,10 @@
<link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path($_['appid'], 'favicon.png')); ?>">
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path($_['appid'], 'favicon-touch.png')); ?>">
<?php foreach($_['cssfiles'] as $cssfile): ?>
- <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="screen">
<?php endforeach; ?>
<?php foreach($_['jsfiles'] as $jsfile): ?>
- <script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
+ <script src="<?php print_unescaped($jsfile); ?>"></script>
<?php endforeach; ?>
<?php print_unescaped($_['headers']); ?>
</head>