D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
modules
/
xovi
/
views
/
scripts
/
site-audit
/
Filename :
overview.phtml
back
Copy
<?php // Copyright 1999-2020. Plesk International GmbH. All rights reserved. $this->headLink()->appendStylesheet(pm_Context::getBaseUrl() . 'css/detail.css?' . XOVIVERSION); $this->headLink()->appendStylesheet(pm_Context::getBaseUrl() . 'css/nv.d3.css?' . XOVIVERSION); $this->headScript()->appendFile(pm_Context::getBaseUrl() . 'js/d3.v3.min.js?' . XOVIVERSION); $this->headScript()->appendFile(pm_Context::getBaseUrl() . 'js/nv.d3.min.js?' . XOVIVERSION); $this->headScript()->appendScript('var runScan = ' . json_encode($this->runScan) . ';'); $this->headScript()->appendFile(pm_Context::getBaseUrl() . 'js/siteaudit.js?' . XOVIVERSION); ?> <div id="seo-toolkit"> <p><?= $this->description; ?></p> <h5><?= $this->auditDate ?></h5> <div class="row"> <div class="col-xs"> <a id="newScanBtn" class="btn" href="#"> <?= $this->lmsg("controllers.site-audit.overview.rescanButton", ['domain' => $this->domain->getDisplayName()]); ?> </a> </div> </div> <?php if (isset($this->siteaudit)) { echo $this->siteaudit; } ?> <?= $this->renderTabs($this->tabs); ?> <div id="list-content"> <?= $this->renderList($this->list_content); ?> </div> <div id="list-seo"> <?= $this->renderList($this->list_seo); ?> </div> <div id="list-technique"> <?= $this->renderList($this->list_technique); ?> </div> <div class="detail-meta"> <div class="chartbox"> <div class="row sidetext"> <?php if (!empty($this->glossary)) : ?> <div class="col-sm-6 col-xs-12"> <h3><?= pm_Locale::lmsg("siteAudit.details.title.glossary"); ?></h3> <ul> <?php foreach ($this->glossary as $column) : ?> <li><b><?= pm_Locale::lmsg('siteAudit.overview.column.' . $column) ?></b>: <?= pm_Locale::lmsg('siteAudit.overview.column.' . $column . '.tooltip') ?></li> <?php endforeach; ?> </ul> </div> <?php endif; ?> </div> </div> </div> <script type="text/javascript"> function showElement(name) { switch (name) { case "tech": return showElementTechnique(); case "seo": return showElementSeo(); case "content": return showElementContent(); default: return; } } function showElementContent() { resetAllStyles(); $("list-content").show(); $$("li[id$=ext-xovi-tab-content]")[0].classList = 'active'; } function showElementSeo() { resetAllStyles(); $("list-seo").show(); $("list-seo").setStyle({display: 'inherit'}); $$("li[id$=ext-xovi-tab-seo]")[0].classList = 'active'; } function showElementTechnique() { resetAllStyles(); $("list-technique").show(); $("list-technique").setStyle({display: 'inherit'}); $$("li[id$=ext-xovi-tab-technique]")[0].classList = 'active'; } function resetAllStyles() { $("list-content").hide(); $("list-seo").hide(); $("list-technique").hide(); $$("li[id$=ext-xovi-tab-content]")[0].classList = ''; $$("li[id$=ext-xovi-tab-seo]")[0].classList = ''; $$("li[id$=ext-xovi-tab-technique]")[0].classList = ''; } </script> </div>