protected function _glossary(&$text, &$params) { $text = FSS_Glossary::ReplaceGlossary($text); $text .= FSS_Glossary::Footer(); FSS_Helper::StylesAndJS(); return true; }
?> " onclick='return false;'><?php echo $faq['question']; ?> </a> </h5> <div class="collapse" id="faq_<?php echo $cat['id'] . "_" . $faq['id']; ?> "> <?php if (FSS_Settings::get('glossary_faqs')) { echo FSS_Glossary::ReplaceGlossary($faq['answer']); if ($faq['fullanswer']) { echo FSS_Glossary::ReplaceGlossary($faq['fullanswer']); } } else { echo $faq['answer']; if ($faq['fullanswer']) { echo $faq['fullanswer']; } } ?> <?php if (array_key_exists($faq['id'], $this->tags)) { ?> <div class='fss_faq_tags'> <span><?php
</dl> </div> <?php } ?> <?php echo $this->pages_header; ?> <div id="kb_art_body"> <?php if (FSS_Settings::get('glossary_kb')) { echo FSS_Glossary::ReplaceGlossary($this->art['body']); } else { echo $this->art['body']; } ?> </div> <?php echo $this->pages_footer; ?> </div> <script> <?php if ($this->kb_rate) { ?>
$user = JFactory::getUser($authid); if ($user->id > 0) { $this->parser->setVar('author', $user->name); $this->parser->setVar('author_username', $user->username); } else { $this->parser->setVar('author', JText::_('UNKNOWN')); $this->parser->setVar('author_username', JText::_('UNKNOWN')); } if (FSS_Settings::get('glossary_announce')) { $this->parser->setVar('body', FSS_Glossary::ReplaceGlossary($announce['body'])); } else { $this->parser->setVar('body', $announce['body']); } $this->parser->SetVar('needsreadmore', $announce['fulltext'] || FSS_Settings::get('announce_comments_allow') ? '1' : ''); if (FSS_Settings::get('glossary_announce')) { $this->parser->setVar('fulltext', FSS_Glossary::ReplaceGlossary($announce['fulltext'])); } else { $this->parser->setVar('fulltext', $announce['fulltext']); } if ($announce['fulltext']) { $this->parser->SetVar('readmore', JText::_("READ_MORE")); } else { $this->parser->SetVar('readmore', JText::_("COMMENTS")); } if (preg_match("/\\{body,(\\d{1,5})/i", $this->parser->template, $matches)) { if (isset($matches[1]) && $matches[1] > 0) { if (strlen($this->parser->GetVar('body')) > $matches[1]) { $this->parser->SetVar('readmore', JText::_("READ_MORE")); $this->parser->SetVar('needsreadmore', 1); } }
</div> <div class="ticket_message_message" id="message_<?php echo (int) $message->id; ?> "> <?php if (strpos($message->body, "[cid:") !== false) { require_once JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'cron' . DS . 'emailcheck.php'; $ec = new FSSCronEMailCheck(); $message->body = $ec->processInlineImages($message->id); } $msg = $message->body; $msg = FSS_Helper::ParseBBCode($msg, $message); if (FSS_Settings::get('glossary_support')) { echo FSS_Glossary::ReplaceGlossary($msg); } else { echo $msg; } ?> </div> <?php if (isset($message->attach)) { ?> <?php foreach ($message->attach as &$attach) { ?> <?php if ($attach->inline) { continue;