Zeile 6 | Zeile 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 5379 2011-02-21 11:06:42Z Tomm $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 177 | Zeile 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 291 | Zeile 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 309 | Zeile 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 356 | Zeile 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 470 | Zeile 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 487 | Zeile 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'];
|