コード例 #1
0
ファイル: layout.php プロジェクト: jputz12/OneNow-Vshop
$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 
}
コード例 #2
0
ファイル: XTC_library.php プロジェクト: jputz12/OneNow-Vshop
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;
    }
}