mirror of
https://github.com/owncloud/bookmarks.git
synced 2024-11-29 04:24:11 +01:00
ported the rest of the OC_Helper calls
This commit is contained in:
parent
b28a034f23
commit
d3a3bffbca
@ -13,7 +13,7 @@ OC::$CLASSPATH['OC_Search_Provider_Bookmarks'] = 'apps/bookmarks/lib/search.php'
|
|||||||
OC_App::register( array( 'order' => 70, 'id' => 'bookmark', 'name' => 'Bookmarks' ));
|
OC_App::register( array( 'order' => 70, 'id' => 'bookmark', 'name' => 'Bookmarks' ));
|
||||||
|
|
||||||
$l = new OC_l10n('bookmarks');
|
$l = new OC_l10n('bookmarks');
|
||||||
OC_App::addNavigationEntry( array( 'id' => 'bookmarks_index', 'order' => 70, 'href' => OCP\Util::linkTo( 'bookmarks', 'index.php' ), 'icon' => OC_Helper::imagePath( 'bookmarks', 'bookmarks.png' ), 'name' => $l->t('Bookmarks')));
|
OC_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')));
|
||||||
|
|
||||||
OC_App::registerPersonal('bookmarks', 'settings');
|
OC_App::registerPersonal('bookmarks', 'settings');
|
||||||
OCP\Util::addscript('bookmarks','bookmarksearch');
|
OCP\Util::addscript('bookmarks','bookmarksearch');
|
||||||
|
Loading…
Reference in New Issue
Block a user