1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

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

This commit is contained in:
Frank Karlitschek 2011-09-28 16:05:01 +02:00
parent b2bd74bb3d
commit d18edf178d
3 changed files with 16 additions and 0 deletions

View File

@ -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');

6
settings.php Normal file
View File

@ -0,0 +1,6 @@
<?php
$tmpl = new OC_Template( 'contacts', 'settings');
return $tmpl->fetchPage();
?>

7
templates/settings.php Normal file
View File

@ -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>