Vergleich admin/modules/config/profile_fields.php - 1.8.4 - 1.8.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 89Zeile 89
				"regex" => $db->escape_string($mybb->input['regex']),
"length" => $mybb->get_input('length', MyBB::INPUT_INT),
"maxlength" => $mybb->get_input('maxlength', MyBB::INPUT_INT),

				"regex" => $db->escape_string($mybb->input['regex']),
"length" => $mybb->get_input('length', MyBB::INPUT_INT),
"maxlength" => $mybb->get_input('maxlength', MyBB::INPUT_INT),

				"required" => $db->escape_string($mybb->input['required']),
"registration" => $db->escape_string($mybb->input['registration']),
"profile" => $db->escape_string($mybb->input['profile']),

				"required" => $mybb->get_input('required', MyBB::INPUT_INT),
"registration" => $mybb->get_input('registration', MyBB::INPUT_INT),
"profile" => $mybb->get_input('profile', MyBB::INPUT_INT),

				"viewableby" => $db->escape_string($mybb->input['viewableby']),
"editableby" => $db->escape_string($mybb->input['editableby']),

				"viewableby" => $db->escape_string($mybb->input['viewableby']),
"editableby" => $db->escape_string($mybb->input['editableby']),

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

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

				"postnum" => $mybb->get_input('postnum', MyBB::INPUT_INT),
"allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT),
"allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT),

				"postnum" => $mybb->get_input('postnum', MyBB::INPUT_INT),
"allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT),
"allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT),

Zeile 112Zeile 112
			$cache->update_profilefields();

// Log admin action

			$cache->update_profilefields();

// Log admin action

			log_admin_action($fid, $mybb->input['name']);

			log_admin_action($fid, htmlspecialchars_uni($mybb->input['name']));


flash_message($lang->success_profile_field_added, 'success');
admin_redirect("index.php?module=config-profile_fields");


flash_message($lang->success_profile_field_added, 'success');
admin_redirect("index.php?module=config-profile_fields");

Zeile 410Zeile 410
				"regex" => $db->escape_string($mybb->input['regex']),
"length" => $mybb->get_input('length', MyBB::INPUT_INT),
"maxlength" => $mybb->get_input('maxlength', MyBB::INPUT_INT),

				"regex" => $db->escape_string($mybb->input['regex']),
"length" => $mybb->get_input('length', MyBB::INPUT_INT),
"maxlength" => $mybb->get_input('maxlength', MyBB::INPUT_INT),

				"required" => $db->escape_string($mybb->input['required']),
"registration" => $db->escape_string($mybb->input['registration']),
"profile" => $db->escape_string($mybb->input['profile']),

				"required" => $mybb->get_input('required', MyBB::INPUT_INT),
"registration" => $mybb->get_input('registration', MyBB::INPUT_INT),
"profile" => $mybb->get_input('profile', MyBB::INPUT_INT),

				"viewableby" => $db->escape_string($mybb->input['viewableby']),
"editableby" => $db->escape_string($mybb->input['editableby']),

				"viewableby" => $db->escape_string($mybb->input['viewableby']),
"editableby" => $db->escape_string($mybb->input['editableby']),

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

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

				"postnum" => $mybb->get_input('postnum', MyBB::INPUT_INT),
"allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT),
"allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT),

				"postnum" => $mybb->get_input('postnum', MyBB::INPUT_INT),
"allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT),
"allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT),

Zeile 426Zeile 426

$plugins->run_hooks("admin_config_profile_fields_edit_commit");



$plugins->run_hooks("admin_config_profile_fields_edit_commit");


			$db->update_query("profilefields", $updated_profile_field, "fid = '".$mybb->get_input('fid', MyBB::INPUT_INT)."'");

			$db->update_query("profilefields", $updated_profile_field, "fid='{$profile_field['fid']}'");


$cache->update_profilefields();



$cache->update_profilefields();


Zeile 443Zeile 443

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


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

		'link' => "index.php?module=config-profile_fields&action=edit&fid=".$mybb->get_input('fid', MyBB::INPUT_INT),

		'link' => "index.php?module=config-profile_fields&action=edit&fid={$profile_field['fid']}",

		'description' => $lang->edit_profile_field_desc
);


		'description' => $lang->edit_profile_field_desc
);