2011-08-15 01:48:43 +04:00
|
|
|
<tr class="contacts_details_property" data-checksum="<?php echo $_['property']['checksum']; ?>">
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php if($_['property']['name'] == 'FN'): ?>
|
2011-08-15 01:48:43 +04:00
|
|
|
<td class="contacts_details_left"><?php echo $l->t('Name'); ?></td>
|
|
|
|
<td class="contacts_details_right">
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $_['property']['value']; ?>
|
2011-08-13 07:27:50 +04:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg action" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
2011-08-15 01:48:43 +04:00
|
|
|
</td>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php elseif($_['property']['name'] == 'BDAY'): ?>
|
2011-08-15 01:48:43 +04:00
|
|
|
<td class="contacts_details_left"><?php echo $l->t('Birthday'); ?></td>
|
|
|
|
<td class="contacts_details_right">
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $l->l('date',new DateTime($_['property']['value'])); ?>
|
2011-08-13 07:27:50 +04:00
|
|
|
<span style="display:none;" data-use="delete"><img class="svg action" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-15 01:48:43 +04:00
|
|
|
</td>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php elseif($_['property']['name'] == 'ORG'): ?>
|
2011-08-15 01:48:43 +04:00
|
|
|
<td class="contacts_details_left"><?php echo $l->t('Organisation'); ?></td>
|
|
|
|
<td class="contacts_details_right">
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $_['property']['value']; ?>
|
2011-08-13 07:27:50 +04:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg action" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
|
|
|
<span style="display:none;" data-use="delete"><img class="svg action" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-15 01:48:43 +04:00
|
|
|
</td>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php elseif($_['property']['name'] == 'EMAIL'): ?>
|
2011-08-15 01:48:43 +04:00
|
|
|
<td class="contacts_details_left"><?php echo $l->t('Email'); ?></td>
|
|
|
|
<td class="contacts_details_right">
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $_['property']['value']; ?>
|
2011-08-13 07:27:50 +04:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg action" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
|
|
|
<span style="display:none;" data-use="delete"><img class="svg action" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-15 01:48:43 +04:00
|
|
|
</td>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php elseif($_['property']['name'] == 'TEL'): ?>
|
2011-08-15 01:48:43 +04:00
|
|
|
<td class="contacts_details_left"><?php echo $l->t('Telephone'); ?></td>
|
|
|
|
<td class="contacts_details_right">
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $_['property']['value']; ?>
|
2011-08-09 19:42:54 +04:00
|
|
|
<?php if(isset($_['property']['parameters']['TYPE'])): ?>
|
|
|
|
(<?php echo $l->t('tel_'.strtolower($_['property']['parameters']['TYPE'])); ?>)
|
|
|
|
<?php endif; ?>
|
2011-08-13 07:27:50 +04:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg action" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
|
|
|
<span style="display:none;" data-use="delete"><img class="svg action" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-15 01:48:43 +04:00
|
|
|
</td>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php elseif($_['property']['name'] == 'ADR'): ?>
|
2011-08-15 01:48:43 +04:00
|
|
|
<td class="contacts_details_left">
|
2011-08-09 19:42:54 +04:00
|
|
|
<?php echo $l->t('Address'); ?>
|
|
|
|
<?php if(isset($_['property']['parameters']['TYPE'])): ?>
|
|
|
|
<br>
|
|
|
|
(<?php echo $l->t('adr_'.strtolower($_['property']['parameters']['TYPE'])); ?>)
|
|
|
|
<?php endif; ?>
|
2011-08-15 01:48:43 +04:00
|
|
|
</td>
|
|
|
|
<td class="contacts_details_right">
|
2011-09-09 17:54:29 +04:00
|
|
|
<?php if(!empty($_['property']['value'][0])): ?>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $l->t('PO Box'); ?> <?php echo $_['property']['value'][0]; ?><br>
|
2011-09-09 17:54:29 +04:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php if(!empty($_['property']['value'][1])): ?>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $l->t('Extended Address'); ?> <?php echo $_['property']['value'][1]; ?><br>
|
2011-09-09 17:54:29 +04:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php if(!empty($_['property']['value'][2])): ?>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $l->t('Street Name'); ?> <?php echo $_['property']['value'][2]; ?><br>
|
2011-09-09 17:54:29 +04:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php if(!empty($_['property']['value'][3])): ?>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $l->t('City'); ?> <?php echo $_['property']['value'][3]; ?><br>
|
2011-09-09 17:54:29 +04:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php if(!empty($_['property']['value'][4])): ?>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $l->t('Region'); ?> <?php echo $_['property']['value'][4]; ?><br>
|
2011-09-09 17:54:29 +04:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php if(!empty($_['property']['value'][5])): ?>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $l->t('Postal Code'); ?> <?php echo $_['property']['value'][5]; ?><br>
|
2011-09-09 17:54:29 +04:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php if(!empty($_['property']['value'][6])): ?>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php echo $l->t('Country'); ?> <?php echo $_['property']['value'][6]; ?>
|
2011-09-09 17:54:29 +04:00
|
|
|
<?php endif; ?>
|
2011-08-13 07:27:50 +04:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg action" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
|
|
|
<span style="display:none;" data-use="delete"><img class="svg action" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-15 01:48:43 +04:00
|
|
|
</td>
|
2011-08-09 15:53:58 +04:00
|
|
|
<?php endif; ?>
|
2011-08-15 01:48:43 +04:00
|
|
|
</tr>
|