Welcome to mirror list, hosted at ThFree Co, Russian Federation.

part.addcardform.php « templates « contacts « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e87c64507dce6f913e84be3af7b535d70a68ab24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<form id="contacts_addcardform">
	<?php if(count($_['addressbooks'])==1): ?>
		<input type="hidden" name="id" value="<?php echo $_['addressbooks'][0]['id']; ?>">
	<?php else: ?>
		<label for="id"><?php echo $l->t('Group'); ?></label>
		<select name="id" size="1">
			<?php foreach($_['addressbooks'] as $addressbook): ?>
				<option value="<?php echo $addressbook['id']; ?>"><?php echo $addressbook['displayname']; ?></option>
			<?php endforeach; ?>
		</select>
	<?php endif; ?>
	<label for="fn"><?php echo $l->t('Name'); ?></label>
	<input type="text" name="fn" value=""><br>
	<input type="submit" name="submit" value="<?php echo $l->t('Create Contact'); ?>">
</form>