/**
     * Print tab content and provide two hooks.
     *
     * @return void
     */
    public function render_content()
    {
        ?>
		<form action="<?php 
        print $this->page_data->get_form_action();
        ?>
" method="post">
			<input type="hidden" name="action" value="<?php 
        echo $this->page_data->get_action_name();
        ?>
" />
			<input type="hidden" name="id" value="<?php 
        echo $this->blog_id;
        ?>
" />
			<?php 
        wp_nonce_field($this->page_data->get_nonce_action(), $this->page_data->get_nonce_name());
        $siteoption = get_site_option('inpsyde_multilingual', array());
        $languages = $this->language_api->get_db()->get_items(array('page' => -1));
        print '<table class="form-table mlp-admin-settings-table">';
        $this->show_language_options($siteoption, $languages);
        $this->show_blog_relationships($siteoption, $languages);
        /**
         * Runs at the end of but still inside the site settings table.
         *
         * @param int $blog_id Blog ID.
         */
        do_action('mlp_blogs_add_fields', $this->blog_id);
        if (has_action('mlp_blogs_add_fields_secondary')) {
            _doing_it_wrong('mlp_blogs_add_fields_secondary', 'mlp_blogs_add_fields_secondary is deprecated, use mlp_blogs_add_fields instead.', '2.1');
        }
        /**
         * @see mlp_blogs_add_fields
         * @deprecated
         */
        do_action('mlp_blogs_add_fields_secondary', $this->blog_id);
        print '</table>';
        submit_button();
        ?>
		</form>
		<?php 
    }
    /**
     * Callback for page output.
     *
     */
    public function render()
    {
        ?>
		<div class="wrap">
			<?php 
        print '<h2>' . $this->page_data->get_title() . '</h2>';
        $this->watcher->update('before_form');
        ?>
			<form action="<?php 
        echo $this->page_data->get_form_action();
        ?>
" method="post">
				<input type="hidden" name="action" value="<?php 
        echo $this->page_data->get_action_name();
        ?>
" />
				<input type="hidden" name="paged" value="<?php 
        echo $this->pagination_data->get_current_page();
        ?>
" />
			<?php 
        wp_nonce_field($this->page_data->get_nonce_action(), $this->page_data->get_nonce_name());
        $this->watcher->update('before_table');
        $this->watcher->update('show_table');
        $this->watcher->update('after_table');
        submit_button(esc_attr__('Save changes', 'multilingualpress'), 'primary', 'save', FALSE, array('style' => 'float:left'));
        $this->watcher->update('after_form_submit_button');
        ?>
			</form>
			<?php 
        $this->watcher->update('after_form');
        ?>
		</div>
		<?php 
    }