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="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">
|
2011-08-09 19:42:54 +04:00
|
|
|
<option value="adr_work"><?php echo $l->t('Work'); ?></option>
|
|
|
|
<option value="adr_home" selected="selected"><?php echo $l->t('Home'); ?></option>
|
2011-08-09 15:53:58 +04:00
|
|
|
</select>
|
2011-09-23 15:00:47 +04:00
|
|
|
<p><label><?php echo $l->t('PO Box'); ?></label> <input type="text" name="value[0]" value=""></p>
|
|
|
|
<p><label><?php echo $l->t('Extended'); ?></label> <input type="text" name="value[1]" value=""></p>
|
|
|
|
<p><label><?php echo $l->t('Street'); ?></label> <input type="text" name="value[2]" value=""></p>
|
|
|
|
<p><label><?php echo $l->t('City'); ?></label> <input type="text" name="value[3]" value=""></p>
|
|
|
|
<p><label><?php echo $l->t('Region'); ?></label> <input type="text" name="value[4]" value=""></p>
|
|
|
|
<p><label><?php echo $l->t('Zipcode'); ?></label> <input type="text" name="value[5]" value=""></p>
|
|
|
|
<p><label><?php echo $l->t('Country'); ?></label> <input type="text" name="value[6]" value=""></p>
|
2011-08-09 15:53:58 +04:00
|
|
|
</div>
|
|
|
|
<div id="contacts_phonepart">
|
|
|
|
<select name="parameters[TYPE]" size="1">
|
2011-09-23 22:13:15 +04:00
|
|
|
<option value="home"><?php echo $l->t('Home'); ?></option>
|
|
|
|
<option value="cell" selected="selected"><?php echo $l->t('Mobile'); ?></option>
|
|
|
|
<option value="work"><?php echo $l->t('Work'); ?></option>
|
|
|
|
<option value="text"><?php echo $l->t('Text'); ?></option>
|
|
|
|
<option value="voice"><?php echo $l->t('Voice'); ?></option>
|
|
|
|
<option value="fax"><?php echo $l->t('Fax'); ?></option>
|
|
|
|
<option value="video"><?php echo $l->t('Video'); ?></option>
|
|
|
|
<option value="pager"><?php echo $l->t('Pager'); ?></option>
|
2011-08-09 15:53:58 +04:00
|
|
|
</select>
|
|
|
|
<input type="text" name="value" value="">
|
|
|
|
</div>
|
|
|
|
<div id="contacts_generic">
|
|
|
|
<input type="text" name="value" value="">
|
|
|
|
</div>
|
|
|
|
</div>
|