nextcloud/apps/contacts/templates/settings.php

20 lines
1.0 KiB
PHP
Raw Normal View History

2012-03-13 17:28:38 +04:00
<form id="contacts">
<fieldset class="personalblock">
<legend><?php echo $l->t('Contacts'); ?></legend>
<?php echo $l->t('CardDAV syncing addresses'); ?> (<a href="http://owncloud.org/synchronisation/" target="_blank"><?php echo $l->t('more info'); ?></a>)
2012-03-13 17:28:38 +04:00
<dl>
<dt><?php echo $l->t('Primary address (Kontact et al)'); ?></dt>
<dd><code><?php echo OCP\Util::linkToRemote('carddav'); ?></code></dd>
<dt><?php echo $l->t('iOS/OS X'); ?></dt>
<dd><code><?php echo OCP\Util::linkToRemote('carddav'); ?>principals/<?php echo OCP\USER::getUser(); ?></code>/</dd>
2012-07-08 19:52:57 +04:00
<dt><?php echo $l->t('Read only vCard directory link(s)'); ?></dt>
<dd>
<?php foreach($_['addressbooks'] as $addressbook) { ?>
<a href="<?php echo OCP\Util::linkToRemote('carddav').'addressbooks/'.OCP\USER::getUser().'/'.rawurlencode($addressbook['uri']) ?>?export"><?php echo $addressbook['displayname'] ?></a><br />
<?php } ?>
</dd>
2012-03-13 17:28:38 +04:00
</dl>
2012-04-07 18:03:11 +04:00
Powered by <a href="http://geonames.org/" target="_blank">geonames.org webservice</a>
</fieldset>
</form>