Vergleich admin/modules/user/users.php - 1.8.4 - 1.8.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 567Zeile 567
			"showcodebuttons" => $mybb->input['showcodebuttons'],
"sourceeditor" => $mybb->input['sourceeditor'],
"pmnotify" => $mybb->input['pmnotify'],

			"showcodebuttons" => $mybb->input['showcodebuttons'],
"sourceeditor" => $mybb->input['sourceeditor'],
"pmnotify" => $mybb->input['pmnotify'],

 
			"buddyrequestspm" => $mybb->input['buddyrequestspm'],
"buddyrequestsauto" => $mybb->input['buddyrequestsauto'],

			"showredirect" => $mybb->input['showredirect']
);


			"showredirect" => $mybb->input['showredirect']
);


Zeile 916Zeile 918
	$page->extra_header .= <<<EOF

<link rel="stylesheet" href="../jscripts/sceditor/editor_themes/mybb.css" type="text/css" media="all" />

	$page->extra_header .= <<<EOF

<link rel="stylesheet" href="../jscripts/sceditor/editor_themes/mybb.css" type="text/css" media="all" />

	<script type="text/javascript" src="../jscripts/sceditor/jquery.sceditor.bbcode.min.js"></script>

	<script type="text/javascript" src="../jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1805"></script>

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

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

	<script type="text/javascript" src="../jscripts/sceditor/editor_plugins/undo.js?ver=1804"></script>

	<script type="text/javascript" src="../jscripts/sceditor/editor_plugins/undo.js?ver=1805"></script>

EOF;
$page->output_header($lang->edit_user);


EOF;
$page->output_header($lang->edit_user);


Zeile 1051Zeile 1053

