Vergleich admin/modules/home/credits.php - 1.8.4 - 1.8.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 30Zeile 30

$sub_tabs['credits_about'] = array(
'title' => $lang->about_the_team,


$sub_tabs['credits_about'] = array(
'title' => $lang->about_the_team,

		'link' => "http://www.mybb.com/about/team",

		'link' => "https://mybb.com/about/team",

		'link_target' => "_blank",
);


		'link_target' => "_blank",
);


Zeile 52Zeile 52
		);

require_once MYBB_ROOT."inc/class_xml.php";

		);

require_once MYBB_ROOT."inc/class_xml.php";

		$contents = fetch_remote_file("http://www.mybb.com/mybb_team.xml");

		$contents = fetch_remote_file("https://mybb.com/mybb_team.xml");


if(!$contents)
{


if(!$contents)
{

Zeile 61Zeile 61
			{
admin_redirect('index.php?module=tools-cache');
}

			{
admin_redirect('index.php?module=tools-cache');
}

			admin_redirect('index.php?module=home-credits');

			admin_redirect('index.php?module=home-credits&fetch_new=-1');

		}

$parser = new XMLParser($contents);

		}

$parser = new XMLParser($contents);

Zeile 97Zeile 97
		else
{
flash_message($lang->success_credits_updated, 'success');

		else
{
flash_message($lang->success_credits_updated, 'success');

			admin_redirect('index.php?module=home-credits');

			admin_redirect('index.php?module=home-credits&fetch_new=-1');

		}
}


		}
}