viewModel->getTplData(ViewModel::FLD_ICON_DIR); $scanBtnName = $this->viewModel->getTplData(ViewModel::FLD_SCAN_BTN_NAME); $btnState = $this->viewModel->getTplData(ViewModel::FLD_BTN_STATE); $activeVer = $this->viewModel->getTplData(ViewModel::FLD_ACTIVE_VER); $listData = $this->viewModel->getTplData(ViewModel::FLD_LIST_DATA); $countData = $this->viewModel->getTplData(ViewModel::FLD_COUNT_DATA); $showList = $this->viewModel->getTplData(ViewModel::FLD_SHOW_LIST); $warnMsgs = $this->viewModel->getTplData(ViewModel::FLD_WARN_MSGS); $infoMsgs = $this->viewModel->getTplData(ViewModel::FLD_INFO_MSGS); $errMsgs = $this->viewModel->getTplData(ViewModel::FLD_ERR_MSGS); $succMsgs = $this->viewModel->getTplData(ViewModel::FLD_SUCC_MSGS); ?>
loadTplBlock( 'Title.tpl', [ 'title' => 'Manage All LiteSpeed Cache for WordPress Installations', 'icon' => "$iconDir/manageCacheInstallations.svg" ] ); ?>
loadTplBlock( 'DivMsgBox.tpl', [ 'msgs' => $warnMsgs, 'class' => 'msg-warn' ] ); } if ( !empty($infoMsgs) ) { $this->loadTplBlock( 'DivMsgBox.tpl', [ 'msgs' => $infoMsgs, 'class' => 'msg-info' ] ); } $errMsgCnt = count($errMsgs); $succMsgCnt = count($succMsgs); ?>
loadTplBlock( 'DivMsgBox.tpl', [ 'id' => 'errMsgs', 'msgs' => $errMsgs, 'class' => 'scrollable' ] ); ?>
loadTplBlock( 'DivMsgBox.tpl', [ 'id' => 'succMsgs', 'msgs' => $succMsgs, 'class' => 'scrollable' ] ); ?>
loadTplBlock( 'InputSubmitBtn.tpl', [ 'name' => 're-scan', 'value' => $scanBtnName, 'title' => 'Scan filesystem for WordPress installations', 'confirm' => "$scanBtnName will scan your filesystem for WordPress " . 'installations. This may take up to a few minutes to complete. ' . "$scanBtnName now?", 'class' => "$classes $addClass" ], true ); if ( $btnState == 'disabled' ) { $addClass = 'disabled-btn'; } $this->loadTplBlock( 'InputSubmitBtn.tpl', [ 'name' => 'scan_more', 'value' => 'Discover New', 'title' => 'Discover new WordPress installations since the last scan', 'confirm' => 'Discover new WordPress installations since the last ' . 'scan. This will not update information for existing ' . 'installations. This may take up to a few minutes to complete. ' . 'Continue?', 'state' => $btnState, 'class' => "$classes $addClass", ], true ); $this->loadTplBlock( 'InputSubmitBtn.tpl', [ 'name' => 'refresh_status', 'value' => 'Refresh Status', 'title' => 'Check the cache status for all WordPress installations ' . 'currently listed', 'confirm' => 'Refresh Status will check the cache status for all ' . 'WordPress installations currently listed. If you have many ' . 'installations, this may take up to a few minutes to complete. ' . 'Refresh Status now?', 'state' => $btnState, 'class' => "$classes $addClass", ], true ); $this->loadTplBlock( 'InputSubmitBtn.tpl', [ 'name' => 'mass_flag', 'value' => 'Flag All', 'title' => 'Flag all currently discovered installations', 'confirm' => 'Flag all currently discovered installations?', 'state' => $btnState, 'class' => "$classes $addClass", ], true ); $this->loadTplBlock( 'InputSubmitBtn.tpl', [ 'name' => 'mass_unflag', 'value' => 'Unflag All', 'title' => 'Unflag all currently discovered installations', 'confirm' => 'Unflag all currently discovered installations?', 'state' => $btnState, 'class' => "$classes $addClass", ], true ); ?>
With Selected:
LiteSpeed Cache Plugin Version:

$info ): $statusData = $info['statusData']; $flagData = $info['flagData']; $siteUrl = $info['siteUrl']; $safePath = htmlspecialchars($path); ?>
Discovered WordPress Installations | Actions Cache Status Flag



*Flagging an installation will cause it to be excluded from Mass Enable/Disable operations.