CoreFiles by mySites.guru
default_address.php69 lines, 2,951 bytes, from Joomla_1.5.4-Stable-Full_Package.zip
Raw History Compare with 1.5.3
md5
f916affd5798cea71771e9ad31adae4a
sha1
eb9f921b20c09516ae95bfb9927192a81ff09177
sha256
ba72133483052d6dfa976183f72cee9bfcfc417541991edd93db9e1b5e0719ac
<?php // @version $Id: default_address.php 10381 2008-06-01 03:35:53Z pasamio $
defined('_JEXEC') or die('Restricted access');
?>

<?php if (($this->contact->params->get('address_check') > 0) && ($this->contact->address || $this->contact->suburb || $this->contact->state || $this->contact->country || $this->contact->postcode)) : ?>
<div class="contact_address">
	<address>

	<?php if ( $this->contact->params->get('address_check') > 0) : ?>
	<span class="marker"><?php echo $this->contact->params->get('marker_address'); ?></span>
	<?php endif; ?>

	<?php if ($this->contact->address && $this->contact->params->get('show_street_address')) : ?>
	<p><?php echo nl2br($this->contact->address); ?></p>
	<?php endif; ?>

	<?php if ($this->contact->suburb && $this->contact->params->get('show_suburb')) : ?>
	<p><?php echo $this->contact->suburb; ?></p>
	<?php endif; ?>

	<?php if ($this->contact->state && $this->contact->params->get('show_state')) : ?>
	<p><?php echo $this->contact->state; ?></p>
	<?php endif; ?>

	<?php if ($this->contact->country && $this->contact->params->get('show_country')) : ?>
	<p><?php echo $this->contact->country; ?></p>
	<?php endif; ?>

	<?php if ($this->contact->postcode && $this->contact->params->get('show_postcode')) : ?>
	<p><?php echo $this->contact->postcode; ?></p>
	<?php endif; ?>

	</address>
</div>
<?php endif; ?>

<?php if (($this->contact->email_to && $this->contact->params->get('show_email')) || $this->contact->telephone || $this->contact->fax ) : ?>

	<?php if ($this->contact->email_to && $this->contact->params->get('show_email')) : ?>
	<p><span class="marker"><?php echo $this->contact->params->get('marker_email'); ?></span>
	<?php echo $this->contact->email_to; ?></p>
	<?php endif; ?>

	<?php if ($this->contact->telephone && $this->contact->params->get('show_telephone')) : ?>
	<p><span class="marker"><?php echo $this->contact->params->get('marker_telephone'); ?></span>
	<?php echo nl2br($this->contact->telephone); ?></p>
	<?php endif; ?>

	<?php if ($this->contact->fax && $this->contact->params->get('show_fax')) : ?>
	<p><span class="marker"><?php echo $this->contact->params->get('marker_fax'); ?></span>
	<?php echo nl2br($this->contact->fax); ?></p>
	<?php endif; ?>

	<?php if ( $this->contact->mobile && $this->contact->params->get( 'show_mobile' ) ) :?>
	<p><span class="marker"><?php echo $this->contact->params->get( 'marker_mobile' ); ?></span>
	<?php echo nl2br($this->contact->mobile); ?></p>
	<?php endif; ?>

	<?php if ($this->contact->webpage && $this->contact->params->get('show_webpage')) : ?>
	<p><a href="<?php echo $this->contact->webpage; ?>" target="_blank">
	<?php echo $this->contact->webpage; ?></a></p>
	<?php endif; ?>

<?php endif; ?>

<?php if ($this->contact->misc && $this->contact->params->get('show_misc')) : ?>
<p><span class="marker"><?php echo $this->contact->params->get('marker_misc'); ?></span>
<?php echo $this->contact->misc; ?></p>
<?php endif; ?>

The same content is in 4 releases, Joomla 1.5.4 to 1.5.7. See them all, or every version of this file.