diff options
author | Frank Karlitschek <karlitschek@kde.org> | 2011-09-28 16:05:01 +0200 |
---|---|---|
committer | Frank Karlitschek <karlitschek@kde.org> | 2011-09-28 16:05:01 +0200 |
commit | 98c59605aaf5b1652fded5b44cd404346e78102b (patch) | |
tree | 55ad0d877693dcf615bd51e3ad27d3e99000ddbe /apps | |
parent | 18216fe71f778b299585de7cc42a568a5adcfa6c (diff) | |
download | nextcloud-server-98c59605aaf5b1652fded5b44cd404346e78102b.tar.gz nextcloud-server-98c59605aaf5b1652fded5b44cd404346e78102b.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/calendar/templates/settings.php | 3 | ||||
-rw-r--r-- | apps/contacts/appinfo/app.php | 3 | ||||
-rw-r--r-- | apps/contacts/settings.php | 6 | ||||
-rw-r--r-- | apps/contacts/templates/settings.php | 7 | ||||
-rw-r--r-- | apps/media/appinfo/app.php | 1 | ||||
-rw-r--r-- | apps/media/settings.php | 6 | ||||
-rw-r--r-- | apps/media/templates/settings.php | 7 |
7 files changed, 33 insertions, 0 deletions
diff --git a/apps/calendar/templates/settings.php b/apps/calendar/templates/settings.php index ac13b2aa402..60b524a535a 100644 --- a/apps/calendar/templates/settings.php +++ b/apps/calendar/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> diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php index 98416ead2fc..fc7b3769c53 100644 --- a/apps/contacts/appinfo/app.php +++ b/apps/contacts/appinfo/app.php @@ -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'); diff --git a/apps/contacts/settings.php b/apps/contacts/settings.php new file mode 100644 index 00000000000..b88128823a7 --- /dev/null +++ b/apps/contacts/settings.php @@ -0,0 +1,6 @@ +<?php + +$tmpl = new OC_Template( 'contacts', 'settings'); + +return $tmpl->fetchPage(); +?> diff --git a/apps/contacts/templates/settings.php b/apps/contacts/templates/settings.php new file mode 100644 index 00000000000..29e6f159b2a --- /dev/null +++ b/apps/contacts/templates/settings.php @@ -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> diff --git a/apps/media/appinfo/app.php b/apps/media/appinfo/app.php index 0d36217bd4d..dd1a830a94b 100644 --- a/apps/media/appinfo/app.php +++ b/apps/media/appinfo/app.php @@ -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' )); diff --git a/apps/media/settings.php b/apps/media/settings.php new file mode 100644 index 00000000000..133440a9af6 --- /dev/null +++ b/apps/media/settings.php @@ -0,0 +1,6 @@ +<?php + +$tmpl = new OC_Template( 'media', 'settings'); + +return $tmpl->fetchPage(); +?> diff --git a/apps/media/templates/settings.php b/apps/media/templates/settings.php new file mode 100644 index 00000000000..70ee6dbc1ea --- /dev/null +++ b/apps/media/templates/settings.php @@ -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> |