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
18216fe71f
commit
98c59605aa
7 changed files with 33 additions and 0 deletions
|
@ -25,5 +25,8 @@
|
|||
endif;
|
||||
endforeach;?>
|
||||
</select><span class="msg"></span>
|
||||
<br />
|
||||
Calendar CalDAV Syncing URL:
|
||||
<?php echo OC_Helper::linkTo('apps/calendar', 'caldav.php', null, true); ?><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
@ -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
apps/contacts/settings.php
Normal file
6
apps/contacts/settings.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
|
||||
$tmpl = new OC_Template( 'contacts', 'settings');
|
||||
|
||||
return $tmpl->fetchPage();
|
||||
?>
|
7
apps/contacts/templates/settings.php
Normal file
7
apps/contacts/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>
|
|
@ -25,6 +25,7 @@ $l=new OC_L10N('media');
|
|||
require_once('apps/media/lib_media.php');
|
||||
|
||||
OC_Util::addScript('media','loader');
|
||||
OC_APP::registerPersonal('media','settings');
|
||||
|
||||
OC_App::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' ));
|
||||
|
||||
|
|
6
apps/media/settings.php
Normal file
6
apps/media/settings.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
|
||||
$tmpl = new OC_Template( 'media', 'settings');
|
||||
|
||||
return $tmpl->fetchPage();
|
||||
?>
|
7
apps/media/templates/settings.php
Normal file
7
apps/media/templates/settings.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<form id="mediaform">
|
||||
<fieldset class="personalblock">
|
||||
<strong>Media</strong><br />
|
||||
Ampache URL:
|
||||
<?php echo OC_Helper::linkTo('apps/media', 'tomahawk.php', null, true); ?><br />
|
||||
</fieldset>
|
||||
</form>
|
Loading…
Reference in a new issue