|
|
|
@ -24,7 +24,16 @@ |
|
|
|
|
<p class="contacts_property_data"> |
|
|
|
|
<?php echo $_['property']['value']; ?> |
|
|
|
|
<?php if(isset($_['property']['parameters']['TYPE'])): ?> |
|
|
|
|
(<?php echo $l->t(ucwords(str_replace('cell','mobile',strtolower($_['property']['parameters']['TYPE'])))); ?>)
|
|
|
|
|
<?php |
|
|
|
|
$type = $_['property']['parameters']['TYPE']; |
|
|
|
|
if (isset($_['phone_types'][strtoupper($type)])){ |
|
|
|
|
$label=$_['phone_types'][strtoupper($type)]; |
|
|
|
|
} |
|
|
|
|
else{ |
|
|
|
|
$label=$l->t(ucwords(strtolower($type))); |
|
|
|
|
} |
|
|
|
|
?> |
|
|
|
|
(<?php echo $label; ?>)
|
|
|
|
|
<?php endif; ?> |
|
|
|
|
<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>
|
|
|
|
@ -34,7 +43,16 @@ |
|
|
|
|
<?php echo $l->t('Address'); ?> |
|
|
|
|
<?php if(isset($_['property']['parameters']['TYPE'])): ?> |
|
|
|
|
<br> |
|
|
|
|
(<?php echo $l->t(ucwords($_['property']['parameters']['TYPE'])); ?>)
|
|
|
|
|
<?php |
|
|
|
|
$type = $_['property']['parameters']['TYPE']; |
|
|
|
|
if (isset($_['adr_types'][strtoupper($type)])){ |
|
|
|
|
$label=$_['adr_types'][strtoupper($type)]; |
|
|
|
|
} |
|
|
|
|
else{ |
|
|
|
|
$label=$l->t(ucwords(strtolower($type))); |
|
|
|
|
} |
|
|
|
|
?> |
|
|
|
|
(<?php echo $label; ?>)
|
|
|
|
|
<?php endif; ?> |
|
|
|
|
</p> |
|
|
|
|
<p class="contacts_property_data"> |
|
|
|
|