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

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 82Zeile 82
		exit;
}


		exit;
}


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

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

	if($latest_code > $mybb->version_code)
{
$latest_version = "<span style=\"color: #C00;\">".$latest_version."</span>";

	if($latest_code > $mybb->version_code)
{
$latest_version = "<span style=\"color: #C00;\">".$latest_version."</span>";

Zeile 121Zeile 121
	{
$page->output_success("<p><em>{$lang->success_up_to_date}</em></p>");
}

	{
$page->output_success("<p><em>{$lang->success_up_to_date}</em></p>");
}

	





require_once MYBB_ROOT . '/inc/class_parser.php';
$post_parser = new postParser();


	if($feed_parser->error == '')
{
foreach($feed_parser->items as $item)

	if($feed_parser->error == '')
{
foreach($feed_parser->items as $item)

Zeile 129Zeile 132
			if($item['date_timestamp'])
{
$stamp = my_date($mybb->settings['dateformat'], $item['date_timestamp']).", ".my_date($mybb->settings['timeformat'], $item['date_timestamp']);

			if($item['date_timestamp'])
{
$stamp = my_date($mybb->settings['dateformat'], $item['date_timestamp']).", ".my_date($mybb->settings['timeformat'], $item['date_timestamp']);

			}
else
{

			}
else
{

				$stamp = '';
}
if($item['content'])

				$stamp = '';
}
if($item['content'])

Zeile 142Zeile 145
			{
$content = $item['description'];
}

			{
$content = $item['description'];
}

 

$item['title'] = htmlspecialchars_uni($item['title']);
$item['link'] = htmlspecialchars_uni($item['link']);

$content = $post_parser->parse_message($content, array(
'allow_html' => true,
)
);


			$table->construct_cell("<span style=\"font-size: 16px;\"><strong>".$item['title']."</strong></span><br /><br />{$content}<strong><span style=\"float: right;\">{$stamp}</span><br /><br /><a href=\"{$item['link']}\" target=\"_blank\">&raquo; {$lang->read_more}</a></strong>");
$table->construct_row();
}

			$table->construct_cell("<span style=\"font-size: 16px;\"><strong>".$item['title']."</strong></span><br /><br />{$content}<strong><span style=\"float: right;\">{$stamp}</span><br /><br /><a href=\"{$item['link']}\" target=\"_blank\">&raquo; {$lang->read_more}</a></strong>");
$table->construct_row();
}