diff options
author | Hendrik Leppelsack <hendrik@leppelsack.de> | 2015-06-10 12:16:45 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-13 15:12:11 +0100 |
commit | 99b9ec41c1af6489f7da4b37f249a8ccbcf7b99d (patch) | |
tree | d570120eeb6690962c63b57b14cf691d7f323c8a /core/templates/layout.base.php | |
parent | cc4e4ecf0f2f1e2644ff66da537515ddaddc716c (diff) | |
download | nextcloud-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.php | 5 |
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> |