- md5
- 1af74e80292217c0d6d2e76e08a290f3
- sha1
- bccf1413081dbe0c9624ecb959b6dc6ddc82df9c
- sha256
- 45190c94835a443c4d78eba3354f4d42064464f250f7816b2548241b063234a7
<?php // @version $Id: default.php 10947 2008-09-23 01:14:10Z ian $
defined('_JEXEC') or die('Restricted access');
$cparams = JComponentHelper::getParams ('com_media');
?>
<?php if ($this->params->get('show_page_title',1)) : ?>
<h1 class="componentheading<?php echo $this->params->get('pageclass_sfx'); ?>">
<?php echo $this->escape($this->params->get('page_title')); ?>
</h1>
<?php endif; ?>
<?php if ($this->params->def('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
<div class="contentdescription<?php echo $this->params->get('pageclass_sfx'); ?>">
<?php if ($this->params->get('show_description_image') && $this->section->image) : ?>
<img src="<?php echo $this->baseurl . '/' . $cparams->get('image_path').'/'.$this->section->image; ?>" class="image_<?php echo $this->section->image_position; ?>" />
<?php endif; ?>
<?php if ($this->params->get('show_description') && $this->section->description) :
echo $this->section->description;
endif; ?>
<?php if ($this->params->get('show_description_image') && $this->section->image) : ?>
<div class="wrap_image"> </div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ($this->params->def('show_categories', 1) && count($this->categories)) : ?>
<ul>
<?php foreach ($this->categories as $category) :
if (!$this->params->get('show_empty_categories') && !$category->numitems) :
continue;
endif; ?>
<li>
<a href="<?php echo $category->link; ?>" class="category"><?php echo $category->title; ?></a>
<?php if ($this->params->get('show_cat_num_articles')) : ?>
<span class="small">
( <?php if ($category->numitems==1) {
echo $category->numitems ." ". JText::_( 'item' ); }
else {
echo $category->numitems ." ". JText::_( 'items' );} ?> )
</span>
<?php endif; ?>
<?php if ($this->params->def('show_category_description', 1) && $category->description) : ?>
<br />
<?php echo $category->description; ?>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
<?php endif;
The same content is in 3 releases, Joomla 1.5.8 to 1.5.10. See them all, or every version of this file.