Added empty style file for ownCloud package

This commit is contained in:
RainLoop Team 2015-03-09 23:47:57 +04:00
parent 3613bf5270
commit dd41d30f9b
2 changed files with 10 additions and 0 deletions

View file

@ -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.
*/

View file

@ -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());