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 5380 2011-02-21 12:04:43Z Tomm $
| * $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>"; }
|