diff options
author | Frank Karlitschek <karlitschek@kde.org> | 2011-09-28 18:05:01 +0400 |
---|---|---|
committer | Frank Karlitschek <karlitschek@kde.org> | 2011-09-28 18:05:01 +0400 |
commit | 98c59605aaf5b1652fded5b44cd404346e78102b (patch) | |
tree | 55ad0d877693dcf615bd51e3ad27d3e99000ddbe /apps/contacts | |
parent | 18216fe71f778b299585de7cc42a568a5adcfa6c (diff) |
show the syncing and ampache urls on the settings page. not very pretty but otherwise the user has no way to configure the desktop integration
Diffstat (limited to 'apps/contacts')
-rw-r--r-- | apps/contacts/appinfo/app.php | 3 | ||||
-rw-r--r-- | apps/contacts/settings.php | 6 | ||||
-rw-r--r-- | apps/contacts/templates/settings.php | 7 |
3 files changed, 16 insertions, 0 deletions
diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php index 98416ead2fc..fc7b3769c53 100644 --- a/apps/contacts/appinfo/app.php +++ b/apps/contacts/appinfo/app.php @@ -17,3 +17,6 @@ OC_App::addNavigationEntry( array( 'href' => OC_Helper::linkTo( 'contacts', 'index.php' ), 'icon' => OC_Helper::imagePath( 'settings', 'users.svg' ), 'name' => 'Contacts' )); + + +OC_APP::registerPersonal('contacts','settings'); diff --git a/apps/contacts/settings.php b/apps/contacts/settings.php new file mode 100644 index 00000000000..b88128823a7 --- /dev/null +++ b/apps/contacts/settings.php @@ -0,0 +1,6 @@ +<?php + +$tmpl = new OC_Template( 'contacts', 'settings'); + +return $tmpl->fetchPage(); +?> diff --git a/apps/contacts/templates/settings.php b/apps/contacts/templates/settings.php new file mode 100644 index 00000000000..29e6f159b2a --- /dev/null +++ b/apps/contacts/templates/settings.php @@ -0,0 +1,7 @@ +<form id="mediaform"> + <fieldset class="personalblock"> + <strong>Contacts</strong><br /> + CardDAV Syncing URL: + <?php echo OC_Helper::linkTo('apps/contacts', 'carddav.php', null, true); ?><br /> + </fieldset> +</form> |