2011-08-07 00:32:06 +04:00
|
|
|
<?php
|
2012-01-13 02:43:00 +04:00
|
|
|
$l=new OC_L10N('contacts');
|
2011-08-07 00:32:06 +04:00
|
|
|
|
2011-12-06 00:51:25 +04:00
|
|
|
OC::$CLASSPATH['OC_Contacts_App'] = 'apps/contacts/lib/app.php';
|
2011-08-07 00:32:06 +04:00
|
|
|
OC::$CLASSPATH['OC_Contacts_Addressbook'] = 'apps/contacts/lib/addressbook.php';
|
2011-09-17 02:26:57 +04:00
|
|
|
OC::$CLASSPATH['OC_Contacts_VCard'] = 'apps/contacts/lib/vcard.php';
|
2011-08-10 16:28:14 +04:00
|
|
|
OC::$CLASSPATH['OC_Contacts_Hooks'] = 'apps/contacts/lib/hooks.php';
|
2011-08-07 00:32:06 +04:00
|
|
|
OC::$CLASSPATH['OC_Connector_Sabre_CardDAV'] = 'apps/contacts/lib/connector_sabre.php';
|
2012-01-26 22:05:46 +04:00
|
|
|
OC_HOOK::connect('OC_User', 'post_deleteUser', 'OC_Contacts_Hooks', 'deleteUser');
|
2011-08-07 00:32:06 +04:00
|
|
|
|
2011-09-17 02:26:57 +04:00
|
|
|
OC_App::register( array(
|
2011-08-07 00:32:06 +04:00
|
|
|
'order' => 10,
|
|
|
|
'id' => 'contacts',
|
|
|
|
'name' => 'Contacts' ));
|
|
|
|
|
2011-09-17 02:26:57 +04:00
|
|
|
OC_App::addNavigationEntry( array(
|
2011-08-07 00:32:06 +04:00
|
|
|
'id' => 'contacts_index',
|
|
|
|
'order' => 10,
|
|
|
|
'href' => OC_Helper::linkTo( 'contacts', 'index.php' ),
|
2011-08-13 06:04:48 +04:00
|
|
|
'icon' => OC_Helper::imagePath( 'settings', 'users.svg' ),
|
2012-01-12 19:06:27 +04:00
|
|
|
'name' => $l->t('Contacts') ));
|
2011-09-28 18:05:01 +04:00
|
|
|
|
|
|
|
|
|
|
|
OC_APP::registerPersonal('contacts','settings');
|
2012-01-15 14:40:32 +04:00
|
|
|
OC_UTIL::addScript('contacts', 'loader');
|
2012-01-12 19:06:27 +04:00
|
|
|
require_once('apps/contacts/lib/search.php');
|