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

remotes/origin/stable
Frank Karlitschek 14 years ago
parent 18216fe71f
commit 98c59605aa
  1. 3
      apps/calendar/templates/settings.php
  2. 3
      apps/contacts/appinfo/app.php
  3. 6
      apps/contacts/settings.php
  4. 7
      apps/contacts/templates/settings.php
  5. 1
      apps/media/appinfo/app.php
  6. 6
      apps/media/settings.php
  7. 7
      apps/media/templates/settings.php

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

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

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

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

@ -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…
Cancel
Save