summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-02 01:15:20 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-08-02 04:18:44 +0200
commitf84e92e6e3934f84f2ecee88af6a19ec16a0dab9 (patch)
tree0f1332be5637583c43fb4437063c4f1234a0cf2b
parent937058cdec1b853cd1f60feeb925e3907c676679 (diff)
downloadnextcloud-server-f84e92e6e3934f84f2ecee88af6a19ec16a0dab9.tar.gz
nextcloud-server-f84e92e6e3934f84f2ecee88af6a19ec16a0dab9.zip
More files to delete \o/
-rw-r--r--apps/contacts/ajax/addbook.php19
-rw-r--r--apps/contacts/templates/part.editaddressbook.php31
2 files changed, 0 insertions, 50 deletions
diff --git a/apps/contacts/ajax/addbook.php b/apps/contacts/ajax/addbook.php
deleted file mode 100644
index 751185b44fd..00000000000
--- a/apps/contacts/ajax/addbook.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-/**
- * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
- * This file is licensed under the Affero General Public License version 3 or
- * later.
- * See the COPYING-README file.
- */
-
-
-OCP\JSON::checkLoggedIn();
-OCP\JSON::checkAppEnabled('contacts');
-$book = array(
- 'id' => 'new',
- 'displayname' => '',
-);
-$tmpl = new OCP\Template('contacts', 'part.editaddressbook');
-$tmpl->assign('new', true);
-$tmpl->assign('addressbook', $book);
-$tmpl->printPage();
diff --git a/apps/contacts/templates/part.editaddressbook.php b/apps/contacts/templates/part.editaddressbook.php
deleted file mode 100644
index c1c585687c4..00000000000
--- a/apps/contacts/templates/part.editaddressbook.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
- * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
- * This file is licensed under the Affero General Public License version 3 or
- * later.
- * See the COPYING-README file.
- */
-?>
-<td id="<?php echo $_['new'] ? 'new' : 'edit' ?>addressbook_dialog" title="<?php echo $_['new'] ? $l->t("New Addressbook") : $l->t("Edit Addressbook"); ?>" colspan="6">
-<table width="100%" style="border: 0;">
-<tr>
- <th><?php echo $l->t('Displayname') ?></th>
- <td>
- <input id="displayname_<?php echo $_['addressbook']['id'] ?>" type="text" value="<?php echo htmlspecialchars($_['addressbook']['displayname']) ?>">
- </td>
-</tr>
-<?php if (!$_['new']): ?>
-<tr>
- <td></td>
- <td>
- <input id="edit_active_<?php echo $_['addressbook']['id'] ?>" type="checkbox"<?php echo OC_Contacts_Addressbook::isActive($_['addressbook']['id']) ? ' checked="checked"' : '' ?>>
- <label for="edit_active_<?php echo $_['addressbook']['id'] ?>">
- <?php echo $l->t('Active') ?>
- </label>
- </td>
-</tr>
-<?php endif; ?>
-</table>
-<input style="float: left;" type="button" onclick="Contacts.UI.Addressbooks.submit(this, <?php echo $_['new'] ? "'new'" : $_['addressbook']['id'] ?>);" value="<?php echo $_['new'] ? $l->t("Save") : $l->t("Submit"); ?>">
-<input style="float: left;" type="button" onclick="Contacts.UI.Addressbooks.cancel(this, <?php echo $_['new'] ? "'new'" : $_['addressbook']['id'] ?>);" value="<?php echo $l->t("Cancel"); ?>">
-</td>