Vergleich admin/modules/config/mycode.php - 1.8.4 - 1.8.8

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

$plugins->run_hooks("admin_config_mycode_toggle_status_commit");



$plugins->run_hooks("admin_config_mycode_toggle_status_commit");


	$db->update_query("mycode", $mycode_update, "cid='".$mybb->get_input('cid', MyBB::INPUT_INT)."'");

	$db->update_query("mycode", $mycode_update, "cid='{$mycode['cid']}'");


$cache->update_mycode();



$cache->update_mycode();


Zeile 117Zeile 117
				'description' => $db->escape_string($mybb->input['description']),
'regex' => $db->escape_string(str_replace("\x0", "", $mybb->input['regex'])),
'replacement' => $db->escape_string($mybb->input['replacement']),

				'description' => $db->escape_string($mybb->input['description']),
'regex' => $db->escape_string(str_replace("\x0", "", $mybb->input['regex'])),
'replacement' => $db->escape_string($mybb->input['replacement']),

				'active' => $db->escape_string($mybb->input['active']),

				'active' => $mybb->get_input('active', MyBB::INPUT_INT),

				'parseorder' => $mybb->get_input('parseorder', MyBB::INPUT_INT)
);


				'parseorder' => $mybb->get_input('parseorder', MyBB::INPUT_INT)
);


Zeile 244Zeile 244
				'description' => $db->escape_string($mybb->input['description']),
'regex' => $db->escape_string(str_replace("\x0", "", $mybb->input['regex'])),
'replacement' => $db->escape_string($mybb->input['replacement']),

				'description' => $db->escape_string($mybb->input['description']),
'regex' => $db->escape_string(str_replace("\x0", "", $mybb->input['regex'])),
'replacement' => $db->escape_string($mybb->input['replacement']),

				'active' => $db->escape_string($mybb->input['active']),

				'active' => $mybb->get_input('active', MyBB::INPUT_INT),

				'parseorder' => $mybb->get_input('parseorder', MyBB::INPUT_INT)
);

$plugins->run_hooks("admin_config_mycode_edit_commit");


				'parseorder' => $mybb->get_input('parseorder', MyBB::INPUT_INT)
);

$plugins->run_hooks("admin_config_mycode_edit_commit");


			$db->update_query("mycode", $updated_mycode, "cid='".$mybb->get_input('cid', MyBB::INPUT_INT)."'");

			$db->update_query("mycode", $updated_mycode, "cid='{$mycode['cid']}'");


$cache->update_mycode();



$cache->update_mycode();


Zeile 428Zeile 428
	$page->output_footer();
}


	$page->output_footer();
}


 
/**
* @param string $regex
* @param string $replacement
* @param string $test
*
* @return array
*/

function test_regex($regex, $replacement, $test)
{
$array = array();

function test_regex($regex, $replacement, $test)
{
$array = array();