2011-08-09 17:42:54 +02:00
|
|
|
<div class="contacts_property" data-checksum="<?php echo $_['property']['checksum']; ?>">
|
2011-08-09 13:53:58 +02:00
|
|
|
<?php if($_['property']['name'] == 'FN'): ?>
|
|
|
|
<div class="contacts_propertyname"><?php echo $l->t('Name'); ?></div>
|
|
|
|
<div class="contacts_propertyvalue">
|
|
|
|
<?php echo $_['property']['value']; ?>
|
2011-08-11 18:59:01 +02:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
2011-08-09 13:53:58 +02:00
|
|
|
</div>
|
|
|
|
<?php elseif($_['property']['name'] == 'BDAY'): ?>
|
|
|
|
<div class="contacts_propertyname"><?php echo $l->t('Birthday'); ?></div>
|
|
|
|
<div class="contacts_propertyvalue">
|
|
|
|
<?php echo $l->l('date',new DateTime($_['property']['value'])); ?>
|
2011-08-11 18:59:01 +02:00
|
|
|
<span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-09 13:53:58 +02:00
|
|
|
</div>
|
|
|
|
<?php elseif($_['property']['name'] == 'ORG'): ?>
|
|
|
|
<div class="contacts_propertyname"><?php echo $l->t('Organisation'); ?></div>
|
|
|
|
<div class="contacts_propertyvalue">
|
|
|
|
<?php echo $_['property']['value']; ?>
|
2011-08-11 18:59:01 +02:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
|
|
|
<span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-09 13:53:58 +02:00
|
|
|
</div>
|
|
|
|
<?php elseif($_['property']['name'] == 'EMAIL'): ?>
|
|
|
|
<div class="contacts_propertyname"><?php echo $l->t('Email'); ?></div>
|
|
|
|
<div class="contacts_propertyvalue">
|
|
|
|
<?php echo $_['property']['value']; ?>
|
2011-08-11 18:59:01 +02:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
|
|
|
<span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-09 13:53:58 +02:00
|
|
|
</div>
|
|
|
|
<?php elseif($_['property']['name'] == 'TEL'): ?>
|
2011-08-09 17:42:54 +02:00
|
|
|
<div class="contacts_propertyname"><?php echo $l->t('Telephone'); ?></div>
|
2011-08-09 13:53:58 +02:00
|
|
|
<div class="contacts_propertyvalue">
|
|
|
|
<?php echo $_['property']['value']; ?>
|
2011-08-09 17:42:54 +02:00
|
|
|
<?php if(isset($_['property']['parameters']['TYPE'])): ?>
|
|
|
|
(<?php echo $l->t('tel_'.strtolower($_['property']['parameters']['TYPE'])); ?>)
|
|
|
|
<?php endif; ?>
|
2011-08-11 18:59:01 +02:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
|
|
|
<span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-09 13:53:58 +02:00
|
|
|
</div>
|
|
|
|
<?php elseif($_['property']['name'] == 'ADR'): ?>
|
2011-08-09 17:42:54 +02:00
|
|
|
<div class="contacts_propertyname">
|
|
|
|
<?php echo $l->t('Address'); ?>
|
|
|
|
<?php if(isset($_['property']['parameters']['TYPE'])): ?>
|
|
|
|
<br>
|
|
|
|
(<?php echo $l->t('adr_'.strtolower($_['property']['parameters']['TYPE'])); ?>)
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
2011-08-09 13:53:58 +02:00
|
|
|
<div class="contacts_propertyvalue">
|
|
|
|
<?php echo $l->t('PO Box'); ?> <?php echo $_['property']['value'][0]; ?><br>
|
|
|
|
<?php echo $l->t('Extended Address'); ?> <?php echo $_['property']['value'][1]; ?><br>
|
|
|
|
<?php echo $l->t('Street Name'); ?> <?php echo $_['property']['value'][2]; ?><br>
|
|
|
|
<?php echo $l->t('City'); ?> <?php echo $_['property']['value'][3]; ?><br>
|
|
|
|
<?php echo $l->t('Region'); ?> <?php echo $_['property']['value'][4]; ?><br>
|
|
|
|
<?php echo $l->t('Postal Code'); ?> <?php echo $_['property']['value'][5]; ?><br>
|
|
|
|
<?php echo $l->t('Country'); ?> <?php echo $_['property']['value'][6]; ?>
|
2011-08-11 18:59:01 +02:00
|
|
|
<span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
|
|
|
|
<span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
2011-08-09 13:53:58 +02:00
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|