2013-09-20 16:24:29 +02:00
|
|
|
<?php
|
|
|
|
use OCA\Contacts\ImportManager;
|
2014-11-08 16:34:23 +01:00
|
|
|
|
|
|
|
script('', [
|
|
|
|
'jquery.multiselect',
|
|
|
|
'tags',
|
|
|
|
'placeholder',
|
|
|
|
'jquery.avatar',
|
|
|
|
'avatar',
|
|
|
|
]);
|
|
|
|
|
|
|
|
vendor_script('', [
|
|
|
|
'blueimp-md5/js/md5',
|
|
|
|
'jcrop/js/jquery.Jcrop',
|
|
|
|
]);
|
|
|
|
|
|
|
|
script('files', 'jquery.fileupload');
|
|
|
|
|
|
|
|
script('contacts', [
|
|
|
|
'jquery.combobox',
|
|
|
|
'modernizr.custom',
|
|
|
|
'app',
|
|
|
|
'addressbooks',
|
|
|
|
'contacts',
|
|
|
|
'storage',
|
|
|
|
'groups',
|
|
|
|
'jquery.ocaddnew',
|
|
|
|
'otherbackendconfig',
|
|
|
|
]);
|
|
|
|
|
|
|
|
style('', 'jquery.multiselect');
|
|
|
|
|
|
|
|
vendor_style('jcrop/css/jquery.Jcrop');
|
|
|
|
|
|
|
|
style('contacts', [
|
|
|
|
'jquery.combobox',
|
|
|
|
'jquery.ocaddnew',
|
|
|
|
'contacts',
|
|
|
|
]);
|
|
|
|
|
2013-09-20 16:24:29 +02:00
|
|
|
?>
|
2014-04-13 14:09:08 +02:00
|
|
|
<div id="app">
|
2013-04-30 20:00:33 +02:00
|
|
|
<div id="app-navigation" class="loading">
|
2013-12-18 16:59:39 +01:00
|
|
|
<ul id="grouplist" class="hidden-on-load">
|
|
|
|
<li class="special">
|
|
|
|
<a role="button" class="add-contact">
|
|
|
|
<?php p($l->t('New contact')); ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="special">
|
|
|
|
<input class="add-group hidden" type="text" tabindex="0" autofocus placeholder="<?php p($l->t('Group name')); ?>" title="<?php p($l->t('New group')); ?>" />
|
|
|
|
</li>
|
2013-04-30 20:00:33 +02:00
|
|
|
</ul>
|
|
|
|
<div id="app-settings">
|
|
|
|
<div id="app-settings-header">
|
|
|
|
<button class="settings-button" tabindex="0"></button>
|
|
|
|
</div>
|
|
|
|
<div id="app-settings-content">
|
2013-05-02 20:41:26 +02:00
|
|
|
<div id="addressbooks">
|
2013-04-30 20:00:33 +02:00
|
|
|
<h2 data-id="addressbooks" tabindex="0" role="button"><?php p($l->t('Address books')); ?></h2>
|
2013-05-02 20:41:26 +02:00
|
|
|
<ul class="addressbooklist">
|
2013-04-30 20:00:33 +02:00
|
|
|
</ul>
|
2013-05-02 22:01:37 +02:00
|
|
|
<input type="text" tabindex="0" autofocus id="add-address-book" placeholder="<?php p($l->t('Display name')); ?>" title="<?php p($l->t('Add Address Book')); ?>" />
|
2014-05-09 20:30:14 +02:00
|
|
|
<?php
|
|
|
|
if (\OCP\Config::getAppValue('contacts', 'backend_ldap', "false") === "true") {
|
|
|
|
?>
|
|
|
|
<ul class="oc-addnew">
|
|
|
|
<li id="add-ldap-address-book-element"><a class="oc-addnew-init"><?php p($l->t('Add LDAP Address Book')); ?></a></li>
|
|
|
|
</ul>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
2013-05-02 20:41:26 +02:00
|
|
|
</div>
|
|
|
|
<div id="import">
|
2014-05-05 21:18:48 +02:00
|
|
|
<ul class="oc-addnew">
|
|
|
|
<li id="import-contacts"><a class="oc-addnew-init"><?php p($l->t('Import')); ?></a></li>
|
2013-04-30 20:00:33 +02:00
|
|
|
</ul>
|
2013-05-02 20:41:26 +02:00
|
|
|
</div>
|
2013-04-30 20:00:33 +02:00
|
|
|
</div> <!-- app-settings-content -->
|
|
|
|
</div>
|
2012-09-17 16:15:31 +02:00
|
|
|
</div>
|
2013-04-30 20:00:33 +02:00
|
|
|
<div id="app-content" class="loading">
|
|
|
|
<table id="contactlist">
|
2013-05-31 21:32:16 +02:00
|
|
|
<thead>
|
2013-12-09 22:44:57 +01:00
|
|
|
<tr id="contactsHeader" class="hidden-on-load">
|
2013-05-31 21:32:16 +02:00
|
|
|
<td class="name">
|
2013-12-23 16:10:33 +01:00
|
|
|
<span class="actions_left">
|
2014-01-02 13:51:13 +01:00
|
|
|
<input type="checkbox" class="toggle" id="select_all" title="<?php p($l->t('(De-)select all')); ?>" />
|
|
|
|
<label for="select_all"></label>
|
2013-05-31 21:32:16 +02:00
|
|
|
<select class="action sort permanent" name="sort" title="<?php p($l->t('Sort order')); ?>">
|
|
|
|
<option value="fn"><?php p($l->t('Display name')); ?></option>
|
|
|
|
<option value="fl"><?php p($l->t('First- Lastname')); ?></option>
|
|
|
|
<option value="lf"><?php p($l->t('Last-, Firstname')); ?></option>
|
|
|
|
</select>
|
2013-12-23 16:10:33 +01:00
|
|
|
</span>
|
2013-12-18 15:35:41 +01:00
|
|
|
|
|
|
|
<span class="actions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a class="icon-delete delete svg action text permanent">
|
2013-12-18 15:35:41 +01:00
|
|
|
<?php p($l->t('Delete')); ?>
|
|
|
|
<img class="svg" alt="<?php p($l->t('Delete'))?>" src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
|
|
|
|
</a>
|
2013-12-31 12:06:12 +01:00
|
|
|
<select class="groups svg action text permanent shared" name="groups">
|
2013-12-18 15:35:41 +01:00
|
|
|
<option value="-1" disabled="disabled" selected="selected"><?php p($l->t('Groups')); ?></option>
|
|
|
|
</select>
|
2014-02-27 18:21:34 +01:00
|
|
|
<a class="icon-download download svg action text permanent"><?php p($l->t('Download')); ?></a>
|
|
|
|
<a class="icon-rename action svg text permanent merge edit"><?php p($l->t('Merge')); ?></a>
|
2013-12-18 15:35:41 +01:00
|
|
|
</span>
|
2013-05-31 21:32:16 +02:00
|
|
|
</td>
|
2013-12-18 15:35:41 +01:00
|
|
|
<td class="info email"><?php p($l->t('Email')); ?></td>
|
|
|
|
<td class="info tel"><?php p($l->t('Phone')); ?></td>
|
|
|
|
<td class="info adr"><?php p($l->t('Address')); ?></td>
|
|
|
|
<td class="info categories"><?php p($l->t('Group')); ?></td>
|
2013-05-31 21:32:16 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
</tbody>
|
2013-04-30 20:00:33 +02:00
|
|
|
</table>
|
|
|
|
<div class="hidden popup" id="ninjahelp">
|
|
|
|
<a class="close" tabindex="0" role="button" title="<?php p($l->t('Close')); ?>"></a>
|
|
|
|
<h2><?php p($l->t('Keyboard shortcuts')); ?></h2>
|
|
|
|
<div class="help-section">
|
|
|
|
<h3><?php p($l->t('Navigation')); ?></h3>
|
|
|
|
<dl>
|
|
|
|
<dt>j/Down</dt>
|
|
|
|
<dd><?php p($l->t('Next contact in list')); ?></dd>
|
|
|
|
<dt>k/Up</dt>
|
|
|
|
<dd><?php p($l->t('Previous contact in list')); ?></dd>
|
|
|
|
<dt>o</dt>
|
|
|
|
<dd><?php p($l->t('Expand/collapse current addressbook')); ?></dd>
|
|
|
|
<dt>n/PageDown</dt>
|
|
|
|
<dd><?php p($l->t('Next addressbook')); ?></dd>
|
|
|
|
<dt>p/PageUp</dt>
|
|
|
|
<dd><?php p($l->t('Previous addressbook')); ?></dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
<div class="help-section">
|
|
|
|
<h3><?php p($l->t('Actions')); ?></h3>
|
|
|
|
<dl>
|
|
|
|
<dt>r</dt>
|
|
|
|
<dd><?php p($l->t('Refresh contacts list')); ?></dd>
|
|
|
|
<dt>a</dt>
|
|
|
|
<dd><?php p($l->t('Add new contact')); ?></dd>
|
|
|
|
<!-- dt>Shift-a</dt>
|
|
|
|
<dd><?php p($l->t('Add new addressbook')); ?></dd -->
|
|
|
|
<dt>Shift-Delete</dt>
|
|
|
|
<dd><?php p($l->t('Delete current contact')); ?></dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
2012-11-15 02:40:47 +01:00
|
|
|
</div>
|
2013-04-30 20:00:33 +02:00
|
|
|
<div id="firstrun" class="hidden">
|
2013-09-11 04:39:30 +02:00
|
|
|
<div>
|
2014-04-01 18:25:46 +02:00
|
|
|
<h3><?php p($l->t('You have no contacts in your address book or your address book is disabled.')); ?></h3>
|
2014-07-28 00:40:25 +02:00
|
|
|
<p><?php p($l->t('Add a new contact or import existing contacts from a file (VCF, CSV or LDIF).')); ?></p>
|
2014-04-01 18:25:46 +02:00
|
|
|
<div id="selections">
|
|
|
|
<input type="button" class="add-contact text" value="<?php p($l->t('New contact')) ?>">
|
2014-05-07 22:54:58 +02:00
|
|
|
<input type="button" id="oc-import-nocontact" value="<?php p($l->t('Import contacts')); ?>">
|
2014-04-01 18:25:46 +02:00
|
|
|
</div>
|
2013-09-11 04:39:30 +02:00
|
|
|
</div>
|
2012-11-15 02:40:47 +01:00
|
|
|
</div>
|
2014-03-20 16:00:22 +01:00
|
|
|
<form class="float" name="file_upload_form" id="file_upload_form" method="PUT" target="file_upload_target">
|
2013-04-30 20:00:33 +02:00
|
|
|
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>">
|
|
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="<?php p($_['uploadMaxFilesize']) ?>" id="max_upload">
|
2014-03-20 16:00:22 +01:00
|
|
|
<input type="hidden" name="max_human_file_size" value="<?php p($_['uploadMaxHumanFilesize']); ?>">
|
2013-04-30 20:00:33 +02:00
|
|
|
<input id="contactphoto_fileupload" type="file" accept="image/*" name="imagefile" />
|
|
|
|
</form>
|
|
|
|
<iframe name="file_upload_target" id='file_upload_target' src=""></iframe>
|
|
|
|
</div> <!-- app-content -->
|
|
|
|
</div> <!-- app -->
|
2012-10-15 21:33:21 +02:00
|
|
|
<script id="cropBoxTemplate" type="text/template">
|
|
|
|
<form id="cropform"
|
|
|
|
class="coords"
|
|
|
|
method="post"
|
|
|
|
enctype="multipart/form-data"
|
2013-08-31 17:47:33 +02:00
|
|
|
>
|
2012-10-15 21:33:21 +02:00
|
|
|
<fieldset id="coords">
|
2013-09-04 08:03:33 +02:00
|
|
|
<input type="hidden" id="x" name="x" value="" />
|
|
|
|
<input type="hidden" id="y" name="y" value="" />
|
2012-10-15 21:33:21 +02:00
|
|
|
<input type="hidden" id="w" name="w" value="" />
|
|
|
|
<input type="hidden" id="h" name="h" value="" />
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</script>
|
|
|
|
|
2012-10-24 20:29:44 +02:00
|
|
|
<script id="addGroupTemplate" type="text/template">
|
2013-02-28 16:27:14 +01:00
|
|
|
<div id="dialog-form" title="<?php p($l->t('Add group')); ?>">
|
2012-10-24 20:29:44 +02:00
|
|
|
<fieldset>
|
|
|
|
<input type="text" name="name" id="name" />
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
2013-05-21 23:39:50 +02:00
|
|
|
<script id="groupListItemTemplate" type="text/template">
|
|
|
|
<li class="group" data-type="{type}" data-id="{id}">
|
2014-03-18 18:14:47 +01:00
|
|
|
<a class="name" title="{name}" role="button">{name}</a>
|
2013-05-21 23:39:50 +02:00
|
|
|
<span class="utils">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a class="icon-delete action delete tooltipped rightwards"></a>
|
|
|
|
<a class="icon-rename action edit tooltipped rightwards"></a>
|
2013-05-21 23:39:50 +02:00
|
|
|
<span class="action numcontacts">{num}</span>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</script>
|
|
|
|
|
2013-04-03 16:43:18 +02:00
|
|
|
<script id="mergeContactsTemplate" type="text/template">
|
|
|
|
<div id="dialog-merge-contacts" title="<?php p($l->t('Merge contacts')); ?>">
|
2013-04-05 19:06:26 +02:00
|
|
|
<p><?php p($l->t('Which contact should the data be merged into?')); ?></p>
|
2013-04-03 16:43:18 +02:00
|
|
|
<fieldset>
|
2013-04-05 22:21:08 +02:00
|
|
|
<ul class="mergelist">
|
|
|
|
<li><input id="mergee_{idx}" type="radio" name="contact" value="{id}"><label for="mergee_{idx}" >{displayname}</label></li>
|
|
|
|
</ul>
|
2013-04-03 16:43:18 +02:00
|
|
|
</fieldset>
|
|
|
|
<p>
|
|
|
|
<input type="checkbox" id="delete_other" name="delete_other" />
|
2013-04-05 18:27:41 +02:00
|
|
|
<label for="delete_other"><?php p($l->t('Delete the other(s) after successful merge?')); ?></label>
|
2013-04-03 16:43:18 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
2012-09-17 16:15:31 +02:00
|
|
|
<script id="contactListItemTemplate" type="text/template">
|
2013-05-01 01:06:15 +02:00
|
|
|
<tr class="contact" data-id="{id}" data-parent="{parent}" data-backend="{backend}">
|
2013-03-23 01:59:44 +01:00
|
|
|
<td class="name thumbnail">
|
2014-01-02 13:51:13 +01:00
|
|
|
<input type="checkbox" id="select-{id}" name="id" value="{id}" />
|
|
|
|
<label for="select-{id}"></label>
|
2013-12-14 15:22:42 +01:00
|
|
|
<div class="avatar"></div>
|
|
|
|
<a href="#{id}" class="nametext">{name}</a>
|
2012-09-17 16:15:31 +02:00
|
|
|
</td>
|
|
|
|
<td class="email">
|
2013-12-14 15:46:36 +01:00
|
|
|
<a href="mailto:{email}">{email}</a>
|
2014-02-27 18:21:34 +01:00
|
|
|
<a class="icon-mail svg mailto hidden" title="<?php p($l->t('Compose mail')); ?>"></a>
|
2012-09-17 16:15:31 +02:00
|
|
|
</td>
|
2013-12-14 15:46:36 +01:00
|
|
|
<td class="tel">{tel}</td>
|
|
|
|
<td class="adr">{adr}</td>
|
|
|
|
<td class="categories">{categories}</td>
|
2012-09-17 16:15:31 +02:00
|
|
|
</tr>
|
|
|
|
</script>
|
|
|
|
|
2013-03-12 00:28:41 +01:00
|
|
|
<script id="contactDragItemTemplate" type="text/template">
|
2013-04-06 17:13:18 +02:00
|
|
|
<div class="dragContact thumbnail" data-id="{id}">
|
2013-03-12 00:28:41 +01:00
|
|
|
{name}
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
2012-09-17 16:15:31 +02:00
|
|
|
<script id="contactFullTemplate" type="text/template">
|
2013-09-11 05:50:00 +02:00
|
|
|
<tr><td colspan="6">
|
|
|
|
<form action="<?php print_unescaped(OCP\Util::linkTo('contacts', 'index.php')); ?>" method="post" enctype="multipart/form-data">
|
2012-09-17 16:15:31 +02:00
|
|
|
<section id="contact" data-id="{id}">
|
2013-12-13 18:34:46 +01:00
|
|
|
<header>
|
2014-03-04 21:56:46 +01:00
|
|
|
<a class="delete">
|
2013-12-13 18:34:46 +01:00
|
|
|
<?php p($l->t('Delete')); ?>
|
|
|
|
<img class="svg" alt="<?php p($l->t('Delete'))?>" src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
|
|
|
|
</a>
|
|
|
|
</header>
|
2012-10-05 05:05:49 +02:00
|
|
|
<ul>
|
|
|
|
<li>
|
2012-10-15 21:33:21 +02:00
|
|
|
<div id="photowrapper" class="propertycontainer" data-element="photo">
|
|
|
|
<ul id="phototools" class="transparent hidden">
|
2014-04-09 18:02:18 +02:00
|
|
|
<li><a class="svg icon-delete action delete" title="<?php echo $l->t('Delete current photo'); ?>"></a></li>
|
|
|
|
<li><a class="svg icon-rename action edit" title="<?php echo $l->t('Edit current photo'); ?>"></a></li>
|
|
|
|
<li><a class="svg icon-upload action upload" title="<?php echo $l->t('Upload new photo'); ?>"></a></li>
|
|
|
|
<li><a class="svg icon-folder action cloud icon-cloud" title="<?php echo $l->t('Select photo from Files'); ?>"></a></li>
|
2012-10-15 21:33:21 +02:00
|
|
|
</ul>
|
2014-03-05 13:06:53 +01:00
|
|
|
<a class="favorite {favorite} tooltipped" title="<?php echo $l->t('Favorite'); ?>"></a>
|
2012-10-15 21:33:21 +02:00
|
|
|
</div>
|
|
|
|
<div class="singleproperties">
|
2013-12-12 16:45:48 +01:00
|
|
|
<h3><?php p($l->t('Name')); ?></h3>
|
|
|
|
<label class="propertyname"></label>
|
2013-12-11 01:22:41 +01:00
|
|
|
<input data-element="fn" class="fullname value propertycontainer" type="text" name="value" value="{name}" placeholder="<?php p($l->t('Name')); ?>" required />
|
2014-03-04 02:41:47 +01:00
|
|
|
<a class="icon-rename action edit"></a>
|
2013-12-11 01:22:41 +01:00
|
|
|
<fieldset class="n hidden editor propertycontainer" data-element="n">
|
|
|
|
<ul>
|
|
|
|
<li>
|
2013-12-12 16:45:48 +01:00
|
|
|
<input class="value rightwards onfocus" type="text" id="n_1" name="value[1]" value="{n1}"
|
2014-01-03 13:00:32 +01:00
|
|
|
placeholder="<?php p($l->t('First name')); ?>" />
|
2013-12-11 01:22:41 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-12-12 16:45:48 +01:00
|
|
|
<input class="value rightwards onfocus" type="text" id="n_2" name="value[2]" value="{n2}"
|
2014-01-03 13:00:32 +01:00
|
|
|
placeholder="<?php p($l->t('Additional names')); ?>" />
|
2013-12-11 01:22:41 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-12-12 16:45:48 +01:00
|
|
|
<input class="value rightwards onfocus" type="text" id="n_0" name="value[0]" value="{n0}"
|
2014-01-03 13:00:32 +01:00
|
|
|
placeholder="<?php p($l->t('Last name')); ?>" />
|
2013-12-11 01:22:41 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<input class="value" type="hidden" id="n_3" name="value[3]" value="{n3}" />
|
|
|
|
<input class="value" type="hidden" id="n_4" name="value[4]" value="{n4}" />
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
<div class="singleproperties">
|
|
|
|
<div class="groupscontainer propertycontainer" data-element="categories">
|
2014-03-04 05:03:21 +01:00
|
|
|
<h3><?php p($l->t('Groups')); ?></h3>
|
|
|
|
<label class="propertyname"></label>
|
2014-01-03 13:00:32 +01:00
|
|
|
<select class="hidden" id="contactgroups" name="value" multiple></select>
|
2013-12-11 01:22:41 +01:00
|
|
|
</div>
|
2013-01-16 13:34:30 +01:00
|
|
|
</div>
|
2013-12-31 12:06:12 +01:00
|
|
|
<div class="singleproperties">
|
2014-03-04 05:03:21 +01:00
|
|
|
<div class="addressbookcontainer propertycontainer" data-element="categories">
|
|
|
|
<h3><?php p($l->t('Address book')); ?></h3>
|
|
|
|
<label class="propertyname"></label>
|
|
|
|
<select class="hidden" id="contactaddressbooks" name="value"></select>
|
|
|
|
</div>
|
2013-03-25 17:09:29 +01:00
|
|
|
</div>
|
2013-12-12 16:45:48 +01:00
|
|
|
<div class="singleproperties">
|
2012-10-05 05:05:49 +02:00
|
|
|
<dd data-element="nickname" class="propertycontainer">
|
2013-12-12 16:45:48 +01:00
|
|
|
<h3><?php p($l->t('Nickname')); ?></h3>
|
|
|
|
<label class="propertyname"></label>
|
2014-01-03 13:00:32 +01:00
|
|
|
<input class="value rightwards onfocus" type="text" name="value" value="{nickname}" required />
|
2013-12-12 16:45:48 +01:00
|
|
|
<span class="listactions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a role="button" class="icon-delete action delete"></a>
|
2013-12-12 16:45:48 +01:00
|
|
|
</span>
|
2012-09-17 16:15:31 +02:00
|
|
|
</dd>
|
2013-12-12 16:45:48 +01:00
|
|
|
</div>
|
|
|
|
<div class="singleproperties">
|
2012-10-05 05:05:49 +02:00
|
|
|
<dd data-element="title" class="propertycontainer">
|
2013-12-12 16:45:48 +01:00
|
|
|
<h3><?php p($l->t('Title')); ?></h3>
|
|
|
|
<label class="propertyname"></label>
|
2014-01-03 13:00:32 +01:00
|
|
|
<input class="value rightwards onfocus" type="text" name="value" value="{title}" required />
|
2013-12-12 16:45:48 +01:00
|
|
|
<span class="listactions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a role="button" class="icon-delete action delete"></a>
|
2013-12-12 16:45:48 +01:00
|
|
|
</span>
|
2012-09-17 16:15:31 +02:00
|
|
|
</dd>
|
2013-12-12 16:45:48 +01:00
|
|
|
</div>
|
|
|
|
<div class="singleproperties">
|
2012-10-05 05:05:49 +02:00
|
|
|
<dd data-element="org" class="propertycontainer">
|
2013-12-12 16:45:48 +01:00
|
|
|
<h3><?php p($l->t('Organization')); ?></h3>
|
|
|
|
<label class="propertyname"></label>
|
2014-01-03 13:00:32 +01:00
|
|
|
<input class="value rightwards onfocus" type="text" name="value" value="{org}" required />
|
2013-12-12 16:45:48 +01:00
|
|
|
<span class="listactions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a role="button" class="icon-delete action delete"></a>
|
2013-12-12 16:45:48 +01:00
|
|
|
</span>
|
2012-09-17 16:15:31 +02:00
|
|
|
</dd>
|
2013-12-12 16:45:48 +01:00
|
|
|
</div>
|
|
|
|
<div class="singleproperties">
|
2012-10-05 05:05:49 +02:00
|
|
|
<dd data-element="bday" class="propertycontainer">
|
2013-12-12 16:45:48 +01:00
|
|
|
<h3><?php p($l->t('Birthday')); ?></h3>
|
|
|
|
<label class="propertyname"></label>
|
|
|
|
<input class="value rightwards onfocus" type="text" name="value" value="{bday}" required />
|
|
|
|
<span class="listactions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a role="button" class="icon-delete action delete"></a>
|
2013-12-12 16:45:48 +01:00
|
|
|
</span>
|
2012-09-17 16:15:31 +02:00
|
|
|
</dd>
|
2013-12-12 16:45:48 +01:00
|
|
|
</d>
|
2012-10-05 05:05:49 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2012-09-17 16:15:31 +02:00
|
|
|
<ul class="email propertylist hidden">
|
2014-04-06 03:01:37 +02:00
|
|
|
<h3><?php p($l->t('Email')); ?></h3>
|
2012-09-17 16:15:31 +02:00
|
|
|
</ul>
|
2012-10-05 05:05:49 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2012-09-17 16:15:31 +02:00
|
|
|
<ul class="tel propertylist hidden">
|
2014-04-06 03:01:37 +02:00
|
|
|
<h3><?php p($l->t('Phone')); ?></h3>
|
2012-09-17 16:15:31 +02:00
|
|
|
</ul>
|
2012-10-05 05:05:49 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2012-09-17 16:15:31 +02:00
|
|
|
<ul class="adr propertylist hidden">
|
2014-04-06 03:01:37 +02:00
|
|
|
<h3><?php p($l->t('Address')); ?></h3>
|
2012-09-17 16:15:31 +02:00
|
|
|
</ul>
|
2012-10-05 05:05:49 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2012-09-17 16:15:31 +02:00
|
|
|
<ul class="url propertylist hidden">
|
2014-04-06 03:01:37 +02:00
|
|
|
<h3><?php p($l->t('Website')); ?></h3>
|
2012-09-17 16:15:31 +02:00
|
|
|
</ul>
|
2012-10-05 05:05:49 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2012-09-17 16:15:31 +02:00
|
|
|
<ul class="impp propertylist hidden">
|
2014-04-06 03:01:37 +02:00
|
|
|
<h3><?php p($l->t('Instant messaging')); ?></h3>
|
2012-09-17 16:15:31 +02:00
|
|
|
</ul>
|
2012-10-05 05:05:49 +02:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-12-12 16:45:48 +01:00
|
|
|
<ul class="notes propertylist">
|
|
|
|
<section class="note propertycontainer" data-element="note">
|
|
|
|
<textarea class="value" placeholder="<?php p($l->t('Notes go here...')); ?>">{note}</textarea>
|
|
|
|
</section>
|
|
|
|
</ul>
|
2012-10-05 05:05:49 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<footer>
|
2013-02-27 14:22:10 +01:00
|
|
|
<select class="add action text button" id="addproperty">
|
2013-10-11 14:10:10 +02:00
|
|
|
<option value=""><?php p($l->t('Add field...')); ?></option>
|
2013-02-28 16:27:14 +01:00
|
|
|
<option value="ORG"><?php p($l->t('Organization')); ?></option>
|
|
|
|
<option value="TITLE"><?php p($l->t('Title')); ?></option>
|
|
|
|
<option value="NICKNAME"><?php p($l->t('Nickname')); ?></option>
|
|
|
|
<option value="BDAY"><?php p($l->t('Birthday')); ?></option>
|
|
|
|
<option value="TEL"><?php p($l->t('Phone')); ?></option>
|
|
|
|
<option value="EMAIL"><?php p($l->t('Email')); ?></option>
|
|
|
|
<option value="IMPP"><?php p($l->t('Instant Messaging')); ?></option>
|
|
|
|
<option value="ADR"><?php p($l->t('Address')); ?></option>
|
|
|
|
<option value="NOTE"><?php p($l->t('Note')); ?></option>
|
|
|
|
<option value="URL"><?php p($l->t('Web site')); ?></option>
|
2012-12-10 20:58:34 +01:00
|
|
|
</select>
|
2014-03-04 21:56:46 +01:00
|
|
|
<a class="cancel">
|
|
|
|
<?php p($l->t('Cancel')); ?>
|
|
|
|
<img class="svg" alt="<?php p($l->t('Cancel'))?>" src="<?php print_unescaped(OCP\image_path("core", "actions/close.svg")); ?>" />
|
|
|
|
</a>
|
|
|
|
<a class="close">
|
2013-12-13 18:34:46 +01:00
|
|
|
<?php p($l->t('Close')); ?>
|
|
|
|
<img class="svg" alt="<?php p($l->t('Close'))?>" src="<?php print_unescaped(OCP\image_path("core", "actions/checkmark.svg")); ?>" />
|
|
|
|
</a>
|
2014-03-04 21:56:46 +01:00
|
|
|
<a class="export">
|
2013-12-13 18:34:46 +01:00
|
|
|
<?php p($l->t('Download')); ?>
|
|
|
|
<img class="svg" alt="<?php p($l->t('Download'))?>" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>" />
|
|
|
|
</a>
|
2012-10-05 05:05:49 +02:00
|
|
|
</footer>
|
2012-12-10 00:04:06 +01:00
|
|
|
</section>
|
2013-09-11 05:50:00 +02:00
|
|
|
</form>
|
|
|
|
</td></tr>
|
2012-09-17 16:15:31 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<script id="contactDetailsTemplate" class="hidden" type="text/template">
|
2013-04-03 16:52:56 +02:00
|
|
|
<div class="email" type="text/template">
|
2012-09-17 16:15:31 +02:00
|
|
|
<li data-element="email" data-checksum="{checksum}" class="propertycontainer">
|
2012-12-10 20:58:34 +01:00
|
|
|
<span class="parameters">
|
2013-12-12 16:45:48 +01:00
|
|
|
<input type="checkbox" class="parameter tooltipped rightwards" data-parameter="TYPE" name="parameters[TYPE][]" value="PREF" title="<?php p($l->t('Preferred')); ?>" />
|
2012-12-10 20:58:34 +01:00
|
|
|
<select class="rtl type parameter" data-parameter="TYPE" name="parameters[TYPE][]">
|
2014-03-18 00:58:01 +01:00
|
|
|
<?php print_unescaped(OCP\html_select_options($_['emailTypes'], array())) ?>
|
2012-12-10 20:58:34 +01:00
|
|
|
</select>
|
|
|
|
</span>
|
2013-02-28 16:27:14 +01:00
|
|
|
<input type="email" class="nonempty value" name="value" value="{value}" x-moz-errormessage="<?php p($l->t('Please specify a valid email address.')); ?>" placeholder="<?php p($l->t('someone@example.com')); ?>" required />
|
2012-10-15 21:33:21 +02:00
|
|
|
<span class="listactions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a class="icon-mail action mail tooltipped leftwards" title="<?php p($l->t('Mail to address')); ?>"></a>
|
|
|
|
<a role="button" class="icon-delete action delete tooltipped leftwards" title="<?php p($l->t('Delete email address')); ?>"></a>
|
2012-10-15 21:33:21 +02:00
|
|
|
</span>
|
2012-09-17 16:15:31 +02:00
|
|
|
</li>
|
|
|
|
</div>
|
2013-04-03 16:52:56 +02:00
|
|
|
<div class="tel" type="text/template">
|
2012-09-17 16:15:31 +02:00
|
|
|
<li data-element="tel" data-checksum="{checksum}" class="propertycontainer">
|
2012-12-10 20:58:34 +01:00
|
|
|
<span class="parameters">
|
2013-12-12 16:45:48 +01:00
|
|
|
<input type="checkbox" class="parameter tooltipped rightwards" data-parameter="TYPE" name="parameters[TYPE][]" value="PREF" title="<?php p($l->t('Preferred')); ?>" />
|
2012-12-10 20:58:34 +01:00
|
|
|
<select class="rtl type parameter" data-parameter="TYPE" name="parameters[TYPE][]">
|
2014-03-18 00:58:01 +01:00
|
|
|
<?php print_unescaped(OCP\html_select_options($_['phoneTypes'], array())) ?>
|
2012-12-10 20:58:34 +01:00
|
|
|
</select>
|
|
|
|
</span>
|
2013-12-11 01:22:41 +01:00
|
|
|
<input type="text" class="nonempty value" name="value" value="{value}" placeholder="<?php p($l->t('Enter phone number')); ?>" required />
|
2012-09-17 16:15:31 +02:00
|
|
|
<span class="listactions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a role="button" class="icon-delete action delete tooltipped leftwards"></a>
|
2012-10-15 21:33:21 +02:00
|
|
|
</span>
|
2012-09-17 16:15:31 +02:00
|
|
|
</li>
|
|
|
|
</div>
|
2013-04-03 16:52:56 +02:00
|
|
|
<div class="url" type="text/template">
|
2012-09-17 16:15:31 +02:00
|
|
|
<li data-element="url" data-checksum="{checksum}" class="propertycontainer">
|
2012-12-10 20:58:34 +01:00
|
|
|
<span class="parameters">
|
2013-12-12 16:45:48 +01:00
|
|
|
<input type="checkbox" class="parameter tooltipped rightwards" data-parameter="TYPE" name="parameters[TYPE][]" value="PREF" title="<?php p($l->t('Preferred')); ?>" />
|
2012-12-10 20:58:34 +01:00
|
|
|
<select class="rtl type parameter" data-parameter="TYPE" name="parameters[TYPE][]">
|
2014-03-18 00:58:01 +01:00
|
|
|
<?php print_unescaped(OCP\html_select_options($_['emailTypes'], array())) ?>
|
2012-12-10 20:58:34 +01:00
|
|
|
</select>
|
|
|
|
</span>
|
2012-10-23 06:54:19 +02:00
|
|
|
<input type="url" class="nonempty value" name="value" value="{value}" placeholder="http://www.example.com/" required />
|
2012-09-17 16:15:31 +02:00
|
|
|
<span class="listactions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a role="button" class="icon-public action globe tooltipped leftwards" title="<?php p($l->t('Go to web site')); ?>">
|
|
|
|
<a role="button" class="icon-delete action delete tooltipped leftwards"></a>
|
2012-10-15 21:33:21 +02:00
|
|
|
</span>
|
2012-09-17 16:15:31 +02:00
|
|
|
</li>
|
|
|
|
</div>
|
2013-04-03 16:52:56 +02:00
|
|
|
<div class="adr" type="text/template">
|
2013-02-28 16:53:43 +01:00
|
|
|
<li data-element="adr" data-checksum="{checksum}" data-lang="<?php p(OCP\Config::getUserValue(OCP\USER::getUser(), 'core', 'lang', 'en')); ?>" class="propertycontainer">
|
2013-12-12 16:45:48 +01:00
|
|
|
<span class="parameters">
|
|
|
|
<input type="checkbox" id="adr_pref_{idx}" class="parameter tooltipped downwards" data-parameter="TYPE" name="parameters[TYPE][]" value="PREF" title="<?php p($l->t('Preferred')); ?>" />
|
|
|
|
<select class="type parameter" data-parameter="TYPE" name="parameters[TYPE][]">
|
2014-03-18 00:58:01 +01:00
|
|
|
<?php print_unescaped(OCP\html_select_options($_['adrTypes'], array())) ?>
|
2013-12-12 16:45:48 +01:00
|
|
|
</select>
|
|
|
|
</span>
|
2012-11-22 08:17:57 +01:00
|
|
|
<span class="float display">
|
|
|
|
<span class="adr">{value}</span>
|
|
|
|
</span>
|
2012-09-17 16:15:31 +02:00
|
|
|
<span class="listactions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a class="icon-public action globe tooltipped leftwards" title="<?php p($l->t('View on map')); ?>"></a>
|
|
|
|
<a class="icon-delete action delete tooltipped leftwards"></a>
|
2012-10-15 21:33:21 +02:00
|
|
|
</span>
|
2012-12-10 20:58:34 +01:00
|
|
|
<fieldset class="adr hidden editor">
|
2012-11-22 00:22:12 +01:00
|
|
|
<ul>
|
2013-12-12 16:45:48 +01:00
|
|
|
<li><!-- Note to translators: The placeholders for address properties should be a well known address
|
|
|
|
so users can see where the data belongs according to https://tools.ietf.org/html/rfc2426#section-3.2.1 -->
|
|
|
|
<input class="value stradr tooltipped rightwards onfocus" type="text" id="adr_2" name="value[2]" value="{adr2}"
|
|
|
|
placeholder="<?php p($l->t('Street address')); ?>" />
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input class="value zip tooltipped rightwards onfocus" type="text" id="adr_5" name="value[5]" value="{adr5}"
|
|
|
|
placeholder="<?php p($l->t('Postal code')); ?>" />
|
|
|
|
<input class="value city tooltipped rightwards onfocus" type="text" id="adr_3" name="value[3]" value="{adr3}"
|
|
|
|
placeholder="<?php p($l->t('City')); ?>" />
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input class="value region tooltipped rightwards onfocus" type="text" id="adr_4" name="value[4]" value="{adr4}"
|
|
|
|
placeholder="<?php p($l->t('State or province')); ?>" />
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input class="value country tooltipped rightwards onfocus" type="text" id="adr_6" name="value[6]" value="{adr6}"
|
|
|
|
placeholder="<?php p($l->t('Country')); ?>" />
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<input class="value pobox" type="hidden" id="adr_0" name="value[0]" value="{adr0}" />
|
|
|
|
<input class="value extadr" type="hidden" id="adr_1" name="value[1]" value="{adr1}" />
|
2012-11-22 00:22:12 +01:00
|
|
|
</fieldset>
|
2012-09-17 16:15:31 +02:00
|
|
|
</li>
|
|
|
|
</div>
|
2013-12-12 16:45:48 +01:00
|
|
|
<!--
|
|
|
|
<li data-element="adr" data-checksum="{checksum}" data-lang="<?php p(OCP\Config::getUserValue(OCP\USER::getUser(), 'core', 'lang', 'en')); ?>" class="propertycontainer">
|
2012-12-10 20:58:34 +01:00
|
|
|
<span class="parameters">
|
2013-12-12 16:45:48 +01:00
|
|
|
<input type="checkbox" id="adr_pref_{idx}" class="parameter tooltipped downwards" data-parameter="TYPE" name="parameters[TYPE][]" value="PREF" title="<?php p($l->t('Preferred')); ?>" />
|
2012-12-10 20:58:34 +01:00
|
|
|
<select class="type parameter" data-parameter="TYPE" name="parameters[TYPE][]">
|
2014-03-18 00:58:01 +01:00
|
|
|
<?php print_unescaped(OCP\html_select_options($_['imppTypes'], array())) ?>
|
2012-12-10 20:58:34 +01:00
|
|
|
</select>
|
2012-12-11 23:40:53 +01:00
|
|
|
</span>
|
2013-12-12 16:45:48 +01:00
|
|
|
-->
|
|
|
|
|
|
|
|
<div class="impp" type="text/template">
|
|
|
|
<li data-element="impp" data-checksum="{checksum}" class="propertycontainer">
|
|
|
|
<span class="parameters">
|
|
|
|
<input type="checkbox" id="impp_pref_{idx}" class="parameter tooltipped downwards" data-parameter="TYPE" name="parameters[TYPE][]" value="PREF" title="<?php p($l->t('Preferred')); ?>" />
|
|
|
|
<select class="rtl type parameter" data-parameter="X-SERVICE-TYPE" name="parameters[X-SERVICE-TYPE]">
|
2014-03-18 00:58:01 +01:00
|
|
|
<?php print_unescaped(OCP\html_select_options($_['imProtocols'], array())) ?>
|
2012-12-10 20:58:34 +01:00
|
|
|
</select>
|
2013-12-12 16:45:48 +01:00
|
|
|
</span>
|
2012-10-23 06:54:19 +02:00
|
|
|
<input type="text" class="nonempty value" name="value" value="{value}"
|
2013-02-28 17:21:45 +01:00
|
|
|
placeholder="<?php p($l->t('Instant Messenger')); ?>" required />
|
2012-10-15 21:33:21 +02:00
|
|
|
<span class="listactions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a role="button" class="icon-delete action delete tooltipped leftwards"></a>
|
2012-10-15 21:33:21 +02:00
|
|
|
</span>
|
2012-09-17 16:15:31 +02:00
|
|
|
</li>
|
|
|
|
</div>
|
2013-12-12 16:45:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-17 16:15:31 +02:00
|
|
|
</script>
|
2012-12-07 14:57:11 +01:00
|
|
|
|
2013-05-24 17:43:01 +02:00
|
|
|
<script id="addressBookTemplate" class="hidden" type="text/template">
|
2013-05-02 20:41:26 +02:00
|
|
|
<li data-id="{id}" data-backend="{backend}" data-permissions="{permissions}">
|
2013-09-06 18:14:52 +02:00
|
|
|
<input type="checkbox" name="active" checked="checked" title="<?php p($l->t('Active')); ?>" />
|
2013-05-01 01:47:45 +02:00
|
|
|
<label>{displayname}</label>
|
2012-12-07 14:57:11 +01:00
|
|
|
<span class="actions">
|
2014-02-27 18:21:34 +01:00
|
|
|
<a title="<?php p($l->t('Share')); ?>" class="icon-share share action" data-possible-permissions="{permissions}" data-item="{id}" data-item-type="addressbook"></a>
|
|
|
|
<a title="<?php p($l->t('Export')); ?>" class="icon-download download action"></a>
|
2014-04-15 14:06:44 +02:00
|
|
|
<a title="<?php p($l->t('CardDAV link')); ?>" class="icon-public carddav action"></a>
|
2014-02-27 18:21:34 +01:00
|
|
|
<a title="<?php p($l->t('Edit')); ?>" class="icon-rename edit action"></a>
|
|
|
|
<a title="<?php p($l->t('Delete')); ?>" class="icon-delete delete action"></a>
|
2013-05-01 01:47:45 +02:00
|
|
|
</span>
|
|
|
|
</li>
|
2012-12-07 14:57:11 +01:00
|
|
|
</script>
|
2014-05-05 21:18:48 +02:00
|
|
|
|
|
|
|
<script id="contactsImportTemplate" class="hidden" type="text/template">
|
|
|
|
<div id="contacts-import-div" class="contacts-import-class">
|
2014-05-08 04:46:22 +02:00
|
|
|
<p id="contacts-import-into-p">
|
2014-09-16 19:27:41 +02:00
|
|
|
<label for="contacts-import-into"><?php p($l->t('Address book')); ?></label>
|
2014-05-08 04:46:22 +02:00
|
|
|
<select id="contacts-import-into">
|
|
|
|
<option value="-1"><?php p($l->t('Import into...')); ?></option>
|
|
|
|
</select>
|
|
|
|
</p>
|
|
|
|
<p id="contacts-import-format-p">
|
|
|
|
<label for="contacts-import-into"><?php p($l->t('Format')); ?></label>
|
|
|
|
<select id="contacts-import-format">
|
|
|
|
<option value="automatic"><?php p($l->t('Automatic format')); ?></option>
|
|
|
|
<?php
|
|
|
|
$importManager = new ImportManager();
|
|
|
|
$types = $importManager->getTypes();
|
|
|
|
foreach ($types as $id => $label) {
|
|
|
|
echo "<option value=\"$id\">$label</option>";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</p>
|
2014-08-28 16:49:53 +02:00
|
|
|
<p id="contacts-import-upload" class="hidden">
|
2014-05-08 04:46:22 +02:00
|
|
|
<input id="contacts-import-upload-start" class="tooltipped" title="<?php p($l->t('Select file...')); ?>" type="file" name="file" disabled />
|
|
|
|
</p>
|
|
|
|
<p id="contacts-import-status">
|
|
|
|
<div class="import-status">
|
|
|
|
<label id="import-status-text"></label>
|
|
|
|
<div id="import-status-progress"></div>
|
|
|
|
</div>
|
2014-05-05 21:18:48 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</script>
|
2014-05-10 18:09:23 +02:00
|
|
|
|
2014-05-09 20:30:14 +02:00
|
|
|
<script id="addressBookConfigTemplate" class="hidden" type="text/template">
|
|
|
|
<div id="addressbooks-ui-div" class="addressbooks-ui-class">
|
|
|
|
<input type="hidden" id="addressbooks-ui-addressbookid" />
|
|
|
|
<input type="hidden" id="addressbooks-ui-backend" value="{backend}" />
|
|
|
|
<p id="addressbooks-ui-name-p">
|
|
|
|
<label for="addressbooks-ui-name">
|
|
|
|
<?php p($l->t('Name')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="text" class="nonempty value" id="addressbooks-ui-name" value=""
|
|
|
|
placeholder="<?php p($l->t('Name')); ?>" required />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-uri-p">
|
|
|
|
<label for="addressbooks-ui-uri">
|
|
|
|
<?php p($l->t('Addressbook URI')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="text" class="nonempty value" id="addressbooks-ui-uri" value=""
|
|
|
|
placeholder="<?php p($l->t('URI')); ?>" required />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-description-p">
|
|
|
|
<label for="addressbooks-ui-description">
|
|
|
|
<?php p($l->t('Description')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="text" class="nonempty value" id="addressbooks-ui-description" value=""
|
|
|
|
placeholder="<?php p($l->t('Description')); ?>" />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapurl-p">
|
|
|
|
<label for="addressbooks-ui-ldapurl">
|
|
|
|
<?php p($l->t('LDAP URL')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="text" class="nonempty value" id="addressbooks-ui-ldapurl" value=""
|
|
|
|
placeholder="<?php p($l->t('LDAP URL')); ?>" required />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapanonymous-p">
|
|
|
|
<label for="addressbooks-ui-ldapanonymous">
|
|
|
|
<?php p($l->t('Anonymous')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="checkbox" id="addressbooks-ui-ldapanonymous" title="<?php p($l->t('Anonymous')); ?>" />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapreadonly-p">
|
|
|
|
<label for="addressbooks-ui-ldapreadonly">
|
|
|
|
<?php p($l->t('Read-only')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="checkbox" id="addressbooks-ui-ldapreadonly" title="<?php p($l->t('Read-Only')); ?>" />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapuser-p">
|
|
|
|
<label for="addressbooks-ui-ldapuser">
|
|
|
|
<?php p($l->t('User')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="text" class="nonempty value" id="addressbooks-ui-ldapuser" value=""
|
|
|
|
placeholder="<?php p($l->t('User')); ?>" required />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldappass-p">
|
|
|
|
<input type="hidden" id="addressbooks-ui-ldappass-modified" />
|
|
|
|
<label for="addressbooks-ui-ldappass">
|
|
|
|
<?php p($l->t('Password')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="password" class="nonempty value" id="addressbooks-ui-ldappass" value=""
|
|
|
|
placeholder="<?php p($l->t('Password')); ?>" required />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldappagesize-p">
|
|
|
|
<label for="addressbooks-ui-ldappagesize">
|
|
|
|
<?php p($l->t('Page size')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="text" class="nonempty value" id="addressbooks-ui-ldappagesize" value="20"
|
|
|
|
placeholder="<?php p($l->t('Page size')); ?>" required />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapbasednsearch-p">
|
|
|
|
<label for="addressbooks-ui-ldapbasednsearch">
|
|
|
|
<?php p($l->t('Base DN for search')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="text" class="nonempty value" id="addressbooks-ui-ldapbasednsearch" value=""
|
|
|
|
placeholder="<?php p($l->t('Base DN')); ?>" required />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapfilter-p">
|
|
|
|
<label for="addressbooks-ui-ldapfilter">
|
|
|
|
<?php p($l->t('Search filter')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="text" class="nonempty value" id="addressbooks-ui-ldapfilter" value=""
|
|
|
|
placeholder="<?php p($l->t('Filter')); ?>" required />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapbasednmodify-p">
|
|
|
|
<label for="addressbooks-ui-ldapbasednmodify">
|
|
|
|
<?php p($l->t('Base DN for modification')); ?>:
|
|
|
|
</label>
|
|
|
|
<input type="text" class="nonempty value" id="addressbooks-ui-ldapbasednmodify" value=""
|
|
|
|
placeholder="<?php p($l->t('Base DN modification')); ?>" required />
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapvcardconnector-p">
|
|
|
|
<label for="addressbooks-ui-ldapvcardconnector">
|
|
|
|
<?php p($l->t('Connector')); ?>:
|
|
|
|
</label>
|
|
|
|
<select id="addressbooks-ui-ldapvcardconnector">
|
|
|
|
</select>
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapvcardconnector-value-p">
|
|
|
|
<label for="addressbooks-ui-ldapvcardconnector-value">
|
|
|
|
<?php p($l->t('Connector value (Better use external editor and copy/paste)')); ?>:
|
|
|
|
</label>
|
|
|
|
<textarea id="addressbooks-ui-ldapvcardconnector-value"></textarea>
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-ldapvcardconnector-copyfrom-p">
|
|
|
|
<label for="addressbooks-ui-ldapvcardconnector-copyfrom">
|
|
|
|
<?php p($l->t('Copy from (Warning, replaces current custom value)')); ?>:
|
|
|
|
</label>
|
|
|
|
<select id="addressbooks-ui-ldapvcardconnector-copyfrom">
|
|
|
|
</select>
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-errortitle-p">
|
|
|
|
</p>
|
|
|
|
<p id="addressbooks-ui-errormessage-p">
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</script>
|