/**
     * Modules Manager
     *
     * @since	0.1
     * @uses	get_site_option, _e, admin_url, wp_nonce_field,
     * 			do_action, submit_button
     * @return	void
     */
    public function modules_form()
    {
        $modules = $this->module_mapper->get_modules();
        // Draw the form
        ?>
		<form action="<?php 
        echo admin_url('admin-post.php?action=mlp_update_modules');
        ?>
" method="post" id="mlp_modules">
			<?php 
        wp_nonce_field($this->module_mapper->get_nonce_action());
        ?>

			<table class="mlp-admin-feature-table">
			<?php 
        foreach ($modules as $slug => $module) {
            /**
             * Filter the visibility of the module in the features table.
             *
             * @param bool $invisible Should the module be hidden?
             *
             * @return bool
             */
            if (apply_filters("mlp_dont_show_module_{$slug}", FALSE)) {
                continue;
            }
            print $this->module_row($slug, $module);
        }
        /**
         * Runs at the end of but still inside the features table.
         */
        do_action('mlp_modules_add_fields_to_table');
        ?>
			</table>
			<?php 
        /**
         * Runs after the features table.
         */
        do_action('mlp_modules_add_fields');
        submit_button(__('Save changes', 'multilingualpress'));
        ?>
		</form>
		<?php 
    }
    /**
     * Modules Manager
     *
     * @since	0.1
     * @uses	get_site_option, _e, admin_url, wp_nonce_field,
     * 			do_action, submit_button
     * @return	void
     */
    public function modules_form()
    {
        $modules = $this->module_mapper->get_modules();
        // Draw the form
        ?>
		<form action="<?php 
        echo admin_url('admin-post.php?action=mlp_update_modules');
        ?>
" method="post" id="mlp_modules">
			<?php 
        wp_nonce_field($this->module_mapper->get_nonce_action());
        ?>

			<table class="mlp-admin-feature-table">
			<?php 
        foreach ($modules as $slug => $module) {
            if (apply_filters('mlp_dont_show_module_' . $slug, FALSE)) {
                continue;
            }
            print $this->module_row($slug, $module);
        }
        /**
         * Action to add custom Fields to the table in settings page
         */
        do_action('mlp_modules_add_fields_to_table');
        ?>
			</table>
			<?php 
        /**
         * Action to add custom Fields to the in settings page
         */
        do_action('mlp_modules_add_fields');
        submit_button(__('Save changes', 'multilingualpress'));
        ?>
		</form>
		<?php 
    }