/**
     * Shows license page
     */
    public function show_license_page()
    {
        // Instantiate license class
        $license_manager = new Yoast_Plugin_License_Manager(new Sample_Product());
        ?>
		<div class="wrap">
			<?php 
        //settings_errors();
        ?>

			<?php 
        $license_manager->show_license_form(false);
        ?>
		</div>
	<?php 
    }
    /**
     * Output the screen
     */
    public function output_screen()
    {
        ?>
		<div class="wrap">
			<h2>Post Connector - <?php 
        _e('License settings', 'post-connector');
        ?>
</h2>
			<?php 
        settings_errors();
        ?>
			<div class="pc-content">
				<?php 
        $license_manager = new Yoast_Plugin_License_Manager(new SP_Product_Post_Connector());
        $license_manager->show_license_form(false);
        ?>
			</div>
			<?php 
        SP_Admin_Menu::get()->sidebar();
        ?>
		</div>
	<?php 
    }
        if ('inactive' == $extension->status) {
            ?>
								<a href="#top#licenses" class="activate-link button-primary">Activate License</a>
							<?php 
        } else {
            ?>
								<button class="button-primary installed">Installed</button>
							<?php 
        }
    }
    ?>
						</p>
					</div>
				<?php 
}
?>
		</div>
		<div id="licenses" class="wpseotab gatab">
			<?php 
if (!$has_extensions) {
    echo '<p>' . __('You have not installed any extensions for Yoast Google Analytics, so there are no licenses to activate.', 'google-analytics-for-wordpress') . '</p>';
} else {
    echo $license_manager->show_license_form(false);
}
?>
		</div>
	</div>
	<div class="clear"></div>

<?php 
echo $yoast_ga_admin->content_footer();