summaryrefslogtreecommitdiffstats
path: root/apps/contacts/appinfo
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-08-06 22:32:06 +0200
committerJakob Sack <kde@jakobsack.de>2011-08-06 22:32:06 +0200
commit2f10598af69209f2e84797aaf3399536f824f564 (patch)
tree6b457c19fae5d45ea760f4429b4038811b22af07 /apps/contacts/appinfo
parentd9ccbe96dda717712d67274c777a0e614743784f (diff)
downloadnextcloud-server-2f10598af69209f2e84797aaf3399536f824f564.tar.gz
nextcloud-server-2f10598af69209f2e84797aaf3399536f824f564.zip
New app: contacts
Diffstat (limited to 'apps/contacts/appinfo')
-rw-r--r--apps/contacts/appinfo/app.php18
-rw-r--r--apps/contacts/appinfo/info.xml9
2 files changed, 27 insertions, 0 deletions
diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php
new file mode 100644
index 00000000000..f38a45f2790
--- /dev/null
+++ b/apps/contacts/appinfo/app.php
@@ -0,0 +1,18 @@
+<?php
+
+OC::$CLASSPATH['OC_Contacts_Addressbook'] = 'apps/contacts/lib/addressbook.php';
+OC::$CLASSPATH['OC_Connector_Sabre_CardDAV'] = 'apps/contacts/lib/connector_sabre.php';
+
+OC_App::register( array(
+ 'order' => 10,
+ 'id' => 'contacts',
+ 'name' => 'Contacts' ));
+
+OC_App::addNavigationEntry( array(
+ 'id' => 'contacts_index',
+ 'order' => 10,
+ 'href' => OC_Helper::linkTo( 'contacts', 'index.php' ),
+ 'icon' => OC_Helper::imagePath( 'contacts', 'icon.png' ),
+ 'name' => 'Addressbook' ));
+
+?>
diff --git a/apps/contacts/appinfo/info.xml b/apps/contacts/appinfo/info.xml
new file mode 100644
index 00000000000..93463b9cf09
--- /dev/null
+++ b/apps/contacts/appinfo/info.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<info>
+ <id>contacts</id>
+ <name>Contacts</name>
+ <version>0.1</version>
+ <licence>AGPL</licence>
+ <author>Jakob Sack</author>
+ <require>2</require>
+</info>