summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.chooseaddressbook.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-01 23:59:44 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-08-02 00:02:07 +0200
commita8faae4f421ab8b85c2bd88b9617efb191c3ff62 (patch)
tree5e6deffb8a37acdf3b2a9fe3c2c265fdf7e8b3e3 /apps/contacts/templates/part.chooseaddressbook.php
parent47e4793c30b9efdf419115b77343d456cf17594b (diff)
downloadnextcloud-server-a8faae4f421ab8b85c2bd88b9617efb191c3ff62.tar.gz
nextcloud-server-a8faae4f421ab8b85c2bd88b9617efb191c3ff62.zip
Addressbooks settings rewrite and cleanup.
Diffstat (limited to 'apps/contacts/templates/part.chooseaddressbook.php')
-rw-r--r--apps/contacts/templates/part.chooseaddressbook.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/apps/contacts/templates/part.chooseaddressbook.php b/apps/contacts/templates/part.chooseaddressbook.php
deleted file mode 100644
index caed67736c5..00000000000
--- a/apps/contacts/templates/part.chooseaddressbook.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<div id="chooseaddressbook_dialog" title="<?php echo $l->t("Configure Address Books"); ?>">
-<table width="100%" style="border: 0;">
-<?php
-$option_addressbooks = OC_Contacts_Addressbook::all(OCP\USER::getUser());
-for($i = 0; $i < count($option_addressbooks); $i++){
- echo "<tr>";
- $tmpl = new OCP\Template('contacts', 'part.chooseaddressbook.rowfields');
- $tmpl->assign('addressbook', $option_addressbooks[$i]);
- $tmpl->assign('active', OC_Contacts_Addressbook::isActive($option_addressbooks[$i]['id']));
- $tmpl->printpage();
- echo "</tr>";
-}
-?>
-<tr>
- <td colspan="5" style="padding: 0.5em;">
- <a class="button" href="#" onclick="Contacts.UI.Addressbooks.newAddressbook(this);"><?php echo $l->t('New Address Book') ?></a>
- </td>
-</tr>
-<tr>
- <td colspan="5">
- <p style="margin: 0 auto;width: 90%;"><input style="display:none;width: 90%;float: left;" type="text" id="carddav_url" onmouseover="$('#carddav_url').select();" title="<?php echo $l->t("CardDav Link"); ?>"><a class="action delete" id="carddav_url_close" style="height: 20px;vertical-align: middle;display: none;" title="close" onclick="$('#carddav_url').hide();$('#carddav_url_close').hide();"/></a></p>
- </td>
-</tr>
-</table>