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 18216fe71f
commit 98c59605aa
7 changed files with 33 additions and 0 deletions

View file

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

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

View file

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

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>

View file

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

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

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