]> source.dussan.org Git - nextcloud-server.git/commitdiff
show the syncing and ampache urls on the settings page. not very pretty but otherwise...
authorFrank Karlitschek <karlitschek@kde.org>
Wed, 28 Sep 2011 14:05:01 +0000 (16:05 +0200)
committerFrank Karlitschek <karlitschek@kde.org>
Wed, 28 Sep 2011 14:05:01 +0000 (16:05 +0200)
apps/calendar/templates/settings.php
apps/contacts/appinfo/app.php
apps/contacts/settings.php [new file with mode: 0644]
apps/contacts/templates/settings.php [new file with mode: 0644]
apps/media/appinfo/app.php
apps/media/settings.php [new file with mode: 0644]
apps/media/templates/settings.php [new file with mode: 0644]

index ac13b2aa4028161df7e036c86f20b21cb499e9ba..60b524a535ac44899e97d50487a3be49ed4895c7 100644 (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>
index 98416ead2fcf432943501a1d16a98869e0ea3ac8..fc7b3769c537834c0f9dbcce6ec2b6379cca6a69 100644 (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');
diff --git a/apps/contacts/settings.php b/apps/contacts/settings.php
new file mode 100644 (file)
index 0000000..b881288
--- /dev/null
@@ -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 (file)
index 0000000..29e6f15
--- /dev/null
@@ -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>
index 0d36217bd4dc9312e182da2b6004edb5e7608f3f..dd1a830a94b70e5f249ecaf50f440f1d8c81a598 100644 (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' ));
 
diff --git a/apps/media/settings.php b/apps/media/settings.php
new file mode 100644 (file)
index 0000000..133440a
--- /dev/null
@@ -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 (file)
index 0000000..70ee6db
--- /dev/null
@@ -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>