Vergleich admin/modules/user/group_promotions.php - 1.4.4 - 1.4.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: group_promotions.php 4267 2008-11-10 21:28:36Z Tikitiki $

 * $Id: group_promotions.php 4567 2009-11-29 23:54:09Z RyanGordon $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 177Zeile 177
			$errors[] = $lang->error_no_desc;
}


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


		if(!trim($mybb->input['requirements']))

		if(empty($mybb->input['requirements']))

		{
$errors[] = $lang->error_no_requirements;
}


		{
$errors[] = $lang->error_no_requirements;
}


		if(!trim($mybb->input['originalusergroup']))

		if(empty($mybb->input['originalusergroup']))

		{
$errors[] = $lang->error_no_orig_usergroup;
}

		{
$errors[] = $lang->error_no_orig_usergroup;
}

Zeile 291Zeile 291
		"<=" => $lang->less_than_or_equal_to,
"<" => $lang->less_than
);

		"<=" => $lang->less_than_or_equal_to,
"<" => $lang->less_than
);

	
$form_container->output_row($lang->reputation_count, $lang->reputation_count_desc, $form->generate_text_box('reputationcount', $mybb->input['reputationcount'], array('id' => 'reputationcount'))." ".$form->generate_select_box("reputationtype", $options_type, $mybb->input['reputationtype'], array('id' => 'reputationtype')), 'reputationcount');

 
	
$form_container->output_row($lang->post_count, $lang->post_count_desc, $form->generate_text_box('postcount', $mybb->input['postcount'], array('id' => 'postcount'))." ".$form->generate_select_box("posttype", $options_type, $mybb->input['posttype'], array('id' => 'posttype')), 'postcount');

	
$form_container->output_row($lang->post_count, $lang->post_count_desc, $form->generate_text_box('postcount', $mybb->input['postcount'], array('id' => 'postcount'))." ".$form->generate_select_box("posttype", $options_type, $mybb->input['posttype'], array('id' => 'posttype')), 'postcount');

 
	
$form_container->output_row($lang->reputation_count, $lang->reputation_count_desc, $form->generate_text_box('reputationcount', $mybb->input['reputationcount'], array('id' => 'reputationcount'))." ".$form->generate_select_box("reputationtype", $options_type, $mybb->input['reputationtype'], array('id' => 'reputationtype')), 'reputationcount');

	
$options = array(
"hours" => $lang->hours,

	
$options = array(
"hours" => $lang->hours,

Zeile 309Zeile 309
	$options = array();

$query = $db->simple_select("usergroups", "gid, title", "gid != '1'", array('order_by' => 'title'));

	$options = array();

$query = $db->simple_select("usergroups", "gid, title", "gid != '1'", array('order_by' => 'title'));

	$options['*'] = $lang->all_user_groups;

 
	while($usergroup = $db->fetch_array($query))
{
$options[(int)$usergroup['gid']] = $usergroup['title'];

	while($usergroup = $db->fetch_array($query))
{
$options[(int)$usergroup['gid']] = $usergroup['title'];

Zeile 356Zeile 355
			$errors[] = $lang->error_no_desc;
}


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


		if(!trim($mybb->input['requirements']))

		if(empty($mybb->input['requirements']))

		{
$errors[] = $lang->error_no_requirements;

		{
$errors[] = $lang->error_no_requirements;

		}

if(!trim($mybb->input['originalusergroup']))
{

		}

if(empty($mybb->input['originalusergroup']))
{

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


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


Zeile 470Zeile 469
		"<=" => $lang->less_than_or_equal_to,
"<" => $lang->less_than
);

		"<=" => $lang->less_than_or_equal_to,
"<" => $lang->less_than
);

	
$form_container->output_row($lang->reputation_count, $lang->reputation_count_desc, $form->generate_text_box('reputationcount', $mybb->input['reputationcount'], array('id' => 'reputationcount'))." ".$form->generate_select_box("reputationtype", $options_type, $mybb->input['reputationtype'], array('id' => 'reputationtype')), 'reputationcount');

 
	
$form_container->output_row($lang->post_count, $lang->post_count_desc, $form->generate_text_box('postcount', $mybb->input['postcount'], array('id' => 'postcount'))." ".$form->generate_select_box("posttype", $options_type, $mybb->input['posttype'], array('id' => 'posttype')), 'postcount');

	
$form_container->output_row($lang->post_count, $lang->post_count_desc, $form->generate_text_box('postcount', $mybb->input['postcount'], array('id' => 'postcount'))." ".$form->generate_select_box("posttype", $options_type, $mybb->input['posttype'], array('id' => 'posttype')), 'postcount');

 
	
$form_container->output_row($lang->reputation_count, $lang->reputation_count_desc, $form->generate_text_box('reputationcount', $mybb->input['reputationcount'], array('id' => 'reputationcount'))." ".$form->generate_select_box("reputationtype", $options_type, $mybb->input['reputationtype'], array('id' => 'reputationtype')), 'reputationcount');

	
$options = array(
"hours" => $lang->hours,

	
$options = array(
"hours" => $lang->hours,

Zeile 487Zeile 486
	$options = array();

$query = $db->simple_select("usergroups", "gid, title", "gid != '1'", array('order_by' => 'title'));

	$options = array();

$query = $db->simple_select("usergroups", "gid, title", "gid != '1'", array('order_by' => 'title'));

	$options['*'] = $lang->all_user_groups;

 
	while($usergroup = $db->fetch_array($query))
{
$options[(int)$usergroup['gid']] = $usergroup['title'];

	while($usergroup = $db->fetch_array($query))
{
$options[(int)$usergroup['gid']] = $usergroup['title'];