From dd41d30f9b31144e68cd696120d652e8a94be6f8 Mon Sep 17 00:00:00 2001 From: RainLoop Team Date: Mon, 9 Mar 2015 23:47:57 +0400 Subject: [PATCH] Added empty style file for ownCloud package --- build/owncloud/rainloop-app/css/style.css | 6 ++++++ build/owncloud/rainloop-app/index.php | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 build/owncloud/rainloop-app/css/style.css diff --git a/build/owncloud/rainloop-app/css/style.css b/build/owncloud/rainloop-app/css/style.css new file mode 100644 index 000000000..462226253 --- /dev/null +++ b/build/owncloud/rainloop-app/css/style.css @@ -0,0 +1,6 @@ +/* +Empty style sheet! +Only needed to give you the opportunity to theme the owncloud part +of the rainloop app with the theming system integrated in ownCoud +if the rainloop app is activated. +*/ \ No newline at end of file diff --git a/build/owncloud/rainloop-app/index.php b/build/owncloud/rainloop-app/index.php index 30bbb4f5d..931ecf153 100644 --- a/build/owncloud/rainloop-app/index.php +++ b/build/owncloud/rainloop-app/index.php @@ -13,6 +13,10 @@ OCP\User::checkLoggedIn(); OCP\App::checkAppEnabled('rainloop'); OCP\App::setActiveNavigationEntry('rainloop_index'); +// Load the empty file ../css/style.css, that's needed to allow theming of +// the ownCloud header and navigation if rainloop is the active app. +OCP\Util::addStyle('rainloop', 'style'); + include_once OC_App::getAppPath('rainloop').'/lib/RainLoopHelper.php'; $sUrl = OC_RainLoop_Helper::normalizeUrl(OC_RainLoop_Helper::getAppUrl());