CoreFiles by mySites.guru
default.php33 lines, 1,388 bytes, from Joomla_1.5.4-Stable-Full_Package.zip
Raw History Compare with 1.5.3
md5
393d3eb22cecb0b22b1480b81e8d756e
sha1
e4e9aff737c11b2e78b0feb0c7d27bf53d378e12
sha256
a102f8e71acb895e2a68ce87b2c4a667256c52711b56d290aab5d61dd4926333
<?php // @version $Id: default.php 10498 2008-07-04 00:05:36Z 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->category->image) : ?>
	<img src="<?php echo $this->baseurl . $cparams->get('image_path').'/'.$this->category->image; ?>" class="image_<?php echo $this->category->image_position; ?>" />
	<?php endif; ?>

	<?php if ($this->params->get('show_description') && $this->category->description) :
		echo $this->category->description;
	endif; ?>

	<?php if ($this->params->get('show_description_image') && $this->category->image) : ?>
	<div class="wrap_image">&nbsp;</div>
	<?php endif; ?>
</div>
<?php endif; ?>

<?php $this->items =& $this->getItems();
echo $this->loadTemplate('items'); ?>

<?php if ($this->access->canEdit || $this->access->canEditOwn) :
	echo JHTML::_('icon.create', $this->category, $this->params, $this->access);
endif;

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