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

  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 320Zeile 320

echo '<script type="text/javascript" src="./jscripts/peeker.js?ver=1804"></script>
<script type="text/javascript">


echo '<script type="text/javascript" src="./jscripts/peeker.js?ver=1804"></script>
<script type="text/javascript">

		$(document).ready(function() {

		$(function() {

				new Peeker($("#fieldtype"), $("#row_maxlength, #row_regex, #row_parser_options"), /text|textarea/, false);
new Peeker($("#fieldtype"), $("#row_fieldlength"), /select|multiselect/, false);
new Peeker($("#fieldtype"), $("#row_options"), /select|radio|checkbox/, false);

				new Peeker($("#fieldtype"), $("#row_maxlength, #row_regex, #row_parser_options"), /text|textarea/, false);
new Peeker($("#fieldtype"), $("#row_fieldlength"), /select|multiselect/, false);
new Peeker($("#fieldtype"), $("#row_options"), /select|radio|checkbox/, false);

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();

// Log admin action


$cache->update_profilefields();

// Log admin action

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

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


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


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

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&amp;action=edit&amp;fid=".$mybb->get_input('fid', MyBB::INPUT_INT),

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

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


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


Zeile 636Zeile 636

echo '<script type="text/javascript" src="./jscripts/peeker.js?ver=1804"></script>
<script type="text/javascript">


echo '<script type="text/javascript" src="./jscripts/peeker.js?ver=1804"></script>
<script type="text/javascript">

		$(document).ready(function() {

		$(function() {

				new Peeker($("#fieldtype"), $("#row_maxlength, #row_regex, #row_parser_options"), /text|textarea/);
new Peeker($("#fieldtype"), $("#row_fieldlength"), /select|multiselect/);
new Peeker($("#fieldtype"), $("#row_options"), /select|radio|checkbox/);

				new Peeker($("#fieldtype"), $("#row_maxlength, #row_regex, #row_parser_options"), /text|textarea/);
new Peeker($("#fieldtype"), $("#row_fieldlength"), /select|multiselect/);
new Peeker($("#fieldtype"), $("#row_options"), /select|radio|checkbox/);

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

// Log admin action

		$cache->update_profilefields();

// Log admin action

		log_admin_action($profile_field['fid'], htmlspecialchars_uni($profile_field['name']));

		log_admin_action($profile_field['fid'], $profile_field['name']);


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


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