summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/templates/index.php')
-rw-r--r--apps/contacts/templates/index.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php
index 0cd214bfb18..ca189cb4c8a 100644
--- a/apps/contacts/templates/index.php
+++ b/apps/contacts/templates/index.php
@@ -3,6 +3,17 @@ OC_Util::addScript('contacts','interface');
OC_Util::addStyle('contacts','styles');
?>
+<div class="contacts_addressbooks">
+ <div class="contacts_addressbooksexpander">
+ Addressbooks
+ </div>
+ <div class="contacts_addressbooksdetails" style="display:none;">
+ <?php foreach($_['addressbooks'] as $addressbook): ?>
+ <?php echo $addressbook['displayname']; ?>: <?php echo $addressbook['description']; ?><br>
+ <?php endforeach; ?>
+ <br>To use this addressbook, use .../apps/contacts/carddav.php/addressbooks/USERNAME/addressbookname.php
+ </div>
+</div>
<div class="contacts_contacts leftcontent">
<ul>
<?php echo $this->inc("_contacts"); ?>