git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add xsltproc and diff to travis deps
[grauphel.git]
/
appinfo
/
app.php
diff --git
a/appinfo/app.php
b/appinfo/app.php
index 3da4f00e5fd2ce8204dcaec2a34974e4cadee6f7..afbc7879f78ff9ffd9ae766ebb5395034fab9291 100755
(executable)
--- a/
appinfo/app.php
+++ b/
appinfo/app.php
@@
-1,13
+1,17
@@
<?php
<?php
-//OCP\App::registerAdmin( 'apptemplate', 'settings' );
-
-OCP\App::addNavigationEntry(
+\OC::$server->getNavigationManager()->add(
array(
'id' => 'grauphel',
'order' => 2342,
array(
'id' => 'grauphel',
'order' => 2342,
- 'href' =>
OCP\Util::linkTo('grauphel', 'index.php
'),
- 'icon' =>
OCP\Util::imagePath('grauphel', 'notes.pn
g'),
+ 'href' =>
\OCP\Util::linkToRoute('grauphel.gui.index
'),
+ 'icon' =>
\OCP\Util::imagePath('grauphel', 'app.sv
g'),
'name' => 'Tomboy notes'
)
);
'name' => 'Tomboy notes'
)
);
+
+\OC::$server->getSearch()->registerProvider(
+ 'OCA\Grauphel\Search\Provider', array('apps' => array('grauphel'))
+);
+
+\OCP\Util::addscript('grauphel', 'loader');
?>
?>