/[drupal]/contributions/modules/civinode/theme/crm_contact.tpl.php
ViewVC logotype

Contents of /contributions/modules/civinode/theme/crm_contact.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Thu Jun 21 04:41:00 2007 UTC (2 years, 5 months ago) by torenware
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5
Changes since 1.1: +1 -1 lines
File MIME type: text/x-php
Checking Comm Init changes into head
1 <!-- simple contact formatter -->
2 <div class="crm-contact crm-contact-<?php print $pid ?>">
3 <?php $even = true ?>
4 <table>
5 <?php foreach ($field_info as $key => $this_field) :
6 if (!empty($contact[$key])) : ?>
7 <tr class="<?php print($even ? "even" : "odd"); $even = !$even ?>">
8 <th>
9 <?php print($this_field['title']) ?>
10 </th>
11 <td>
12 <?php print($contact[$key]) ?>
13 </td>
14 </tr>
15 <?php endif;
16 endforeach;?>
17 </table>
18 </div>
19

  ViewVC Help
Powered by ViewVC 1.1.2