nextcloud/apps/contacts/templates/part.addpropertyform.php

44 lines
1.9 KiB
PHP
Raw Normal View History

2011-08-09 15:53:58 +04:00
<form id="contacts_addpropertyform">
<input type="hidden" name="id" value="<?php echo $_['id']; ?>">
<select name="name" size="1">
<option value="BDAY"><?php echo $l->t('Birthday'); ?></option>
<option value="ADR"><?php echo $l->t('Address'); ?></option>
<option value="TEL"><?php echo $l->t('Telephone'); ?></option>
<option value="EMAIL" selected="selected"><?php echo $l->t('Email'); ?></option>
<option value="ORG"><?php echo $l->t('Organization'); ?></option>
</select>
<div id="contacts_generic">
<input type="text" name="value" value="">
</div>
<input type="submit">
</form>
<div id="contacts_addcontactsparts" style="display:none;">
<div id="contacts_addresspart">
<select name="parameters[TYPE]" size="1">
<option value="WORK"><?php echo $l->t('Work'); ?></option>
<option value="HOME" selected="selected"><?php echo $l->t('Home'); ?></option>
</select>
<?php echo $l->t('PO Box'); ?> <input type="text" name="value[0]" value="">
<?php echo $l->t('Extended Address'); ?> <input type="text" name="value[1]" value="">
<?php echo $l->t('Street Name'); ?> <input type="text" name="value[2]" value="">
<?php echo $l->t('City'); ?> <input type="text" name="value[3]" value="">
<?php echo $l->t('Region'); ?> <input type="text" name="value[4]" value="">
<?php echo $l->t('Postal Code'); ?> <input type="text" name="value[5]" value="">
<?php echo $l->t('Country'); ?> <input type="text" name="value[6]" value="">
</div>
<div id="contacts_phonepart">
<select name="parameters[TYPE]" size="1">
<option value="WORK"><?php echo $l->t('Work'); ?></option>
<option value="CELL" selected="selected"><?php echo $l->t('Mobile'); ?></option>
<option value="HOME"><?php echo $l->t('Home'); ?></option>
</select>
<input type="text" name="value" value="">
</div>
<div id="contacts_fieldpart">
<textarea type="text" name="value"></textarea>
</div>
<div id="contacts_generic">
<input type="text" name="value" value="">
</div>
</div>