From df6487b2f82b275e9b0c9f0aad0f8618dc1135eb Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sun, 14 Sep 2014 21:06:37 +0200 Subject: add conditional style include for 7 --- templates/index.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/index.php') 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'); +} ?> -- cgit v1.2.3