$debug = ''; $footer_legals = xtcBootstrapGrid($columnArray, $order, '', $columnClass); if ($footer_legals) { ?> <div id="footerwrap" class="xtc-bodygutter"> <div id="footerwrappad" class="xtc-wrapperpad"> <div id="footerpad" class="row-fluid xtc-wrapper"><?php echo $footer_legals; ?> </div> </div> </div> <?php } ?> <?php if ($this->countModules('debug')) { ?> <jdoc:include type="modules" name="debug" /> <?php } ?> </body> </html> <?php if (!$xtc->agent->isMobile && xtcIsFrontpage()) { ?> <script>new scrollReveal</script> <?php }
function xtcCanShowComponent() { $xtc =& $GLOBALS['xtc']; $option = JRequest::getCmd('option'); if (xtcIsFrontpage()) { if (in_array('all', $xtc->showComponents)) { return true; } elseif (in_array('none', $xtc->showComponents)) { return false; } else { return in_array($option, $xtc->showComponents); } } else { return true; } }