nextcloud/apps/contacts/templates/index.php

25 lines
782 B
PHP
Raw Normal View History

2011-08-07 00:32:06 +04:00
<?php // Include Style and Script
OC_Util::addScript('contacts','interface');
OC_Util::addStyle('contacts','styles');
?>
2011-08-07 01:29:25 +04:00
<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>
2011-08-07 00:32:06 +04:00
<div class="contacts_contacts leftcontent">
<ul>
<?php echo $this->inc("_contacts"); ?>
</ul>
</div>
<div class="contacts_details rightcontent">
<?php echo $this->inc("_details"); ?>
</div>