summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.import.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-08-26 17:30:07 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-08-26 17:30:07 +0200
commit72e9a2ce57ee88503db83614cec5ccda71f0b58e (patch)
tree8bc301ca22d9ca08ea54426bcb61f62bd1c1cb75 /apps/contacts/templates/part.import.php
parent32bad688bdb4fea55eba9d4255fc55f1c60a0aca (diff)
downloadnextcloud-server-72e9a2ce57ee88503db83614cec5ccda71f0b58e.tar.gz
nextcloud-server-72e9a2ce57ee88503db83614cec5ccda71f0b58e.zip
moved to apps repository
Diffstat (limited to 'apps/contacts/templates/part.import.php')
-rw-r--r--apps/contacts/templates/part.import.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/apps/contacts/templates/part.import.php b/apps/contacts/templates/part.import.php
deleted file mode 100644
index 32c8dc50dd6..00000000000
--- a/apps/contacts/templates/part.import.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<div id="contacts_import_dialog" title="<?php echo $l->t("Import a contacts file"); ?>">
- <div id="form_container">
- <input type="hidden" id="filename" value="<?php echo $_['filename'];?>">
- <input type="hidden" id="path" value="<?php echo $_['path'];?>">
- <input type="hidden" id="progresskey" value="<?php echo rand() ?>">
- <p class="bold" style="text-align:center;"><?php echo $l->t('Please choose the addressbook'); ?></p>
- <select style="width:100%;" id="contacts" name="contacts">
- <?php
- $contacts_options = OC_Contacts_Addressbook::all(OCP\USER::getUser());
- $contacts_options[] = array('id'=>'newaddressbook', 'displayname'=>$l->t('create a new addressbook'));
- echo OCP\html_select_options($contacts_options, $contacts_options[0]['id'], array('value'=>'id', 'label'=>'displayname'));
- ?>
- </select>
- <div id="newaddressbookform" style="display: none;">
- <input type="text" style="width: 97%;" placeholder="<?php echo $l->t('Name of new addressbook'); ?>" id="newaddressbook" name="newaddressbook">
- </div>
- <input type="button" value="<?php echo $l->t("Import");?>!" id="startimport">
- </div>
-<div id="progressbar_container" style="display: none">
- <p style="text-align:center;"><?php echo $l->t('Importing contacts'); ?></p>
- <div id="progressbar"></div>
- <div id="import_done" style="display: none;">
- <p style="text-align:center;"></p>
- <input type="button" value="<?php echo $l->t('Close'); ?>" id="import_done_button">
- </div>
- </div>
-</div> \ No newline at end of file