Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: version_check.php 5093 2010-07-17 21:12:40Z RyanGordon $
| * $Id$
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 74 | Zeile 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 86 | Zeile 93 |
---|
} else {
|
} else {
|
| $version_warn = 0;
|
$latest_version = "<span style=\"color: green;\">".$latest_version."</span>"; }
| $latest_version = "<span style=\"color: green;\">".$latest_version."</span>"; }
|