/**
  * Run Livefyre Apps General page
  */
 public static function menu_general()
 {
     $conflicting_plugins = Livefyre_Apps::get_conflict_plugins();
     if (count($conflicting_plugins) > 0) {
         self::menu_plugin_conflict();
         return;
     }
     //process data returned from livefyre.com community sign up
     if (self::verified_blog()) {
         update_option('livefyre_apps-livefyre_domain_name', 'livefyre.com');
         update_option('livefyre_apps-livefyre_site_id', sanitize_text_field($_GET["site_id"]));
         update_option('livefyre_apps-livefyre_site_key', sanitize_text_field($_GET["secretkey"]));
     }
     LFAPPS_View::render('general');
 }
    </script>    
    
    <div class='postbox-large'>
        <div class="postbox-container">
            <div id="normal-sortables" class="meta-box-sortables ui-sortable">                
                <div id="referrers" class="postbox">
                    <div class="handlediv" title="Click to toggle"><br></div>
                    <h3 class="hndle"><span><?php 
esc_html_e('Livefyre Plugin Conflict', 'lfapps');
?>
</span></h3>
                    <div class="inside">
                        <p>The following plugins cannot run at the same time as Livefyre Apps. Please de-activate these plugins before you can use Livefyre Apps.</p>
                        <ul>
                            <?php 
foreach (Livefyre_Apps::get_conflict_plugins() as $plugin) {
    ?>
                            <li><?php 
    echo esc_html('- ' . $plugin);
    ?>
</li>
                            <?php 
}
?>
                        </ul>
                        <p>Check your plugin settings to make sure that Livefyre Comments and Livefyre Sidenotes are deactivated.</p>
                    </div>
                </div>
            </div>
        </div>        
    </div>