Zeile 719 | Zeile 719 |
---|
{ $plugins->run_hooks("usercp_do_options_start");
|
{ $plugins->run_hooks("usercp_do_options_start");
|
if($mybb->input['showcodebuttons'] != 1)
| if($mybb->input['showcodebuttons'] != '1')
|
{ $mybb->input['showcodebuttons'] = 0; }
| { $mybb->input['showcodebuttons'] = 0; }
|
Zeile 1293 | Zeile 1293 |
---|
$sigimgcode = $lang->off; } $lang->edit_sig_note2 = sprintf($lang->edit_sig_note2, $sigsmilies, $sigmycode, $sigimgcode, $sightml, $mybb->settings['siglength']);
|
$sigimgcode = $lang->off; } $lang->edit_sig_note2 = sprintf($lang->edit_sig_note2, $sigsmilies, $sigmycode, $sigimgcode, $sightml, $mybb->settings['siglength']);
|
| $sig = htmlspecialchars_uni($sig);
|
eval("\$editsig = \"".$templates->get("usercp_editsig")."\";"); $plugins->run_hooks("usercp_endsig_end"); outputpage($editsig);
| eval("\$editsig = \"".$templates->get("usercp_editsig")."\";"); $plugins->run_hooks("usercp_endsig_end"); outputpage($editsig);
|
Zeile 1739 | Zeile 1740 |
---|
// Joining a group if($mybb->input['joingroup']) {
|
// Joining a group if($mybb->input['joingroup']) {
|
| $mybb->input['joingroup'] = intval($mybb->input['joingroup']);
|
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE gid='".intval($mybb->input['joingroup'])."'"); $usergroup = $db->fetch_array($query);
|
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE gid='".intval($mybb->input['joingroup'])."'"); $usergroup = $db->fetch_array($query);
|
if($usergroup['type'] != 4 && $usergroup['type'] != 3)
| if(($usergroup['type'] != 4 && $usergroup['type'] != 3) || !$usergroup['gid'])
|
{ error($lang->cannot_join_group); }
| { error($lang->cannot_join_group); }
|