- md5
- fb41dd9209cb5b4ca3fb166f2aa9413e
- sha1
- d8e4e5b9398bf2f1e958c9c55554fad51866cfeb
- sha256
- 29014049e236e1546bd840e8769ec4f9df25befbf07184d270fa18693859864b
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
<?php
/**
* @package Joomla.Site
* @subpackage Templates.beez5
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$cparams = JComponentHelper::getParams ('com_media');
?>
<div class="contact<?php echo $this->pageclass_sfx?>">
<?php $contactLink = ContactHelperRoute::getCategoryRoute($this->contact->catid);?>
<h3>
<span class="contact-category"><a href="<?php echo $contactLink; ?>">
<?php echo $this->escape($this->contact->category_title); ?></a>
</span>
</h3>
<?php if ($this->contact->name && $this->params->get('show_name')) : ?>
<h2>
<span class="contact-name"><?php echo $this->contact->name; ?></span>
</h2>
<?php endif; ?>
<div class="encyclopedia_col1">
<?php if ($this->contact->image ) : ?>
<div class="contact-image">
<?php // We are going to use the contact address field for the main image caption.
// If we have a caption load the caption behavior. ?>
<?php if ($this->contact->address) {
JHtml::_('behavior.caption');
}?>
<?php echo JHtml::_('image', $this->contact->image, JText::_('COM_CONTACT_IMAGE_DETAILS'), array('align' => 'middle', 'class' =>'caption', 'title'=> $this->contact->address)); ?>
</div>
<?php endif; ?>
</div>
<div class="encyclopedia_col2">
<?php // We are going to use some of the standard content fields in non standard ways. ?>
<div class="contact-miscinfo">
<div class="contact-misc">
<?php echo $this->contact->misc; ?>
</div>
</div>
<?php //Let's use position for the scientific name. ?>
<?php if ($this->contact->con_position && $this->params->get('show_position')) : ?>
<p class="contact-position"><?php echo $this->contact->con_position; ?></p>
<?php endif; ?>
<?php //Let's use state to put the family name. ?>
<?php if ($this->contact->state && $this->params->get('show_state')) : ?>
<p class="contact-state"><?php echo $this->contact->state; ?></p>
<?php endif; ?>
<?php // Let's use contry to list the main countries it grows in. '?>
<?php if ($this->contact->country && $this->params->get('show_country')) : ?>
<p class="contact-country"><?php echo $this->contact->country; ?></p>
<?php endif; ?>
</div>
<div class="clr"> </div>
<?php if ($this->params->get('presentation_style')!='plain'):?>
<?php echo JHtml::_($this->params->get('presentation_style').'.start', 'contact-slider'); ?>
<?php endif ?>
<div class="encyclopedia_links">
<?php echo $this->loadTemplate('links'); ?>
</div>
<?php if ($this->params->get('presentation_style')!='plain'):?>
<?php echo JHtml::_($this->params->get('presentation_style').'.end'); ?>
<?php endif; ?>
</div>
The same content is in 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.