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:
parent
b2bd74bb3d
commit
d18edf178d
@ -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
6
settings.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
$tmpl = new OC_Template( 'contacts', 'settings');
|
||||
|
||||
return $tmpl->fetchPage();
|
||||
?>
|
7
templates/settings.php
Normal file
7
templates/settings.php
Normal 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>
|
Loading…
Reference in New Issue
Block a user