mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Added empty style file for ownCloud package
This commit is contained in:
parent
3613bf5270
commit
dd41d30f9b
2 changed files with 10 additions and 0 deletions
6
build/owncloud/rainloop-app/css/style.css
Normal file
6
build/owncloud/rainloop-app/css/style.css
Normal 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.
|
||||||
|
*/
|
||||||
|
|
@ -13,6 +13,10 @@ OCP\User::checkLoggedIn();
|
||||||
OCP\App::checkAppEnabled('rainloop');
|
OCP\App::checkAppEnabled('rainloop');
|
||||||
OCP\App::setActiveNavigationEntry('rainloop_index');
|
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';
|
include_once OC_App::getAppPath('rainloop').'/lib/RainLoopHelper.php';
|
||||||
|
|
||||||
$sUrl = OC_RainLoop_Helper::normalizeUrl(OC_RainLoop_Helper::getAppUrl());
|
$sUrl = OC_RainLoop_Helper::normalizeUrl(OC_RainLoop_Helper::getAppUrl());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue