Zeile 848 | Zeile 848 |
---|
output_page($smiliespage); } }
|
output_page($smiliespage); } }
|
|
|
elseif($mybb->input['action'] == "imcenter") { $mybb->input['imtype'] = $mybb->get_input('imtype');
|
elseif($mybb->input['action'] == "imcenter") { $mybb->input['imtype'] = $mybb->get_input('imtype');
|
if($mybb->input['imtype'] != "skype" && $mybb->input['imtype'] != "yahoo") { $message = $lang->error_invalidimtype; eval("\$error = \"".$templates->get("misc_imcenter_error", 1, 0)."\";"); echo $error;
| if($mybb->input['imtype'] != "skype") { $message = $lang->error_invalidimtype; eval("\$error = \"".$templates->get("misc_imcenter_error", 1, 0)."\";"); echo $error;
|
exit; }
| exit; }
|
Zeile 873 | Zeile 874 |
---|
if(empty($user[$mybb->input['imtype']])) { $message = $lang->error_invalidimtype;
|
if(empty($user[$mybb->input['imtype']])) { $message = $lang->error_invalidimtype;
|
eval("\$error = \"".$templates->get("misc_imcenter_error", 1, 0)."\";"); echo $error; exit; }
| eval("\$error = \"".$templates->get("misc_imcenter_error", 1, 0)."\";"); echo $error; exit; }
|
$settingkey = 'allow'.$mybb->input['imtype'].'field'; if(!is_member($mybb->settings[$settingkey], $user)) {
| $settingkey = 'allow'.$mybb->input['imtype'].'field'; if(!is_member($mybb->settings[$settingkey], $user)) {
|
Zeile 888 | Zeile 889 |
---|
}
// Build IM navigation bar
|
}
// Build IM navigation bar
|
$navigationbar = $navsep = $imtype = $imtype_lang = '';
| $navigationbar = $imtype = $imtype_lang = '';
|
if(!empty($user['skype']) && is_member($mybb->settings['allowskypefield'], array('usergroup' => $user['usergroup'], 'additionalgroups' => $user['additionalgroups']))) { $imtype = "skype"; $imtype_lang = $lang->skype;
|
if(!empty($user['skype']) && is_member($mybb->settings['allowskypefield'], array('usergroup' => $user['usergroup'], 'additionalgroups' => $user['additionalgroups']))) { $imtype = "skype"; $imtype_lang = $lang->skype;
|
eval("\$navigationbar .= \"".$templates->get("misc_imcenter_nav")."\";"); $navsep = ' - '; } if(!empty($user['yahoo']) && is_member($mybb->settings['allowyahoofield'], array('usergroup' => $user['usergroup'], 'additionalgroups' => $user['additionalgroups']))) { $imtype = "yahoo"; $imtype_lang = $lang->yahoo_im;
| |
eval("\$navigationbar .= \"".$templates->get("misc_imcenter_nav")."\";"); }
$user['skype'] = htmlspecialchars_uni($user['skype']);
|
eval("\$navigationbar .= \"".$templates->get("misc_imcenter_nav")."\";"); }
$user['skype'] = htmlspecialchars_uni($user['skype']);
|
$user['yahoo'] = htmlspecialchars_uni($user['yahoo']);
| |
$user['username'] = htmlspecialchars_uni($user['username']);
$lang->chat_on_skype = $lang->sprintf($lang->chat_on_skype, $user['username']);
| $user['username'] = htmlspecialchars_uni($user['username']);
$lang->chat_on_skype = $lang->sprintf($lang->chat_on_skype, $user['username']);
|
Zeile 916 | Zeile 908 |
---|
echo $imcenter; exit; }
|
echo $imcenter; exit; }
|
|
|
elseif($mybb->input['action'] == "syndication") { $plugins->run_hooks("misc_syndication_start");
| elseif($mybb->input['action'] == "syndication") { $plugins->run_hooks("misc_syndication_start");
|