} else { ?> <?php echo $this->getTopicLink($this->topic, null, $this->topic->getIcon()); ?> <?php } ?> </li> <?php } ?> <li class="klatest-subject"> <?php echo ModuleKunenaLatest::shortenLink($this->getTopicLink($this->topic, 'last', ModuleKunenaLatest::getUnreadState(), ModuleKunenaLatest::setSubjectTitle($this, $this->topic->last_post_message)), $this->params->get('titlelength')); if ($this->params->get('sh_postcount')) { echo ' (' . $this->topic->getTotal() . ' ' . JText::_('MOD_KUNENALATEST_MSG') . ')'; } if ($this->topic->unread) { echo ' <sup class="knewchar">(' . JText::_($this->params->get('unreadindicator')) . ')</sup>'; } if ($this->params->get('sh_sticky') && $this->topic->ordering) { echo $this->getIcon('ktopicsticky', JText::_('MOD_KUNENALATEST_STICKY_TOPIC')); } if ($this->params->get('sh_locked') && $this->topic->locked) { echo $this->getIcon('ktopiclocked', JText::_('COM_KUNENA_GEN_LOCKED_TOPIC')); } if ($this->params->get('sh_favorite') && $this->topic->getUserTopic()->favorite) { echo $this->getIcon('kfavoritestar', JText::_('COM_KUNENA_FAVORITE')); }
?> </li> <?php } elseif ($this->params->get('sh_topiciconoravatar') == 0) { ?> <li class="klatest-topicicon"><?php echo $this->getTopicLink($this->topic, 'unread', '[K=TOPIC_ICON]'); ?> </li> <?php } ?> <li class="klatest-subject"> <?php echo ModuleKunenaLatest::shortenLink($this->getTopicLink($this->topic, $this->message, null, ModuleKunenaLatest::setSubjectTitle($this, $this->message->message)), $this->params->get('titlelength')); if ($this->params->get('sh_postcount')) { echo ' (' . $this->topic->getTotal() . ' ' . JText::_('MOD_KUNENALATEST_MSG') . ')'; } if ($this->topic->unread) { echo ' <sup class="knewchar">(' . JText::_($this->params->get('unreadindicator')) . ')</sup>'; } if ($this->params->get('sh_sticky') && $this->topic->ordering) { echo $this->getIcon('ktopicsticky', JText::_('MOD_KUNENALATEST_STICKY_TOPIC')); } if ($this->params->get('sh_locked') && $this->topic->locked) { echo $this->getIcon('ktopiclocked', JText::_('COM_KUNENA_GEN_LOCKED_TOPIC')); } if ($this->params->get('sh_favorite') && $this->topic->getUserTopic()->favorite) { echo $this->getIcon('kfavoritestar', JText::_('COM_KUNENA_FAVORITE')); }