X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/3780cf15a59c48b3d71e8ec27e3bdacd8a119460..d776c4c77ddb59cb571f23bf4ef042bd0a246751:/appinfo/app.php?ds=sidebyside diff --git a/appinfo/app.php b/appinfo/app.php index 3e319df..afbc787 100755 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -1,13 +1,17 @@ getNavigationManager()->add( + array( + 'id' => 'grauphel', + 'order' => 2342, + 'href' => \OCP\Util::linkToRoute('grauphel.gui.index'), + 'icon' => \OCP\Util::imagePath('grauphel', 'app.svg'), + 'name' => 'Tomboy notes' + ) +); -//OCP\App::registerAdmin( 'apptemplate', 'settings' ); +\OC::$server->getSearch()->registerProvider( + 'OCA\Grauphel\Search\Provider', array('apps' => array('grauphel')) +); -OCP\App::addNavigationEntry( array( - 'id' => 'grauphel', - 'order' => 2342, - 'href' => OCP\Util::linkTo( 'grauphel', 'index.php' ), - 'icon' => OCP\Util::imagePath( 'grauphel', 'notes.png' ), - 'name' => 'Tomboy notes' -)); +\OCP\Util::addscript('grauphel', 'loader'); +?>