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
);
?>