CoreFiles by mySites.guru
_item.php29 lines, 993 bytes, from Joomla_1.5.21-Stable-Full_Package.zip
Raw History Compare with 1.5.20
md5
e38e60e80999239d6e0c372b5371816d
sha1
7c9e1be2ec6e168570ba2974536627d52529c915
sha256
0e864e76d638ffe7436029e18de26c158710fca0fb479fe09dfc48747327a786
<?php // @version $Id: _item.php 12349 2009-06-24 13:37:19Z ian $
defined('_JEXEC') or die('Restricted access');
?>

<?php if ($params->get('item_title')) : ?>
<h4>
	<?php if ($params->get('link_titles') && (isset($item->linkOn))) : ?>
	<a href="<?php echo JRoute::_($item->linkOn); ?>" class="contentpagetitle<?php echo $params->get('moduleclass_sfx'); ?>">
		<?php echo $item->title; ?></a>
	<?php else :
		echo $item->title;
	endif; ?>
</h4>
<?php endif; ?>

<?php if (!$params->get('intro_only')) :
	echo $item->afterDisplayTitle;
endif; ?>

<?php echo $item->beforeDisplayContent;
echo JFilterOutput::ampReplace($item->text);

$itemparams=new JParameter($item->attribs);
$readmoretxt=$itemparams->get('readmore',JText::_('Read more text'));
if (isset($item->linkOn) && $item->readmore && $params->get('readmore')) : ?>
<a href="<?php echo $item->linkOn; ?>" class="readon">
	<?php echo $readmoretxt.' ' . $item->title; ?></a>
<?php endif; ?>
<span class="article_separator">&nbsp;</span>

The same content is in 15 releases, Joomla 1.5.12 to 1.5.26. See them all, or every version of this file.