1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-11 12:24:10 +01:00
OwncloudBookmarksOfficial/appinfo/app.php

22 lines
932 B
PHP
Raw Normal View History

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>
* 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
*/
OC::$CLASSPATH['OC_Bookmarks_Bookmarks'] = 'apps/bookmarks/lib/bookmarks.php';
OC::$CLASSPATH['OC_Search_Provider_Bookmarks'] = 'apps/bookmarks/lib/search.php';
2012-05-02 00:50:26 +02:00
OCP\App::register( array( 'order' => 70, 'id' => 'bookmark', 'name' => 'Bookmarks' ));
2011-08-15 22:05:07 +02:00
$l = new OC_l10n('bookmarks');
2012-05-02 00:50:26 +02:00
OCP\App::addNavigationEntry( array( 'id' => 'bookmarks_index', 'order' => 70, 'href' => OCP\Util::linkTo( 'bookmarks', 'index.php' ), 'icon' => OCP\Util::imagePath( 'bookmarks', 'bookmarks.png' ), 'name' => $l->t('Bookmarks')));
2011-08-15 22:05:07 +02:00
2012-05-02 00:50:26 +02:00
OCP\App::registerPersonal('bookmarks', 'settings');
2012-05-01 20:03:41 +02:00
OCP\Util::addscript('bookmarks','bookmarksearch');
OC_Search::registerProvider('OC_Search_Provider_Bookmarks');