2011-08-15 22:05:07 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2012-02-22 16:04:17 +01:00
|
|
|
* Copyright (c) 2011 Marvin Thomas Rabe <mrabe@marvinrabe.de>
|
2011-10-08 13:10:49 +02:00
|
|
|
* Copyright (c) 2011 Arthur Schiwon <blizzz@arthur-schiwon.de>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
* See the COPYING-README file.
|
2011-08-15 22:05:07 +02:00
|
|
|
*/
|
|
|
|
|
2012-01-29 19:32:33 +01:00
|
|
|
OC::$CLASSPATH['OC_Bookmarks_Bookmarks'] = 'apps/bookmarks/lib/bookmarks.php';
|
2012-03-01 22:58:44 +01:00
|
|
|
OC::$CLASSPATH['OC_Search_Provider_Bookmarks'] = 'apps/bookmarks/lib/search.php';
|
2012-01-29 19:32:33 +01:00
|
|
|
|
|
|
|
$l = new OC_l10n('bookmarks');
|
2012-10-10 21:29:08 +02:00
|
|
|
OCP\App::addNavigationEntry( array( 'id' => 'bookmarks_index',
|
|
|
|
'order' => 70, 'href' => OCP\Util::linkTo( 'bookmarks', 'index.php' ),
|
2012-10-27 17:46:14 +02:00
|
|
|
'icon' => OCP\Util::imagePath( 'bookmarks', 'bookmarks.svg' ),
|
2012-10-10 21:29:08 +02:00
|
|
|
'name' => $l->t('Bookmarks')
|
|
|
|
));
|
2011-08-15 22:05:07 +02:00
|
|
|
|
2012-10-10 21:29:08 +02:00
|
|
|
OCP\Util::addscript('bookmarks', 'bookmarksearch');
|
2012-02-03 22:00:12 +01:00
|
|
|
|
2012-03-01 22:58:44 +01:00
|
|
|
OC_Search::registerProvider('OC_Search_Provider_Bookmarks');
|