if($mybb->settings['enablewarningsystem'] != 0 && $user_permissions['canreceivewarnings'] != 0)
{


if($mybb->settings['enablewarningsystem'] != 0 && $user_permissions['canreceivewarnings'] != 0)
{

 
		if($mybb->settings['maxwarningpoints'] < 1)
{
$mybb->settings['maxwarningpoints'] = 10;
}


		$warning_level = round($user['warningpoints']/$mybb->settings['maxwarningpoints']*100);
if($warning_level > 100)
{

		$warning_level = round($user['warningpoints']/$mybb->settings['maxwarningpoints']*100);
if($warning_level > 100)
{

Zeile 1070Zeile 1077
	$table->construct_cell("<div style=\"width: 126px; height: 126px;\" class=\"user_avatar\"><img src=\"".htmlspecialchars_uni($user['avatar'])."\" style=\"margin-top: {$avatar_top}px\" width=\"{$scaled_dimensions['width']}\" height=\"{$scaled_dimensions['height']}\" alt=\"\" /></div>", array('rowspan' => 6, 'width' => 1));
$table->construct_cell("<strong>{$lang->email_address}:</strong> <a href=\"mailto:".htmlspecialchars_uni($user['email'])."\">".htmlspecialchars_uni($user['email'])."</a>");
$table->construct_cell("<strong>{$lang->last_active}:</strong> {$last_active}");

	$table->construct_cell("<div style=\"width: 126px; height: 126px;\" class=\"user_avatar\"><img src=\"".htmlspecialchars_uni($user['avatar'])."\" style=\"margin-top: {$avatar_top}px\" width=\"{$scaled_dimensions['width']}\" height=\"{$scaled_dimensions['height']}\" alt=\"\" /></div>", array('rowspan' => 6, 'width' => 1));
$table->construct_cell("<strong>{$lang->email_address}:</strong> <a href=\"mailto:".htmlspecialchars_uni($user['email'])."\">".htmlspecialchars_uni($user['email'])."</a>");
$table->construct_cell("<strong>{$lang->last_active}:</strong> {$last_active}");

	$table->construct_row();

	$table->construct_row();

	$table->construct_cell("<strong>{$lang->registration_date}:</strong> {$reg_date}");
$table->construct_cell("<strong>{$lang->local_time}:</strong> {$localtime}");
$table->construct_row();

	$table->construct_cell("<strong>{$lang->registration_date}:</strong> {$reg_date}");
$table->construct_cell("<strong>{$lang->local_time}:</strong> {$localtime}");
$table->construct_row();

Zeile 1088Zeile 1095
	$table->construct_row();

$table->output("{$lang->user_overview}: {$user['username']}");

	$table->construct_row();

$table->output("{$lang->user_overview}: {$user['username']}");

	echo "</div>\n";

//

	echo "</div>\n";

//

	// PROFILE
//
echo "<div id=\"tab_profile\">\n";

	// PROFILE
//
echo "<div id=\"tab_profile\">\n";

Zeile 1100Zeile 1107
	$form_container->output_row($lang->new_password, $lang->new_password_desc, $form->generate_password_box('new_password', $mybb->input['new_password'], array('id' => 'new_password', 'autocomplete' => 'off')), 'new_password');
$form_container->output_row($lang->confirm_new_password, $lang->new_password_desc, $form->generate_password_box('confirm_new_password', $mybb->input['confirm_new_password'], array('id' => 'confirm_new_password')), 'confirm_new_password');
$form_container->output_row($lang->email_address." <em>*</em>", "", $form->generate_text_box('email', $mybb->input['email'], array('id' => 'email')), 'email');

	$form_container->output_row($lang->new_password, $lang->new_password_desc, $form->generate_password_box('new_password', $mybb->input['new_password'], array('id' => 'new_password', 'autocomplete' => 'off')), 'new_password');
$form_container->output_row($lang->confirm_new_password, $lang->new_password_desc, $form->generate_password_box('confirm_new_password', $mybb->input['confirm_new_password'], array('id' => 'confirm_new_password')), 'confirm_new_password');
$form_container->output_row($lang->email_address." <em>*</em>", "", $form->generate_text_box('email', $mybb->input['email'], array('id' => 'email')), 'email');





	$display_group_options[0] = $lang->use_primary_user_group;
$options = array();
$query = $db->simple_select("usergroups", "gid, title", "gid != '1'", array('order_by' => 'title'));
while($usergroup = $db->fetch_array($query))

	$display_group_options[0] = $lang->use_primary_user_group;
$options = array();
$query = $db->simple_select("usergroups", "gid, title", "gid != '1'", array('order_by' => 'title'));
while($usergroup = $db->fetch_array($query))

	{

	{

		$options[$usergroup['gid']] = htmlspecialchars_uni($usergroup['title']);
$display_group_options[$usergroup['gid']] = htmlspecialchars_uni($usergroup['title']);
}

		$options[$usergroup['gid']] = htmlspecialchars_uni($usergroup['title']);
$display_group_options[$usergroup['gid']] = htmlspecialchars_uni($usergroup['title']);
}

Zeile 1127Zeile 1134
		$profile_fields['required'] = array();
}
output_custom_profile_fields($profile_fields['required'], $mybb->input['profile_fields'], $form_container, $form);

		$profile_fields['required'] = array();
}
output_custom_profile_fields($profile_fields['required'], $mybb->input['profile_fields'], $form_container, $form);


$form_container->end();



$form_container->end();


	$form_container = new FormContainer($lang->optional_profile_info.": {$user['username']}");
$form_container->output_row($lang->custom_user_title, $lang->custom_user_title_desc, $form->generate_text_box('usertitle', $mybb->input['usertitle'], array('id' => 'usertitle')), 'usertitle');
$form_container->output_row($lang->website, "", $form->generate_text_box('website', $mybb->input['website'], array('id' => 'website')), 'website');

	$form_container = new FormContainer($lang->optional_profile_info.": {$user['username']}");
$form_container->output_row($lang->custom_user_title, $lang->custom_user_title_desc, $form->generate_text_box('usertitle', $mybb->input['usertitle'], array('id' => 'usertitle')), 'usertitle');
$form_container->output_row($lang->website, "", $form->generate_text_box('website', $mybb->input['website'], array('id' => 'website')), 'website');

Zeile 1207Zeile 1214
	$form_container = new FormContainer($lang->account_settings.": {$user['username']}");
$login_options = array(
$form->generate_check_box("invisible", 1, $lang->hide_from_whos_online, array("checked" => $mybb->input['invisible'])),

	$form_container = new FormContainer($lang->account_settings.": {$user['username']}");
$login_options = array(
$form->generate_check_box("invisible", 1, $lang->hide_from_whos_online, array("checked" => $mybb->input['invisible'])),

	);

	);

	$form_container->output_row($lang->login_cookies_privacy, "", "<div class=\"user_settings_bit\">".implode("</div><div class=\"user_settings_bit\">", $login_options)."</div>");

if($mybb->input['pmnotice'] > 1)

	$form_container->output_row($lang->login_cookies_privacy, "", "<div class=\"user_settings_bit\">".implode("</div><div class=\"user_settings_bit\">", $login_options)."</div>");

if($mybb->input['pmnotice'] > 1)

Zeile 1222Zeile 1229
		$form->generate_check_box("receivefrombuddy", 1, $lang->recieve_pms_from_buddy, array("checked" => $mybb->input['receivefrombuddy'])),
$form->generate_check_box("pmnotice", 1, $lang->alert_new_pms, array("checked" => $mybb->input['pmnotice'])),
$form->generate_check_box("pmnotify", 1, $lang->email_notify_new_pms, array("checked" => $mybb->input['pmnotify'])),

		$form->generate_check_box("receivefrombuddy", 1, $lang->recieve_pms_from_buddy, array("checked" => $mybb->input['receivefrombuddy'])),
$form->generate_check_box("pmnotice", 1, $lang->alert_new_pms, array("checked" => $mybb->input['pmnotice'])),
$form->generate_check_box("pmnotify", 1, $lang->email_notify_new_pms, array("checked" => $mybb->input['pmnotify'])),

 
		$form->generate_check_box("buddyrequestspm", 1, $lang->buddy_requests_pm, array("checked" => $mybb->input['buddyrequestspm'])),
$form->generate_check_box("buddyrequestsauto", 1, $lang->buddy_requests_auto, array("checked" => $mybb->input['buddyrequestsauto'])),

		"<label for=\"subscriptionmethod\">{$lang->default_thread_subscription_mode}:</label><br />".$form->generate_select_box("subscriptionmethod", array($lang->do_not_subscribe, $lang->no_email_notification, $lang->instant_email_notification), $mybb->input['subscriptionmethod'], array('id' => 'subscriptionmethod'))
);
$form_container->output_row($lang->messaging_and_notification, "", "<div class=\"user_settings_bit\">".implode("</div><div class=\"user_settings_bit\">", $messaging_options)."</div>");

		"<label for=\"subscriptionmethod\">{$lang->default_thread_subscription_mode}:</label><br />".$form->generate_select_box("subscriptionmethod", array($lang->do_not_subscribe, $lang->no_email_notification, $lang->instant_email_notification), $mybb->input['subscriptionmethod'], array('id' => 'subscriptionmethod'))
);
$form_container->output_row($lang->messaging_and_notification, "", "<div class=\"user_settings_bit\">".implode("</div><div class=\"user_settings_bit\">", $messaging_options)."</div>");

