コード例 #1
0
    public function mwp_setup_system_requirements()
    {
        $hosting_type = get_option('mwp_setup_installationHostingType');
        $system_type = get_option('mwp_setup_installationSystemType');
        $back_step = "installation";
        if ($system_type == 3 && $hosting_type == 2) {
            $back_step = '';
        }
        ?>
		<h1><?php 
        _e('Dashboard System Requirements Checkup', 'mainwp');
        ?>
</h1>
		<p><?php 
        _e('Any Warning here may cause the MainWP Dashboard to malfunction. After you complete the Quick Start setup it is recommended to contact your host’s support and updating your server configuration for optimal performance.', 'mainwp');
        ?>
</p>
		<?php 
        MainWP_Server_Information::renderQuickSetupSystemCheck();
        ?>
		<br/>
		<p class="mwp-setup-actions step">
			<a href="<?php 
        echo esc_url($this->get_next_step_link());
        ?>
" class="button-primary button button-large"><?php 
        _e('Continue', 'mainwp');
        ?>
</a>
			<a href="<?php 
        echo esc_url($this->get_next_step_link());
        ?>
" class="button button-large"><?php 
        _e('Skip this step', 'mainwp');
        ?>
</a>
			<a href="<?php 
        echo esc_url($this->get_back_step_link($back_step));
        ?>
" class="button button-large"><?php 
        _e('Back', 'mainwp');
        ?>
</a>
			<?php 
        wp_nonce_field('mwp-setup');
        ?>
		</p>
		<?php 
    }