<?php include JPATH_SITE . DS . 'components' . DS . 'com_fsf' . DS . '_powered.php'; if (FSF_Settings::get('glossary_faqs')) { echo FSF_Glossary::Footer(); } ?> <?php if ($this->tmpl) { echo "</div>"; } ?> <?php echo $this->tmpl ? FSF_Helper::PageStylePopupEnd() : FSF_Helper::PageStyleEnd(); ?> <script> <?php if ($this->tmpl) { ?> jQuery(document).ready( function () { jQuery('a').click( function (ev) { ev.preventDefault(); var href = jQuery(this).attr('href'); window.parent.location.href = href; }); }); <?php
<?php $letter = ""; foreach ($this->rows as $glossary) { $thisletter = strtolower(substr($glossary->word, 0, 1)); if ($thisletter != $letter) { $letter = $thisletter; echo "<a name='letter_{$letter}' ></a>"; } ?> <div class="fsf_glossary_div"> <div class="fsf_glossary_title"><a name='<?php echo FSF_Glossary::MakeAnchor($glossary->word); ?> '></a><?php echo $glossary->word; ?> </div> <div class="fsf_glossary_text"><?php echo $glossary->description; echo $glossary->longdesc; ?> </div> <div class="fsf_clear"></div> </div> <?php } include JPATH_SITE . DS . 'components' . DS . 'com_fsf' . DS . '_powered.php'; echo FSF_Helper::PageStyleEnd();
function Footer() { include JPATH_SITE . DS . 'components' . DS . 'com_fsf' . DS . '_powered.php'; //include JPATH_SITE.DS.'components'.DS.'com_fsf'.DS.'_powered.php';; echo FSF_Helper::PageStyleEnd(); }