Zeile 1364Zeile 1373

// Display how much time is left on the ban for the user to extend it
if($user['suspendsigtime'] == "0")


// Display how much time is left on the ban for the user to extend it
if($user['suspendsigtime'] == "0")

		{

		{

			// Permanent
$lang->suspend_expire_info = $lang->suspend_sig_perm;
}

			// Permanent
$lang->suspend_expire_info = $lang->suspend_sig_perm;
}

Zeile 1378Zeile 1387
			if($remaining < 3600)
{
$color = 'red';

			if($remaining < 3600)
{
$color = 'red';

			}

			}

			elseif($remaining < 86400)
{
$color = 'maroon';

			elseif($remaining < 86400)
{
$color = 'maroon';

Zeile 1402Zeile 1411
	}

$actions = '

	}

$actions = '

	<script type="text/javascript">
<!--

	<script type="text/javascript">
<!--

		var sig_checked = "'.$sig_checked.'";

function toggleAction()

		var sig_checked = "'.$sig_checked.'";

function toggleAction()

Zeile 1442Zeile 1451
	</script>';

$form_container->output_row($lang->suspend_sig, $lang->suspend_sig_info, $actions);

	</script>';

$form_container->output_row($lang->suspend_sig, $lang->suspend_sig_info, $actions);





	$signature_options = array(
$form->generate_radio_button("update_posts", "enable", $lang->enable_sig_in_all_posts, array("checked" => 0)),
$form->generate_radio_button("update_posts", "disable", $lang->disable_sig_in_all_posts, array("checked" => 0)),

	$signature_options = array(
$form->generate_radio_button("update_posts", "enable", $lang->enable_sig_in_all_posts, array("checked" => 0)),
$form->generate_radio_button("update_posts", "disable", $lang->disable_sig_in_all_posts, array("checked" => 0)),

Zeile 1637Zeile 1646
			$("#modpost").show();
}
else if($("#moderateposting").is(":checked") == false)

			$("#modpost").show();
}
else if($("#moderateposting").is(":checked") == false)

		{

		{

			$("#modpost").hide();
}
}

			$("#modpost").hide();
}
}

