summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-14 21:06:37 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-14 21:06:37 +0200
commitdf6487b2f82b275e9b0c9f0aad0f8618dc1135eb (patch)
treebc48dfd42fa5b6e545a017dbd40eb67dbe57f2d1 /templates
parent3d04a9ae9c1d811b9e2204d7651e948c6641e1fb (diff)
add conditional style include for 7
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/index.php b/templates/index.php
index eca1ed0e7..c1cbd8d59 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -15,6 +15,12 @@ style('news', [
'settings',
'custom'
]);
+
+// owncloud 7 backported style sheets
+$version = \OCP\Util::getVersion();
+if($version[0] > 7 && $version[1] <= 8) {
+ style('news', '7');
+}
?>