Zeile 112 | Zeile 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 426 | Zeile 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 443 | Zeile 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 );
|
Zeile 681 | Zeile 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");
|