Vergleich admin/modules/config/profile_fields.php - 1.8.5 - 1.8.24

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 112Zeile 112
			$cache->update_profilefields();

// Log admin action

			$cache->update_profilefields();

// Log admin action

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

			log_admin_action($fid, $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 318Zeile 318
	$form->output_submit_wrapper($buttons);
$form->end();


	$form->output_submit_wrapper($buttons);
$form->end();


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

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

	<script type="text/javascript">

	<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 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 634Zeile 634
	$form->output_submit_wrapper($buttons);
$form->end();


	$form->output_submit_wrapper($buttons);
$form->end();


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

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

	<script type="text/javascript">

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