From 98c59605aaf5b1652fded5b44cd404346e78102b Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Wed, 28 Sep 2011 16:05:01 +0200 Subject: [PATCH] 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 --- apps/calendar/templates/settings.php | 3 +++ apps/contacts/appinfo/app.php | 3 +++ apps/contacts/settings.php | 6 ++++++ apps/contacts/templates/settings.php | 7 +++++++ apps/media/appinfo/app.php | 1 + apps/media/settings.php | 6 ++++++ apps/media/templates/settings.php | 7 +++++++ 7 files changed, 33 insertions(+) create mode 100644 apps/contacts/settings.php create mode 100644 apps/contacts/templates/settings.php create mode 100644 apps/media/settings.php create mode 100644 apps/media/templates/settings.php diff --git a/apps/calendar/templates/settings.php b/apps/calendar/templates/settings.php index ac13b2aa40..60b524a535 100644 --- a/apps/calendar/templates/settings.php +++ b/apps/calendar/templates/settings.php @@ -25,5 +25,8 @@ endif; endforeach;?> +
+ Calendar CalDAV Syncing URL: +
diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php index 98416ead2f..fc7b3769c5 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 0000000000..b88128823a --- /dev/null +++ b/apps/contacts/settings.php @@ -0,0 +1,6 @@ +fetchPage(); +?> diff --git a/apps/contacts/templates/settings.php b/apps/contacts/templates/settings.php new file mode 100644 index 0000000000..29e6f159b2 --- /dev/null +++ b/apps/contacts/templates/settings.php @@ -0,0 +1,7 @@ +
+
+ Contacts
+ CardDAV Syncing URL: +
+
+
diff --git a/apps/media/appinfo/app.php b/apps/media/appinfo/app.php index 0d36217bd4..dd1a830a94 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 0000000000..133440a9af --- /dev/null +++ b/apps/media/settings.php @@ -0,0 +1,6 @@ +fetchPage(); +?> diff --git a/apps/media/templates/settings.php b/apps/media/templates/settings.php new file mode 100644 index 0000000000..70ee6dbc1e --- /dev/null +++ b/apps/media/templates/settings.php @@ -0,0 +1,7 @@ +
+
+ Media
+ Ampache URL: +
+
+