2011-08-15 20:05:07 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2012-02-22 15:04:17 +00:00
|
|
|
* Copyright (c) 2011 Marvin Thomas Rabe <mrabe@marvinrabe.de>
|
2011-10-08 11:10:49 +00: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 20:05:07 +00:00
|
|
|
*/
|
|
|
|
|
2012-01-29 18:32:33 +00:00
|
|
|
OC::$CLASSPATH['OC_Bookmarks_Bookmarks'] = 'apps/bookmarks/lib/bookmarks.php';
|
2012-03-01 21:58:44 +00:00
|
|
|
OC::$CLASSPATH['OC_Search_Provider_Bookmarks'] = 'apps/bookmarks/lib/search.php';
|
2012-01-29 18:32:33 +00:00
|
|
|
|
2011-08-15 20:05:07 +00:00
|
|
|
OC_App::register( array( 'order' => 70, 'id' => 'bookmark', 'name' => 'Bookmarks' ));
|
|
|
|
|
2012-01-29 18:32:33 +00:00
|
|
|
$l = new OC_l10n('bookmarks');
|
|
|
|
OC_App::addNavigationEntry( array( 'id' => 'bookmarks_index', 'order' => 70, 'href' => OC_Helper::linkTo( 'bookmarks', 'index.php' ), 'icon' => OC_Helper::imagePath( 'bookmarks', 'bookmarks.png' ), 'name' => $l->t('Bookmarks')));
|
2011-08-15 20:05:07 +00:00
|
|
|
|
2011-10-08 11:10:49 +00:00
|
|
|
OC_App::registerPersonal('bookmarks', 'settings');
|
2012-01-29 18:32:33 +00:00
|
|
|
OC_Util::addScript('bookmarks','bookmarksearch');
|
2012-02-03 21:00:12 +00:00
|
|
|
|
2012-03-01 21:58:44 +00:00
|
|
|
OC_Search::registerProvider('OC_Search_Provider_Bookmarks');
|