Vergleich admin/index.php - 1.2.3 - 1.2.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: index.php 2771 2007-02-11 16:42:08Z CraKteR $

 * $Id: index.php 2932 2007-03-10 05:48:55Z chris $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 111Zeile 111
	// If the update check contains information about a newer version, show an alert
if($update_check['latest_version_code'] > $mybb->version_code)
{

	// If the update check contains information about a newer version, show an alert
if($update_check['latest_version_code'] > $mybb->version_code)
{

		$lang->new_version_available = sprintf($lang->new_version_available, "MyBB {$mybb->version}", "<a href=\"http://www.mybboard.com/?fwlink=release_{$update_check['latest_version_code']}\" target=\"_new\">MyBB {$update_check['latest_version']}</a>");

		$lang->new_version_available = sprintf($lang->new_version_available, "MyBB {$mybb->version}", "<a href=\"http://www.mybboard.net/?fwlink=release_{$update_check['latest_version_code']}\" target=\"_new\">MyBB {$update_check['latest_version']}</a>");

		makewarning($lang->new_version_available);
}


		makewarning($lang->new_version_available);
}


Zeile 180Zeile 180
	tableheader($lang->mybb_credits);
tablesubheader($lang->contributed);
makelabelcode("<b>$lang->product_managers</b>", "<a href=\"http://www.surfionline.com\" target=\"_blank\">Chris Boulton</a>");

	tableheader($lang->mybb_credits);
tablesubheader($lang->contributed);
makelabelcode("<b>$lang->product_managers</b>", "<a href=\"http://www.surfionline.com\" target=\"_blank\">Chris Boulton</a>");

	makelabelcode("<b>$lang->developers</b>", "<a href=\"http://www.surfionline.com/\" target=\"_blank\">Chris Boulton</a><br /><a href=\"http://mods.mybboard.com/\" target=\"_blank\">Musicalmidget</a><br /><a href=\"http://www.dennistt.net/\" target=\"_blank\">DennisTT</a><br /><a href=\"http://www.peterakkies.com\" target=\"_blank\">Peter</a><br /><a href=\"http://www.tiki.rct3x.net\" target=\"_blank\">Tikitiki</a><br /><a href=\"http://www.decswxaqz.co.uk/\" target=\"_blank\">decswxaqz</a><br /><a href=\"http://www.mcdcpp.net/blog/\" target=\"_blank\">CraKteR</a>");

	makelabelcode("<b>$lang->developers</b>", "<a href=\"http://www.surfionline.com/\" target=\"_blank\">Chris Boulton</a><br /><a href=\"http://mods.mybboard.net/\" target=\"_blank\">Musicalmidget</a><br /><a href=\"http://www.dennistt.net/\" target=\"_blank\">DennisTT</a><br /><a href=\"http://www.peterakkies.com\" target=\"_blank\">Peter</a><br /><a href=\"http://www.tiki.rct3x.net\" target=\"_blank\">Tikitiki</a><br /><a href=\"http://www.decswxaqz.co.uk/\" target=\"_blank\">decswxaqz</a><br /><a href=\"http://www.mcdcpp.net/blog/\" target=\"_blank\">CraKteR</a>");

	makelabelcode("<b>$lang->graphics_and_style</b>", "<a href=\"http://www.surfionline.com\" target=\"_blank\">Chris Boulton</a><br /><a href=\"http://www.templatesforall.com\" target=\"_blank\">Scott Hough</a>");
endtable();


	makelabelcode("<b>$lang->graphics_and_style</b>", "<a href=\"http://www.surfionline.com\" target=\"_blank\">Chris Boulton</a><br /><a href=\"http://www.templatesforall.com\" target=\"_blank\">Scott Hough</a>");
endtable();


Zeile 218Zeile 218
	);

require_once MYBB_ROOT."inc/class_xml.php";

	);

require_once MYBB_ROOT."inc/class_xml.php";

	$contents = @implode("", @file("http://mybboard.com/version_check.php"));

	$contents = @implode("", @file("http://mybboard.net/version_check.php"));

	if(!$contents)
{
cperror($lang->vercheck_error);

	if(!$contents)
{
cperror($lang->vercheck_error);

Zeile 234Zeile 234
	{
$latest_version = "<span style=\"color: red\">".$latest_version."</font>";
$version_warn = 1;

	{
$latest_version = "<span style=\"color: red\">".$latest_version."</font>";
$version_warn = 1;

		$updated_cache = array(
"latest_version" => $latest_version,
"latest_version_code" => $latest_code
);

		$updated_cache['latest_version'] = $latest_version;
$updated_cache['latest_version_code'] = $latest_code;



	}

$cache->update("update_check", $updated_cache);

	}

$cache->update("update_check", $updated_cache);

Zeile 246Zeile 244

require_once MYBB_ROOT."inc/class_feedparser.php";
$feed_parser = new FeedParser();


require_once MYBB_ROOT."inc/class_feedparser.php";
$feed_parser = new FeedParser();

	$feed_parser->parse_feed("http://www.mybboard.com/latest_news.php");

	$feed_parser->parse_feed("http://www.mybboard.net/latest_news.php");

	echo $feed_parser->error;
cpheader();
starttable();

	echo $feed_parser->error;
cpheader();
starttable();