AAAAhome/academiac/www/templates/puntopc/classes/ArtxContentListItem.php 0000604 00000005244 15137160103 0021765 0 ustar 00 isPublished = 0 != $this->_article->state;
$this->titleLink = $this->_articleParams->get('link_titles') && $this->_articleParams->get('access-view')
? JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid))
: '';
$this->intro = $this->_article->introtext;
if ($this->_articleParams->get('show_readmore') && $this->_article->readmore) {
if (!$this->_articleParams->get('access-view'))
$this->readmore = JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
elseif ($this->readmore = $this->_article->alternative_readmore) {
if ($this->_articleParams->get('show_readmore_title', 0) != 0)
$this->readmore .= JHtml::_('string.truncate', ($this->_article->title), $this->_articleParams->get('readmore_limit'));
} elseif ($this->_articleParams->get('show_readmore_title', 0) == 0)
$this->readmore = JText::sprintf('COM_CONTENT_READ_MORE_TITLE');
else
$this->readmore = JText::_('COM_CONTENT_READ_MORE')
. JHtml::_('string.truncate', $this->_article->title,
$this->_articleParams->get('readmore_limit'));
if ($this->_articleParams->get('access-view')){
$link = JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid));
$this->readmoreLink = $link;
}
else {
$menu = JFactory::getApplication()->getMenu();
$active = $menu->getActive();
$itemId = $active->id;
$link1 = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId);
$returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid));
$link = new JURI($link1);
$link->setVar('return', base64_encode($returnURL));
$this->readmoreLink = $link->__toString();
}
} else {
$this->readmore = '';
$this->readmoreLink = '';
}
}
public function intro($intro)
{
return "
" . $intro . "
";
}
}
home/academiac/www/templates/nicelya/classes/ArtxContentListItem.php 0000604 00000005160 15137173452 0021731 0 ustar 00 isPublished = 0 != $this->_article->state;
$this->titleLink = $this->_articleParams->get('link_titles') && $this->_articleParams->get('access-view')
? JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid))
: '';
$this->intro = $this->_article->introtext;
if ($this->_articleParams->get('show_readmore') && $this->_article->readmore) {
if (!$this->_articleParams->get('access-view'))
$this->readmore = JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
elseif ($this->readmore = $this->_article->alternative_readmore) {
if ($this->_articleParams->get('show_readmore_title', 0) != 0)
$this->readmore .= JHtml::_('string.truncate', ($this->_article->title), $this->_articleParams->get('readmore_limit'));
} elseif ($this->_articleParams->get('show_readmore_title', 0) == 0)
$this->readmore = JText::sprintf('COM_CONTENT_READ_MORE_TITLE');
else
$this->readmore = JText::_('COM_CONTENT_READ_MORE')
. JHtml::_('string.truncate', $this->_article->title,
$this->_articleParams->get('readmore_limit'));
if ($this->_articleParams->get('access-view')){
$link = JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid));
$this->readmoreLink = $link;
}
else {
$menu = JFactory::getApplication()->getMenu();
$active = $menu->getActive();
$itemId = $active->id;
$link1 = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId);
$returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid));
$link = new JURI($link1);
$link->setVar('return', base64_encode($returnURL));
$this->readmoreLink = $link->__toString();
}
} else {
$this->readmore = '';
$this->readmoreLink = '';
}
}
public function intro($intro)
{
return "" . $intro . "
";
}
}
home/academiac/www/templates/ideas/classes/ArtxContentListItem.php 0000604 00000005160 15137174313 0021367 0 ustar 00 isPublished = 0 != $this->_article->state;
$this->titleLink = $this->_articleParams->get('link_titles') && $this->_articleParams->get('access-view')
? JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid))
: '';
$this->intro = $this->_article->introtext;
if ($this->_articleParams->get('show_readmore') && $this->_article->readmore) {
if (!$this->_articleParams->get('access-view'))
$this->readmore = JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
elseif ($this->readmore = $this->_article->alternative_readmore) {
if ($this->_articleParams->get('show_readmore_title', 0) != 0)
$this->readmore .= JHtml::_('string.truncate', ($this->_article->title), $this->_articleParams->get('readmore_limit'));
} elseif ($this->_articleParams->get('show_readmore_title', 0) == 0)
$this->readmore = JText::sprintf('COM_CONTENT_READ_MORE_TITLE');
else
$this->readmore = JText::_('COM_CONTENT_READ_MORE')
. JHtml::_('string.truncate', $this->_article->title,
$this->_articleParams->get('readmore_limit'));
if ($this->_articleParams->get('access-view')){
$link = JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid));
$this->readmoreLink = $link;
}
else {
$menu = JFactory::getApplication()->getMenu();
$active = $menu->getActive();
$itemId = $active->id;
$link1 = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId);
$returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid));
$link = new JURI($link1);
$link->setVar('return', base64_encode($returnURL));
$this->readmoreLink = $link->__toString();
}
} else {
$this->readmore = '';
$this->readmoreLink = '';
}
}
public function intro($intro)
{
return "" . $intro . "
";
}
}
home/academiac/www/templates/mw_business/classes/ArtxContentListItem.php 0000604 00000005140 15137251302 0022630 0 ustar 00 isPublished = 0 != $this->_article->state;
$this->titleLink = $this->_articleParams->get('link_titles') && $this->_articleParams->get('access-view')
? JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid))
: '';
$this->intro = $this->_article->introtext;
if ($this->_articleParams->get('show_readmore') && $this->_article->readmore) {
if (!$this->_articleParams->get('access-view'))
$this->readmore = JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
elseif ($this->readmore = $this->_article->alternative_readmore) {
if ($this->_articleParams->get('show_readmore_title', 0) != 0)
$this->readmore .= JHtml::_('string.truncate', ($this->_article->title), $this->_articleParams->get('readmore_limit'));
} elseif ($this->_articleParams->get('show_readmore_title', 0) == 0)
$this->readmore = JText::sprintf('COM_CONTENT_READ_MORE_TITLE');
else
$this->readmore = JText::_('COM_CONTENT_READ_MORE')
. JHtml::_('string.truncate', $this->_article->title,
$this->_articleParams->get('readmore_limit'));
if ($this->_articleParams->get('access-view')) {
$link = JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid));
$this->readmoreLink = $link; }
else {
$menu = JFactory::getApplication()->getMenu();
$active = $menu->getActive();
$itemId = $active->id;
$link1 = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId);
$returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($this->_article->slug, $this->_article->catid));
$link = new JURI($link1);
$link->setVar('return', base64_encode($returnURL));
$this->readmoreLink = $link->__toString();
}
} else {
$this->readmore = '';
$this->readmoreLink = '';
}
}
public function intro($intro)
{
return "" . $intro . "
";
}
}