Vergleich misc.php - 1.6.5 - 1.6.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 99Zeile 99
elseif($mybb->input['action'] == "clearpass")
{
$plugins->run_hooks("misc_clearpass");

elseif($mybb->input['action'] == "clearpass")
{
$plugins->run_hooks("misc_clearpass");

 

verify_post_check($mybb->input['my_post_key']);


if($mybb->input['fid'])
{


if($mybb->input['fid'])
{

Zeile 150Zeile 152

eval("\$rules = \"".$templates->get("misc_rules_forum")."\";");
output_page($rules);


eval("\$rules = \"".$templates->get("misc_rules_forum")."\";");
output_page($rules);

	}

	}


}
elseif($mybb->input['action'] == "help")


}
elseif($mybb->input['action'] == "help")

Zeile 176Zeile 178
			$plugins->run_hooks("misc_help_helpdoc_start");

if($helpdoc['usetranslation'] == 1)

			$plugins->run_hooks("misc_help_helpdoc_start");

if($helpdoc['usetranslation'] == 1)

			{

			{

				$langnamevar = "d".$helpdoc['hid']."_name";
$langdescvar = "d".$helpdoc['hid']."_desc";
$langdocvar = "d".$helpdoc['hid']."_document";
if($lang->$langnamevar)

				$langnamevar = "d".$helpdoc['hid']."_name";
$langdescvar = "d".$helpdoc['hid']."_desc";
$langdocvar = "d".$helpdoc['hid']."_document";
if($lang->$langnamevar)

				{

				{

					$helpdoc['name'] = $lang->$langnamevar;
}
if($lang->$langdescvar)
{
$helpdoc['description'] = $lang->$langdescvar;

					$helpdoc['name'] = $lang->$langnamevar;
}
if($lang->$langdescvar)
{
$helpdoc['description'] = $lang->$langdescvar;

				}

				}

				if($lang->$langdocvar)
{
$helpdoc['document'] = $lang->$langdocvar;

				if($lang->$langdocvar)
{
$helpdoc['document'] = $lang->$langdocvar;

Zeile 199Zeile 201
				}
}
add_breadcrumb($helpdoc['name']);

				}
}
add_breadcrumb($helpdoc['name']);


$plugins->run_hooks("misc_help_helpdoc_end");



$plugins->run_hooks("misc_help_helpdoc_end");


			eval("\$helppage = \"".$templates->get("misc_help_helpdoc")."\";");
output_page($helppage);
}

			eval("\$helppage = \"".$templates->get("misc_help_helpdoc")."\";");
output_page($helppage);
}

Zeile 304Zeile 306
	{
error_no_permission();
}

	{
error_no_permission();
}

	if($mybb->input['removebuddy'])



if($mybb->input['removebuddy'] && verify_post_check($mybb->input['my_post_key']))

	{
$buddies = $mybb->user['buddylist'];
$namesarray = explode(",",$buddies);

	{
$buddies = $mybb->user['buddylist'];
$namesarray = explode(",",$buddies);