2012-05-03 13:39:10 +02:00
|
|
|
<td width="20px">
|
|
|
|
<input id="active_<?php echo $_['addressbook']["id"]; ?>" type="checkbox" onClick="Contacts.UI.Addressbooks.activation(this, <?php echo $_['addressbook']["id"]; ?>)" <?php echo (OC_Contacts_Addressbook::isActive($_['addressbook']["id"]) ? ' checked="checked"' : ''); ?>>
|
|
|
|
</td>
|
|
|
|
<td>
|
2012-06-21 23:29:05 +02:00
|
|
|
<label for="active_<?php echo $_['addressbook']["id"]; ?>"><?php echo $_['addressbook']["displayname"]; ?></label>
|
2012-05-03 13:39:10 +02:00
|
|
|
</td>
|
|
|
|
<td width="20px">
|
2012-06-21 23:29:05 +02:00
|
|
|
<a onclick="Contacts.UI.showCardDAVUrl('<?php echo OCP\USER::getUser(); ?>', '<?php echo rawurlencode(html_entity_decode($_['addressbook']['uri'], ENT_QUOTES, 'UTF-8')); ?>');" title="<?php echo $l->t("CardDav Link"); ?>" class="svg action globe"></a>
|
2012-05-03 13:39:10 +02:00
|
|
|
</td>
|
|
|
|
<td width="20px">
|
|
|
|
<a href="<?php echo OCP\Util::linkTo('contacts', 'export.php'); ?>?bookid=<?php echo $_['addressbook']["id"]; ?>" title="<?php echo $l->t("Download"); ?>" class="svg action download"></a>
|
|
|
|
</td>
|
|
|
|
<td width="20px">
|
|
|
|
<a title="<?php echo $l->t("Edit"); ?>" class="svg action edit" onclick="Contacts.UI.Addressbooks.editAddressbook(this, <?php echo $_['addressbook']["id"]; ?>);"></a>
|
|
|
|
</td>
|
2012-07-01 03:06:49 +02:00
|
|
|
<td width="20px">
|
|
|
|
<a title="<?php echo $l->t("Share"); ?>" class="svg action share" data-item-type="addressbook" data-item="<?php echo $_['addressbook']['id']; ?>" />
|
|
|
|
</td>
|
2012-05-03 13:39:10 +02:00
|
|
|
<td width="20px">
|
|
|
|
<a onclick="Contacts.UI.Addressbooks.deleteAddressbook(this, <?php echo $_['addressbook']["id"]; ?>);" title="<?php echo $l->t("Delete"); ?>" class="svg action delete"></a>
|
|
|
|
</td>
|