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 
Exemple #3
0
 static function Footer()
 {
     FSS_Glossary::GetGlossary();
     if (count(FSS_Glossary::$glossary) == 0) {
         return "";
     }
     $tail = "<div id='glossary_words' style='display:none;'>";
     $temp = "";
     $count = 0;
     foreach (FSS_Glossary::$glossary as $data) {
         if (empty($data->inuse) || !$data->inuse) {
             continue;
         }
         //if (!empty($data->is_clone) && $data->is_clone)
         //	continue;
         $count++;
         $footer = "";
         if ($data->longdesc && FSS_Settings::get('glossary_show_read_more')) {
             $footer = "<p class='right fss_glossary_read_more' style='text-align: right'>" . JText::_(FSS_Settings::get('glossary_read_more_text')) . "</p>";
         }
         if (FSS_Settings::get('glossary_title')) {
             $tail .= "<div id='glossary_" . $data->ref . "'><h4>" . $data->linkword . "</h4><div class='fsj_gt_inner'>" . $data->description . " {$footer}</div></div>";
         } else {
             $tail .= "<div id='glossary_" . $data->ref . "'><div class='fsj_gt_inner'>" . $data->description . " {$footer}</div></div>";
         }
     }
     $tail .= "</div>";
     if (!$count) {
         return "";
     }
     return $tail;
 }
<div id="messagereply" style="display: none;">
	<?php 
include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_reply.php');
?>
</div>

<div id="messagepleasewait" style="display: none;clear: both" class="alert alert-info">
	<?php 
echo JText::_('PLEASE_WAIT');
?>
</div>

<?php 
FSS_Helper::HelpText("support_user_view_mes_buttons");
?>

<div id="ticket_messages">
	<?php 
include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_messages.php');
?>
</div>

<?php 
FSS_Helper::HelpText("support_user_view_mes_footer");
?>

<?php 
if (FSS_Settings::get('glossary_support')) {
    echo FSS_Glossary::Footer();
}
Exemple #5
0
?>

<dl class="fss_glossary_wordlist">
<?php 
foreach ($this->rows as $glossary) {
    ?>
	<?php 
    $descid++;
    $thisletter = strtolower(substr($glossary->word, 0, 1));
    if ($thisletter != $letter) {
        $letter = $thisletter;
        echo "<a name='letter_{$letter}' ></a>";
    }
    ?>
	<dt><a name='<?php 
    echo FSS_Glossary::MakeAnchor($glossary->word);
    ?>
'></a>
		<?php 
    if ($this->long_desc == 1 && $glossary->longdesc != "") {
        ?>
			<a href="<?php 
        echo str_replace("XXWWXX", urlencode($glossary->word), FSSRoute::_("index.php?option=com_fss&view=glossary&layout=word&word=XXWWXX", false));
        ?>
">
				<?php 
        echo $glossary->word;
        ?>
			</a>
		<?php 
    } elseif ($this->long_desc == 3 && $glossary->longdesc != "") {
<?php

/**
 * @package Freestyle Joomla
 * @author Freestyle Joomla
 * @copyright (C) 2013 Freestyle Joomla
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
?>

	<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>
Exemple #7
0
				</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;