Zeile 1647Zeile 1656
		$("#modpost").hide();

if($("#suspendposting").is(":checked") == true)

		$("#modpost").hide();

if($("#suspendposting").is(":checked") == true)

		{

		{

			$("#suspost").show();
}
else if($("#suspendposting").is(":checked") == false)

			$("#suspost").show();
}
else if($("#suspendposting").is(":checked") == false)

Zeile 1660Zeile 1669
if($("#moderateposting").is(":checked") == false)
{
$("#modpost").hide();

if($("#moderateposting").is(":checked") == false)
{
$("#modpost").hide();

}
else
{

}
else
{

	$("#modpost").show();
}

if($("#suspendposting").is(":checked") == false)

	$("#modpost").show();
}

if($("#suspendposting").is(":checked") == false)

{

{

	$("#suspost").hide();
}
else

	$("#suspost").hide();
}
else

Zeile 1677Zeile 1686

// -->
</script>';


// -->
</script>';


$page->output_footer();


$page->output_footer();

}

if($mybb->input['action'] == "delete")

}

if($mybb->input['action'] == "delete")

Zeile 1693Zeile 1702
	}

if(is_super_admin($mybb->input['uid']) && $mybb->user['uid'] != $mybb->input['uid'] && !is_super_admin($mybb->user['uid']))

	}

if(is_super_admin($mybb->input['uid']) && $mybb->user['uid'] != $mybb->input['uid'] && !is_super_admin($mybb->user['uid']))

	{

	{

		flash_message($lang->error_no_perms_super_admin, 'error');
admin_redirect("index.php?module=user-users");
}

		flash_message($lang->error_no_perms_super_admin, 'error');
admin_redirect("index.php?module=user-users");
}

Zeile 1703Zeile 1712
	{
admin_redirect("index.php?module=user-users");
}

	{
admin_redirect("index.php?module=user-users");
}





	$plugins->run_hooks("admin_user_users_delete");

if($mybb->request_method == "post")

	$plugins->run_hooks("admin_user_users_delete");

if($mybb->request_method == "post")

Zeile 1718Zeile 1727
		if(!$userhandler->delete_user($user['uid']))
{
flash_message($lang->error_cannot_delete_user, 'error');

		if(!$userhandler->delete_user($user['uid']))
{
flash_message($lang->error_cannot_delete_user, 'error');

			admin_redirect("index.php?module=user-users");

			admin_redirect("index.php?module=user-users");

		}

$cache->update_awaitingactivation();

		}

$cache->update_awaitingactivation();

Zeile 1796Zeile 1805
		'link' => "index.php?module=user-users&amp;action=ipaddresses&amp;uid={$mybb->input['uid']}",
'description' => $lang->show_ip_addresses_desc
);

		'link' => "index.php?module=user-users&amp;action=ipaddresses&amp;uid={$mybb->input['uid']}",
'description' => $lang->show_ip_addresses_desc
);





	$plugins->run_hooks("admin_user_users_ipaddresses");

$page->output_nav_tabs($sub_tabs, 'ipaddresses');

	$plugins->run_hooks("admin_user_users_ipaddresses");

$page->output_nav_tabs($sub_tabs, 'ipaddresses');

Zeile 1874Zeile 1883

$page->output_footer();
}


$page->output_footer();
}





