<?php 
	$category="hidden";

	$name="Promotion Support";
	$author="Azureus Software, Inc";
	$mail="";
  
	$description="Provides a promotion capability<br>".
  		""; 
  
  	$versions = array(

        new PluginVersionInfo( "5.7.2.0", "2.6", "plugins/azpromo_2.6.zip", "plugins/azpromo_2.6.zip",
            "2.6: Fix: Plus users are not required to restart vuze to have the ads disabled." ),

        new PluginVersionInfo( "5.7.2.0", "2.5", "plugins/azpromo_2.5.zip", "plugins/azpromo_2.5.zip",
            "2.5: Fixed how views are added/removed and how events are being sent." ),

        new PluginVersionInfo( "5.7.2.0", "2.4", "plugins/azpromo_2.4.zip", "plugins/azpromo_2.4.zip",
            "2.4: Improved logging." ),

        new PluginVersionInfo( "5.7.2.0", "2.3", "plugins/azpromo_2.3.zip", "plugins/azpromo_2.3.zip",
            "2.3: Improved reliability and stability." ),

        new PluginVersionInfo( "5.7.2.0", "2.2", "plugins/azpromo_2.2.zip", "plugins/azpromo_2.2.zip",
			"2.2: Fix double view registration on first run.<br>".
			"2.1: Pick up alternative license types." ), 
  	
		new PluginVersionInfo( "5.7.0.0", "2.0", "plugins/azpromo_2.0.zip", "plugins/azpromo_2.0.zip",
			"2.0: Source provider switch.<br>".
			"1.1.8: State wasn't being recorded correctly.<br>".
			"1.1.7: Fix view unloading.<br>".
			"1.1.6: Prevent smart_tag.js prompts.<br>".
			"1.1.4: Detect whether Vuze is active or not and disable ads when not.<br>".
			"1.1.2/3: Fix auto-refresh.<br>".
			"1.1.1: Detect and avoid SWT crashes.<br>".
			"1.1.0: Hook in plus upsell; auto-reopen per session.<br>".
			"1.0.9: Fix to prevent library initialisation delays from lagging the UI.<br>".
			"1.0.8: Bug fixes.<br>".
			"1.0.6: Initial version." )	
 	);
  
	$cvs_version = 
		new PluginVersionInfo( "5.7.0.1", "2.0_CVS", "plugins/azpromo_2.0.zip", "plugins/azpromo_2.0.zip",
			"" ); 		
  
  	$compare = compareVersion("5.7.1.1_B12");
								
	if ( $compare >= 0 ){
	
		$cvs_version = 
			new PluginVersionInfo( "5.7.1.1", "2.6_CVS", "plugins/azpromo_2.6.zip", "plugins/azpromo_2.6.zip",
			"" ); 		
	}
	
  	if (isset($_GET['os'])) {
	
		$os = $_GET['os'];
		
		if (strpos(strtolower(" " . $os), 'windows') > 0) {
		

  		}
  	}
  	
  	fillDetailVarsFromArray( $versions, $cvs_version );
?>