Vergleich admin/modules/home/version_check.php - 1.6.9 - 1.6.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 74Zeile 74

$parser = new XMLParser($contents);
$tree = $parser->get_tree();


$parser = new XMLParser($contents);
$tree = $parser->get_tree();

 

if(!is_array($tree) || !isset($tree['mybb']))
{
$page->output_inline_error($lang->error_communication);
$page->output_footer();
exit;
}


$latest_code = $tree['mybb']['version_code']['value'];
$latest_version = "<strong>".$tree['mybb']['latest_version']['value']."</strong> (".$latest_code.")";


$latest_code = $tree['mybb']['version_code']['value'];
$latest_version = "<strong>".$tree['mybb']['latest_version']['value']."</strong> (".$latest_code.")";

Zeile 86Zeile 93
	}
else
{

	}
else
{

 
		$version_warn = 0;

		$latest_version = "<span style=\"color: green;\">".$latest_version."</span>";
}


		$latest_version = "<span style=\"color: green;\">".$latest_version."</span>";
}