Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
0bccd9c1
Commit
0bccd9c1
authored
13 years ago
by
Thomas Tanghus
Browse files
Options
Downloads
Patches
Plain Diff
Contacts: Forgot to add the import template.
parent
f6fefe9a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/contacts/templates/part.importaddressbook.php
+34
-0
34 additions, 0 deletions
apps/contacts/templates/part.importaddressbook.php
with
34 additions
and
0 deletions
apps/contacts/templates/part.importaddressbook.php
0 → 100644
+
34
−
0
View file @
0bccd9c1
<?php
/**
* Copyright (c) 2012 Thomas Tanghus <thomas@tanghus.net>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
?>
<td
id=
"importaddressbook_dialog"
title=
"
<?php
echo
$l
->
t
(
"Import Addressbook"
);
?>
"
colspan=
"6"
>
<table>
<tr>
<th>
<?php
echo
$l
->
t
(
'Select address book to import to:'
)
?>
</th>
<td>
<select
id=
"book"
name=
"book"
class=
"float"
>
<?php
$contacts_options
=
OC_Contacts_Addressbook
::
all
(
OC_User
::
getUser
());
echo
html_select_options
(
$contacts_options
,
$contacts_options
[
0
][
'id'
],
array
(
'value'
=>
'id'
,
'label'
=>
'displayname'
));
?>
</select>
<span
id=
"import_drop_target"
class=
"droptarget float"
>
<?php
echo
$l
->
t
(
"Drop a VCF file to import contacts."
);
?>
(Max.
<?php
echo
$_
[
'uploadMaxHumanFilesize'
];
?>
)
</span>
<a
class=
"svg upload float"
title=
"
<?php
echo
$l
->
t
(
'Select from HD'
);
?>
"
></a>
</td>
</tr>
</table>
<form
id=
"import_upload_form"
action=
"ajax/uploadimport.php"
method=
"post"
enctype=
"multipart/form-data"
target=
"import_upload_target"
>
<input
type=
"hidden"
name=
"MAX_FILE_SIZE"
value=
"
<?php
echo
$_
[
'uploadMaxFilesize'
]
?>
"
id=
"max_upload"
>
<input
id=
"import_upload_start"
type=
"file"
accept=
"text/*"
name=
"importfile"
/>
<input
id=
"close_button"
style=
"float: left;"
type=
"button"
onclick=
"Contacts.UI.Addressbooks.cancel(this);"
value=
"
<?php
echo
$l
->
t
(
"Cancel"
);
?>
"
>
<iframe
name=
"import_upload_target"
id=
'import_upload_target'
src=
""
></iframe>
</form>
</td>
<script
type=
"text/javascript"
>
Contacts
.
UI
.
Addressbooks
.
loadImportHandlers
();
</script>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment