Vergleich admin/modules/config/plugins.php - 1.6.0 - 1.6.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: plugins.php 5117 2010-07-26 04:09:21Z RyanGordon $

 * $Id$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

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


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


	if(!array_key_exists("results", $tree))

	if(!is_array($tree) || !isset($tree['results']))

	{
$page->output_inline_error($lang->error_communication_problem);
$page->output_footer();

	{
$page->output_inline_error($lang->error_communication_problem);
$page->output_footer();

Zeile 225Zeile 225
		admin_redirect("index.php?module=config-plugins");
}


		admin_redirect("index.php?module=config-plugins");
}


	$url = "http://mods.mybboard.net/version_check.php?";

	$url = "http://mods.mybb.com/version_check.php?";

	foreach($info as $guid)
{
$url .= "info[]=".urlencode($guid)."&";

	foreach($info as $guid)
{
$url .= "info[]=".urlencode($guid)."&";

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

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

	









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


	if(array_key_exists('error', $tree['plugins']))
{
switch($tree['plugins'][0]['error'])

	if(array_key_exists('error', $tree['plugins']))
{
switch($tree['plugins'][0]['error'])

Zeile 288Zeile 295
			$table->construct_cell("<strong>{$names[$plugin['attributes']['guid']]['name']}</strong>");
$table->construct_cell("{$names[$plugin['attributes']['guid']]['version']}", array("class" => "align_center"));
$table->construct_cell("<strong><span style=\"color: #C00\">{$plugin['version']['value']}</span></strong>", array("class" => "align_center"));

			$table->construct_cell("<strong>{$names[$plugin['attributes']['guid']]['name']}</strong>");
$table->construct_cell("{$names[$plugin['attributes']['guid']]['version']}", array("class" => "align_center"));
$table->construct_cell("<strong><span style=\"color: #C00\">{$plugin['version']['value']}</span></strong>", array("class" => "align_center"));

			$table->construct_cell("<strong><a href=\"http://mods.mybboard.net/view/{$plugin['download_url']['value']}\" target=\"_blank\">{$lang->download}</a></strong>", array("class" => "align_center"));

			$table->construct_cell("<strong><a href=\"http://mods.mybb.com/view/{$plugin['download_url']['value']}\" target=\"_blank\">{$lang->download}</a></strong>", array("class" => "align_center"));

			$table->construct_row();
}
}

			$table->construct_row();
}
}