| 1 |
<?php |
| 2 |
|
| 3 |
use Dev4Press\Plugin\SweepPress\Basic\Database; |
| 4 |
use function Dev4Press\v43\Functions\panel; |
| 5 |
|
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit; |
| 8 |
} |
| 9 |
|
| 10 |
?> |
| 11 |
<div class="d4p-content d4p-setup-wrapper"> |
| 12 |
<div class="d4p-update-info"> |
| 13 |
<?php |
| 14 |
|
| 15 |
sweeppress_settings()->set( 'install', false, 'info' ); |
| 16 |
sweeppress_settings()->set( 'update', false, 'info', true ); |
| 17 |
|
| 18 |
sweeppress_settings()->set( 'database', Database::instance()->total_wp( 'estimate' ), 'statistics', true ); |
| 19 |
|
| 20 |
?> |
| 21 |
|
| 22 |
<div class="d4p-install-block"> |
| 23 |
<h4> |
| 24 |
<?php esc_html_e( 'All Done', 'sweeppress' ); ?> |
| 25 |
</h4> |
| 26 |
<div> |
| 27 |
<?php esc_html_e( 'Installation completed.', 'sweeppress' ); ?> |
| 28 |
</div> |
| 29 |
</div> |
| 30 |
|
| 31 |
<div class="d4p-install-confirm"> |
| 32 |
<a class="button-primary" href="<?php echo esc_url( panel()->a()->panel_url( 'about' ) ); ?>&install"><?php esc_html_e( 'Click here to continue', 'sweeppress' ); ?></a> |
| 33 |
</div> |
| 34 |
</div> |
| 35 |
</div> |