summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.base.php
diff options
context:
space:
mode:
authorHendrik Leppelsack <hendrik@leppelsack.de>2015-06-10 12:16:45 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-13 15:12:11 +0100
commit99b9ec41c1af6489f7da4b37f249a8ccbcf7b99d (patch)
treed570120eeb6690962c63b57b14cf691d7f323c8a /core/templates/layout.base.php
parentcc4e4ecf0f2f1e2644ff66da537515ddaddc716c (diff)
downloadnextcloud-server-99b9ec41c1af6489f7da4b37f249a8ccbcf7b99d.tar.gz
nextcloud-server-99b9ec41c1af6489f7da4b37f249a8ccbcf7b99d.zip
support print stylesheets
Diffstat (limited to 'core/templates/layout.base.php')
-rw-r--r--core/templates/layout.base.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index b12121b6088..e3620402baf 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -15,7 +15,10 @@
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
<link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="#1d2d44">
<?php foreach ($_['cssfiles'] as $cssfile): ?>
- <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="screen">
+ <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>">
+ <?php endforeach; ?>
+ <?php foreach($_['printcssfiles'] as $cssfile): ?>
+ <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="print">
<?php endforeach; ?>
<?php foreach ($_['jsfiles'] as $jsfile): ?>
<script src="<?php print_unescaped($jsfile); ?>"></script>