Blame view

sources/apps/bookmarks/appinfo/app.php 787 Bytes
923852aa1   Kload   Official Owncloud...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  <?php
  /**
  * Copyright (c) 2011 Marvin Thomas Rabe <mrabe@marvinrabe.de>
  * 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.
  */
  
  OC::$CLASSPATH['OC_Bookmarks_Bookmarks'] = 'bookmarks/lib/bookmarks.php';
  OC::$CLASSPATH['OC_Search_Provider_Bookmarks'] = 'bookmarks/lib/search.php';
  
  $l = new OC_l10n('bookmarks');
  OCP\App::addNavigationEntry( array( 'id' => 'bookmarks_index',
  	'order' => 70, 'href' => OCP\Util::linkTo( 'bookmarks', 'index.php' ),
  	'icon' => OCP\Util::imagePath( 'bookmarks', 'bookmarks.svg' ),
  	'name' => $l->t('Bookmarks')
  ));
  
  OCP\Util::addscript('bookmarks', 'bookmarksearch');
  
  OC_Search::registerProvider('OC_Search_Provider_Bookmarks');