Vergleich admin/modules/config/profile_fields.php - 1.6.12 - 1.6.18

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 73Zeile 73
			$plugins->run_hooks("admin_config_profile_fields_add_commit");

// Log admin action

			$plugins->run_hooks("admin_config_profile_fields_add_commit");

// 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 209Zeile 209
			$plugins->run_hooks("admin_config_profile_fields_edit_commit");

// Log admin action

			$plugins->run_hooks("admin_config_profile_fields_edit_commit");

// Log admin action

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

			log_admin_action($profile_field['fid'], htmlspecialchars_uni($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 274Zeile 274
	echo '<script type="text/javascript" src="./jscripts/peeker.js"></script>
<script type="text/javascript">
Event.observe(window, "load", function() {

	echo '<script type="text/javascript" src="./jscripts/peeker.js"></script>
<script type="text/javascript">
Event.observe(window, "load", function() {

				var maxlength_peeker = new Peeker("fieldtype", "row_maxlength", /text|textarea/);
var fieldlength_peeker = new Peeker("fieldtype", "row_fieldlength", /select|multiselect/);
var options_peeker = new Peeker("fieldtype", "row_options", /select|radio|checkbox/);

				var maxlength_peeker = new Peeker($("fieldtype"), $("row_maxlength"), /text|textarea/);
var fieldlength_peeker = new Peeker($("fieldtype"), $("row_fieldlength"), /select|multiselect/);
var options_peeker = new Peeker($("fieldtype"), $("row_options"), /select|radio|checkbox/);

				// Add a star to the extra row since the "extra" is required if the box is shown
add_star("row_maxlength");
add_star("row_fieldlength");

				// Add a star to the extra row since the "extra" is required if the box is shown
add_star("row_maxlength");
add_star("row_fieldlength");

Zeile 316Zeile 316
		$plugins->run_hooks("admin_config_profile_fields_delete_commit");

// Log admin action

		$plugins->run_hooks("admin_config_profile_fields_delete_commit");

// Log admin action

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

		log_admin_action($profile_field['fid'], htmlspecialchars_uni($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");