2015-02-12 05:39:27 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ownCloud - RainLoop mail plugin
|
|
|
|
*
|
|
|
|
* @author RainLoop Team
|
2016-05-21 04:28:57 +08:00
|
|
|
* @copyright 2016 RainLoop Team
|
2015-02-12 05:39:27 +08:00
|
|
|
*
|
|
|
|
* https://github.com/RainLoop/rainloop-webmail/tree/master/build/owncloud
|
|
|
|
*/
|
|
|
|
|
|
|
|
OCP\User::checkAdminUser();
|
|
|
|
|
|
|
|
OCP\Util::addScript('rainloop', 'admin');
|
|
|
|
|
2015-02-12 14:35:31 +08:00
|
|
|
$oTemplate = new OCP\Template('rainloop', 'admin-local');
|
|
|
|
$oTemplate->assign('rainloop-admin-panel-link', OC_RainLoop_Helper::getAppUrl().'?admin');
|
2015-02-12 05:39:27 +08:00
|
|
|
$oTemplate->assign('rainloop-autologin', OCP\Config::getAppValue('rainloop', 'rainloop-autologin', false));
|
|
|
|
return $oTemplate->fetchPage();
|