if($mybb->input['action'] == "merge")
{
$plugins->run_hooks("admin_user_users_merge");

if($mybb->input['action'] == "merge")
{
$plugins->run_hooks("admin_user_users_merge");

Zeile 1889Zeile 1898

$destination_user = get_user_by_username($mybb->input['destination_username'], array('fields' => '*'));
if(!$destination_user['uid'])


$destination_user = get_user_by_username($mybb->input['destination_username'], array('fields' => '*'));
if(!$destination_user['uid'])

		{

		{

			$errors[] = $lang->error_invalid_user_destination;
}


			$errors[] = $lang->error_invalid_user_destination;
}


Zeile 1898Zeile 1907
		{
flash_message($lang->error_no_perms_super_admin, 'error');
admin_redirect("index.php?module=user-users");

		{
flash_message($lang->error_no_perms_super_admin, 'error');
admin_redirect("index.php?module=user-users");

		}


		}


		if($source_user['uid'] == $destination_user['uid'])
{
$errors[] = $lang->error_cannot_merge_same_account;

		if($source_user['uid'] == $destination_user['uid'])
{
$errors[] = $lang->error_cannot_merge_same_account;

Zeile 1913Zeile 1922
			);
$query = $db->simple_select("adminoptions", "uid", "uid='{$destination_user['uid']}'");
$existing_admin_options = $db->fetch_field($query, "uid");

			);
$query = $db->simple_select("adminoptions", "uid", "uid='{$destination_user['uid']}'");
$existing_admin_options = $db->fetch_field($query, "uid");





			// Only carry over admin options/permissions if we don't already have them
if(!$existing_admin_options)
{

			// Only carry over admin options/permissions if we don't already have them
if(!$existing_admin_options)
{

Zeile 1991Zeile 2000
			$db->update_query("users", array('reputation' => (int)$total_reputation), "uid='{$destination_user['uid']}'");

// Calculate warning points

			$db->update_query("users", array('reputation' => (int)$total_reputation), "uid='{$destination_user['uid']}'");

// Calculate warning points

			$query = $db->query("

			$query = $db->query("

				SELECT SUM(points) as warn_lev
FROM ".TABLE_PREFIX."warnings
WHERE uid='{$source_user['uid']}' AND expired='0'

				SELECT SUM(points) as warn_lev
FROM ".TABLE_PREFIX."warnings
WHERE uid='{$source_user['uid']}' AND expired='0'

Zeile 2134Zeile 2143
	<script type="text/javascript">
<!--
$("#source_username").select2({

	<script type="text/javascript">
<!--
$("#source_username").select2({

		placeholder: "Search for a user",

		placeholder: "'.$lang->search_for_a_user.'",

		minimumInputLength: 3,
maximumSelectionSize: 3,
multiple: false,

		minimumInputLength: 3,
maximumSelectionSize: 3,
multiple: false,

Zeile 2164Zeile 2173
		}
});
$("#destination_username").select2({

		}
});
$("#destination_username").select2({

		placeholder: "Search for a user",

		placeholder: "'.$lang->search_for_a_user.'",

		minimumInputLength: 3,
maximumSelectionSize: 3,
multiple: false,

		minimumInputLength: 3,
maximumSelectionSize: 3,
multiple: false,

Zeile 2934Zeile 2943
						// Update the users in the database
$sql = implode(",", $users_to_update);
$db->update_query("users", $update_array, "uid IN (".$sql.")");

						// Update the users in the database
$sql = implode(",", $users_to_update);
$db->update_query("users", $update_array, "uid IN (".$sql.")");





						// Redirect the admin...
$mybb->input['action'] = "inline_usergroup";
log_admin_action($to_update_count);

						// Redirect the admin...
$mybb->input['action'] = "inline_usergroup";
log_admin_action($to_update_count);

Zeile 3093Zeile 3102
	$page->output_footer();
}


	$page->output_footer();
}


 
/**
* @param array $view
*
* @return string
*/

function build_users_view($view)
{
global $mybb, $db, $cache, $lang, $user_view_fields, $page;

function build_users_view($view)
{
global $mybb, $db, $cache, $lang, $user_view_fields, $page;

Zeile 3167Zeile 3181
	if(empty($view))
{
return false;

	if(empty($view))
{
return false;

	}

$table = new Table;


	}

$table = new Table;


	// Build header for table based view
if($view['view_type'] != "card")
{

	// Build header for table based view
if($view['view_type'] != "card")
{

Zeile 3248Zeile 3262
	// Registration searching
$reg_fields = array("regdate");
foreach($reg_fields as $search_field)

	// Registration searching
$reg_fields = array("regdate");
foreach($reg_fields as $search_field)

	{

	{

		if(!empty($view['conditions'][$search_field]) && (int)$view['conditions'][$search_field])
{
$threshold = TIME_NOW - ((int)$view['conditions'][$search_field] * 24 * 60 * 60);

		if(!empty($view['conditions'][$search_field]) && (int)$view['conditions'][$search_field])
{
$threshold = TIME_NOW - ((int)$view['conditions'][$search_field] * 24 * 60 * 60);

Zeile 3327Zeile 3341
					{
$userfield_sql .= ' AND '.$db->escape_string($column)."='".$db->escape_string($value)."'";
}

					{
$userfield_sql .= ' AND '.$db->escape_string($column)."='".$db->escape_string($value)."'";
}

				}

				}

			}
else if(!empty($input))
{
if($input == $lang->na)

			}
else if(!empty($input))
{
if($input == $lang->na)

				{

				{

					continue;
}

if(strpos($column, '_blank') !== false)

					continue;
}

if(strpos($column, '_blank') !== false)

				{

				{

					$column = str_replace('_blank', '', $column);
$userfield_sql .= ' AND '.$db->escape_string($column)." != ''";
}
else
{

					$column = str_replace('_blank', '', $column);
$userfield_sql .= ' AND '.$db->escape_string($column)." != ''";
}
else
{

					$userfield_sql .= ' AND '.$db->escape_string($column)." LIKE '%".$db->escape_string($input)."%'";

					$userfield_sql .= ' AND '.$db->escape_string($column)." LIKE '%".$db->escape_string_like($input)."%'";

				}
}
}

				}
}
}

Zeile 3367Zeile 3381
		if(!is_array($view['conditions']['usergroup']))
{
$view['conditions']['usergroup'] = array($view['conditions']['usergroup']);

		if(!is_array($view['conditions']['usergroup']))
{
$view['conditions']['usergroup'] = array($view['conditions']['usergroup']);

		}

		}


foreach($view['conditions']['usergroup'] as $usergroup)
{


foreach($view['conditions']['usergroup'] as $usergroup)
{

Zeile 3563Zeile 3577

if($mybb->settings['enablewarningsystem'] != 0 && $usergroups[$user['usergroup']]['canreceivewarnings'] != 0)
{


if($mybb->settings['enablewarningsystem'] != 0 && $usergroups[$user['usergroup']]['canreceivewarnings'] != 0)
{

 
				if($mybb->settings['maxwarningpoints'] < 1)
{
$mybb->settings['maxwarningpoints'] = 10;
}


				$warning_level = round($user['warningpoints']/$mybb->settings['maxwarningpoints']*100);
if($warning_level > 100)
{

				$warning_level = round($user['warningpoints']/$mybb->settings['maxwarningpoints']*100);
if($warning_level > 100)
{

Zeile 3765Zeile 3784
	return $built_view;
}


	return $built_view;
}


 
/**
* @param array $user
* @param array $view
* @param int $i
*
* @return string
*/

function build_user_view_card($user, $view, &$i)
{
global $user_view_fields;

function build_user_view_card($user, $view, &$i)
{
global $user_view_fields;

Zeile 3845Zeile 3871

}



}


 
/**
* @param array $user
* @param array $view
* @param DefaultTable $table
*/

function build_user_view_table($user, $view, &$table)
{
global $user_view_fields;

function build_user_view_table($user, $view, &$table)
{
global $user_view_fields;

Zeile 3882Zeile 3913
	$table->construct_row();
}


	$table->construct_row();
}


 
/**
* @param array $user
* @param int $max_width
* @param int $max_height
*
* @return array
*/

function fetch_scaled_avatar($user, $max_width=80, $max_height=80)
{
$scaled_dimensions = array(

function fetch_scaled_avatar($user, $max_width=80, $max_height=80)
{
$scaled_dimensions = array(

Zeile 3902Zeile 3940
	return array("width" => $scaled_dimensions['width'], "height" => $scaled_dimensions['height']);
}


	return array("width" => $scaled_dimensions['width'], "height" => $scaled_dimensions['height']);
}


 
/**
* @param array $fields
* @param array $values
* @param DefaultFormContainer $form_container
* @param DefaultForm $form
* @param bool $search
*/

function output_custom_profile_fields($fields, $values, &$form_container, &$form, $search=false)
{
global $lang;

function output_custom_profile_fields($fields, $values, &$form_container, &$form, $search=false)
{
global $lang;

Zeile 4046Zeile 4091
	}
}


	}
}


 
/**
* @param array $input
* @param DefaultForm $form
*/

function user_search_conditions($input=array(), &$form)
{
global $mybb, $db, $lang;

function user_search_conditions($input=array(), &$form)
{
global $mybb, $db, $lang;

Zeile 4137Zeile 4186
<script type="text/javascript">
<!--
$("#username").select2({

<script type="text/javascript">
<!--
$("#username").select2({

	placeholder: "Search for a user",

	placeholder: "'.$lang->search_for_a_user.'",

	minimumInputLength: 3,
maximumSelectionSize: 3,
multiple: false,

	minimumInputLength: 3,
maximumSelectionSize: 3,
multiple: false,