diff options
Diffstat (limited to 'apps/contacts/templates/part.details.php')
-rw-r--r-- | apps/contacts/templates/part.details.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/contacts/templates/part.details.php b/apps/contacts/templates/part.details.php new file mode 100644 index 00000000000..4aca8dbc790 --- /dev/null +++ b/apps/contacts/templates/part.details.php @@ -0,0 +1,22 @@ +<?php if(array_key_exists('PHOTO',$_['details'])): ?> + <img src="photo.php?id=<?php echo $_['id']; ?>"> +<?php endif; ?> +<?php echo $this->inc('part.property', array('property' => $_['details']['FN'][0])); ?> +<?php if(isset($_['details']['BDAY'])): // Emails first ?> + <?php echo $this->inc('part.property', array('property' => $_['details']['BDAY'][0])); ?> +<?php endif; ?> +<?php if(isset($_['details']['ORG'])): // Emails first ?> + <?php echo $this->inc('part.property', array('property' => $_['details']['ORG'][0])); ?> +<?php endif; ?> + +<?php foreach(array('EMAIL','TEL','ADR') as $type): ?> + <?php if(isset($_['details'][$type])): // Emails first ?> + <br> + <?php foreach($_['details'][$type] as $property): ?> + <?php echo $this->inc('part.property',array('property' => $property )); ?> + <?php endforeach; ?> + <?php endif; ?> +<?php endforeach; ?> + +<a id="contacts_deletecard"><img src="../../core/img/actions/delete.png"></a> +<a id="contacts_addproperty"><img src="../../core/img/actions/download.png"></a> |