Zeile 808 | Zeile 808 |
---|
} else {
|
} else {
|
if(preg_match("#<((m[^a])|(b[^diloru>])|(s[^aemptu>]))(\s*[^>]*)>#si", $mybb->get_input('namestyle')))
| if(preg_match("#<((m[^a])|(b[^diloru>])|(s[^aemptu >]))(\s*[^>]*)>#si", $mybb->get_input('namestyle')))
|
{ $errors[] = $lang->error_disallowed_namestyle_username; $mybb->input['namestyle'] = $usergroup['namestyle'];
| { $errors[] = $lang->error_disallowed_namestyle_username; $mybb->input['namestyle'] = $usergroup['namestyle'];
|
Zeile 1145 | Zeile 1145 |
---|
$form_container->output_row($lang->attachment_options, "", "<div class=\"group_settings_bit\">".implode("</div><div class=\"group_settings_bit\">", $attachment_options)."</div>");
// Remove these options if the group being editied is Guest (GID=1)
|
$form_container->output_row($lang->attachment_options, "", "<div class=\"group_settings_bit\">".implode("</div><div class=\"group_settings_bit\">", $attachment_options)."</div>");
// Remove these options if the group being editied is Guest (GID=1)
|
if($usergroup['gid'] != 1)
| if($usergroup['gid'] != 1)
|
{ $editing_options = array( $form->generate_check_box("caneditposts", 1, $lang->can_edit_posts, array("checked" => $mybb->input['caneditposts'])),
| { $editing_options = array( $form->generate_check_box("caneditposts", 1, $lang->can_edit_posts, array("checked" => $mybb->input['caneditposts'])),
|