return false; }); }); </script> <div id="ait-theme-faq"> <?php if (empty($docPage)) { echo $docs; ?> <p><a href="#" id="ait-reset-docs" data-ait-doc-url="<?php echo md5($faqUrl); ?> " style="color: #D54E21;">Check for updates for this FAQ page.</a></p><?php } else { $doc = aitCachedDocsRequest($qaUrl . $docPage . '/?theme=faq', array('expire' => 3 * 24 * 60 * 60, 'id' => 'ait-theme-doc-single', 'adminDocsUrl' => $adminDocsUrl, 'adminDocUrl' => $adminDocUrl, 'docUrl' => $qaUrl)); if ($doc !== false) { ?> <div> <div class="metabox-holder"> <div class="postbox-container" style="width:75%;"> <div id="ait-theme-doc-content" class="meta-box-sortables"> <?php echo $doc; ?> </div> </div> <div class="postbox-container" style="width:24%;"> <div class="meta-box-sortables"> <div id="ait-theme-doc-sidebar" class="postbox"> <h3><span>Menu</span></h3>
}); return false; }); }); </script> <?php if (empty($docPage)) { echo $docs; ?> <p><a href="#" id="ait-reset-docs" data-ait-doc-url="<?php echo md5($documentationUrl . THEME_CODE_NAME . "-wordpress-theme/"); ?> " style="color: #D54E21;">Check for updates for this documentation page.</a></p><?php } else { $doc = aitCachedDocsRequest($docUrl . $docPage . '/?theme=' . THEME_CODE_NAME . "-wordpress-theme", array('expire' => 3 * 24 * 60 * 60, 'id' => 'ait-theme-doc-single', 'adminDocsUrl' => $adminDocsUrl, 'adminDocUrl' => $adminDocUrl, 'docUrl' => $docUrl)); if ($doc !== false) { ?> <div> <div class="metabox-holder"> <div class="postbox-container" style="width:75%;"> <div id="ait-theme-doc-content" class="meta-box-sortables"> <?php echo $doc; ?> </div> </div> <div class="postbox-container" style="width:24%;"> <div class="meta-box-sortables"> <div id="ait-theme-doc-sidebar" class="postbox"> <h3><span>Menu</span></h3>