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:
|
*Flagging an installation will cause it to be excluded from
Mass Enable/Disable operations.