[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/components/com_contact/views/contact/tmpl/ -> default_address.php (source)

   1  <?php
   2  /** $Id: default_address.php 12387 2009-06-30 01:17:44Z ian $ */
   3  defined( '_JEXEC' ) or die( 'Restricted access' );
   4  ?>
   5  <?php if ( ( $this->contact->params->get( 'address_check' ) > 0 ) &&  ( $this->contact->address || $this->contact->suburb  || $this->contact->state || $this->contact->country || $this->contact->postcode ) ) : ?>
   6  <table width="100%" cellpadding="0" cellspacing="0" border="0">
   7  <?php if ( $this->contact->params->get( 'address_check' ) > 0 ) : ?>
   8  <tr>
   9      <td rowspan="6" valign="top" width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
  10          <?php echo $this->contact->params->get( 'marker_address' ); ?>
  11      </td>
  12  </tr>
  13  <?php endif; ?>
  14  <?php if ( $this->contact->address && $this->contact->params->get( 'show_street_address' ) ) : ?>
  15  <tr>
  16      <td valign="top">
  17          <?php echo nl2br($this->escape($this->contact->address)); ?>
  18      </td>
  19  </tr>
  20  <?php endif; ?>
  21  <?php if ( $this->contact->suburb && $this->contact->params->get( 'show_suburb' ) ) : ?>
  22  <tr>
  23      <td valign="top">
  24          <?php echo $this->escape($this->contact->suburb); ?>
  25      </td>
  26  </tr>
  27  <?php endif; ?>
  28  <?php if ( $this->contact->state && $this->contact->params->get( 'show_state' ) ) : ?>
  29  <tr>
  30      <td valign="top">
  31          <?php echo $this->escape($this->contact->state); ?>
  32      </td>
  33  </tr>
  34  <?php endif; ?>
  35  <?php if ( $this->contact->postcode && $this->contact->params->get( 'show_postcode' ) ) : ?>
  36  <tr>
  37      <td valign="top">
  38          <?php echo $this->escape($this->contact->postcode); ?>
  39      </td>
  40  </tr>
  41  <?php endif; ?>
  42  <?php if ( $this->contact->country && $this->contact->params->get( 'show_country' ) ) : ?>
  43  <tr>
  44      <td valign="top">
  45          <?php echo $this->escape($this->contact->country); ?>
  46      </td>
  47  </tr>
  48  <?php endif; ?>
  49  </table>
  50  <br />
  51  <?php endif; ?>
  52  <?php if ( ($this->contact->email_to && $this->contact->params->get( 'show_email' )) || 
  53              ($this->contact->telephone && $this->contact->params->get( 'show_telephone' )) || 
  54              ($this->contact->fax && $this->contact->params->get( 'show_fax' )) || 
  55              ($this->contact->mobile && $this->contact->params->get( 'show_mobile' )) || 
  56              ($this->contact->webpage && $this->contact->params->get( 'show_webpage' )) ) : ?>
  57  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  58  <?php if ( $this->contact->email_to && $this->contact->params->get( 'show_email' ) ) : ?>
  59  <tr>
  60      <td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
  61          <?php echo $this->contact->params->get( 'marker_email' ); ?>
  62      </td>
  63      <td>
  64          <?php echo $this->contact->email_to; ?>
  65      </td>
  66  </tr>
  67  <?php endif; ?>
  68  <?php if ( $this->contact->telephone && $this->contact->params->get( 'show_telephone' ) ) : ?>
  69  <tr>
  70      <td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
  71          <?php echo $this->contact->params->get( 'marker_telephone' ); ?>
  72      </td>
  73      <td>
  74          <?php echo nl2br($this->escape($this->contact->telephone)); ?>
  75      </td>
  76  </tr>
  77  <?php endif; ?>
  78  <?php if ( $this->contact->fax && $this->contact->params->get( 'show_fax' ) ) : ?>
  79  <tr>
  80      <td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
  81          <?php echo $this->contact->params->get( 'marker_fax' ); ?>
  82      </td>
  83      <td>
  84          <?php echo nl2br($this->escape($this->contact->fax)); ?>
  85      </td>
  86  </tr>
  87  <?php endif; ?>
  88  <?php if ( $this->contact->mobile && $this->contact->params->get( 'show_mobile' ) ) :?>
  89  <tr>
  90      <td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
  91      <?php echo $this->contact->params->get( 'marker_mobile' ); ?>
  92      </td>
  93      <td>
  94          <?php echo nl2br($this->escape($this->contact->mobile)); ?>
  95      </td>
  96  </tr>
  97  <?php endif; ?>
  98  <?php if ( $this->contact->webpage && $this->contact->params->get( 'show_webpage' )) : ?>
  99  <tr>
 100      <td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
 101      </td>
 102      <td>
 103          <a href="<?php echo $this->escape($this->contact->webpage); ?>" target="_blank">
 104              <?php echo $this->escape($this->contact->webpage); ?></a>
 105      </td>
 106  </tr>
 107  <?php endif; ?>
 108  </table>
 109  <?php endif; ?>
 110  <br />
 111  <?php if ( $this->contact->misc && $this->contact->params->get( 'show_misc' ) ) : ?>
 112  <table width="100%" cellpadding="0" cellspacing="0" border="0">
 113  <tr>
 114      <td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" valign="top" >
 115          <?php echo $this->contact->params->get( 'marker_misc' ); ?>
 116      </td>
 117      <td>
 118          <?php echo nl2br($this->contact->misc); ?>
 119      </td>
 120  </tr>
 121  </table>
 122  <br />
 123  <?php endif; ?>


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1