Zeile 16 | Zeile 16 |
---|
$templatelist .= ",misc_buddypopup,misc_buddypopup_user,misc_buddypopup_user_none,misc_buddypopup_user_online,misc_buddypopup_user_offline,misc_buddypopup_user_sendpm,misc_syndication_forumlist"; $templatelist .= ",misc_smilies,misc_smilies_smilie,misc_help_section_bit,misc_help_section,misc_help,forumdisplay_password_wrongpass,forumdisplay_password,misc_helpresults,misc_helpresults_bit"; $templatelist .= ",multipage,multipage_end,multipage_jump_page,multipage_nextpage,multipage_page,multipage_page_current,multipage_page_link_current,multipage_prevpage,misc_imcenter_error";
|
$templatelist .= ",misc_buddypopup,misc_buddypopup_user,misc_buddypopup_user_none,misc_buddypopup_user_online,misc_buddypopup_user_offline,misc_buddypopup_user_sendpm,misc_syndication_forumlist"; $templatelist .= ",misc_smilies,misc_smilies_smilie,misc_help_section_bit,misc_help_section,misc_help,forumdisplay_password_wrongpass,forumdisplay_password,misc_helpresults,misc_helpresults_bit"; $templatelist .= ",multipage,multipage_end,multipage_jump_page,multipage_nextpage,multipage_page,multipage_page_current,multipage_page_link_current,multipage_prevpage,misc_imcenter_error";
|
$templatelist .= ",misc_smilies_popup_no_smilies,misc_smilies_no_smilies,misc_syndication,misc_help_search,misc_helpresults_noresults,misc_syndication_forumlist_forum,misc_syndication_feedurl";
| $templatelist .= ",misc_smilies_popup_no_smilies,misc_smilies_no_smilies,misc_syndication,misc_help_search,misc_helpresults_noresults,misc_syndication_forumlist_forum,misc_syndication_feedurl,misc_whoposted_page";
|
require_once "./global.php"; require_once MYBB_ROOT."inc/functions_post.php";
| require_once "./global.php"; require_once MYBB_ROOT."inc/functions_post.php";
|
Zeile 621 | Zeile 621 |
---|
$whoposted = ''; $tid = $mybb->get_input('tid', MyBB::INPUT_INT); $thread = get_thread($tid);
|
$whoposted = ''; $tid = $mybb->get_input('tid', MyBB::INPUT_INT); $thread = get_thread($tid);
|
| $modal = $mybb->get_input('modal', MyBB::INPUT_INT);
|
// Make sure we are looking at a real thread here. if(!$thread)
| // Make sure we are looking at a real thread here. if(!$thread)
|
Zeile 698 | Zeile 699 |
---|
$poster['username'] = htmlspecialchars_uni($poster['username']); $poster['postusername'] = htmlspecialchars_uni($poster['postusername']); $poster_name = format_name($poster['username'], $poster['usergroup'], $poster['displaygroup']);
|
$poster['username'] = htmlspecialchars_uni($poster['username']); $poster['postusername'] = htmlspecialchars_uni($poster['postusername']); $poster_name = format_name($poster['username'], $poster['usergroup'], $poster['displaygroup']);
|
if($poster['uid'])
| if($modal)
|
{
|
{
|
$onclick = "opener.location.href='".get_profile_link($poster['uid'])."'; return false;";
| $onclick = ''; if($poster['uid']) { $onclick = "opener.location.href='".get_profile_link($poster['uid'])."'; return false;"; } $profile_link = build_profile_link($poster_name, $poster['uid'], '_blank', $onclick); } else { $profile_link = build_profile_link($poster_name, $poster['uid']);
|
}
|
}
|
$profile_link = build_profile_link($poster_name, $poster['uid'], '_blank', $onclick);
| |
$numposts += $poster['posts']; eval("\$whoposted .= \"".$templates->get("misc_whoposted_poster")."\";"); $altbg = alt_trow(); } $numposts = my_number_format($numposts); $poster['posts'] = my_number_format($poster['posts']);
|
$numposts += $poster['posts']; eval("\$whoposted .= \"".$templates->get("misc_whoposted_poster")."\";"); $altbg = alt_trow(); } $numposts = my_number_format($numposts); $poster['posts'] = my_number_format($poster['posts']);
|
eval("\$whop = \"".$templates->get("misc_whoposted", 1, 0)."\";"); echo $whop; exit;
| if($modal) { eval("\$whop = \"".$templates->get("misc_whoposted", 1, 0)."\";"); echo $whop; exit; } else { require_once MYBB_ROOT."inc/class_parser.php"; $parser = new postParser;
// Get thread prefix $breadcrumbprefix = ''; $threadprefix = array('prefix' => ''); if($thread['prefix']) { $threadprefix = build_prefixes($thread['prefix']); if(!empty($threadprefix['displaystyle'])) { $breadcrumbprefix = $threadprefix['displaystyle'].' '; } }
$thread['subject'] = htmlspecialchars_uni($parser->parse_badwords($thread['subject']));
// Build the navigation. build_forum_breadcrumb($forum['fid']); add_breadcrumb($breadcrumbprefix.$thread['subject'], get_thread_link($thread['tid'])); add_breadcrumb($lang->who_posted);
eval("\$whoposted = \"".$templates->get("misc_whoposted_page")."\";"); output_page($whoposted); }
|
} elseif($mybb->input['action'] == "smilies") {
| } elseif($mybb->input['action'] == "smilies") {
|
Zeile 731 | Zeile 770 |
---|
{ $smilie['image'] = str_replace("{theme}", $theme['imgdir'], $smilie['image']); $smilie['image'] = htmlspecialchars_uni($mybb->get_asset_url($smilie['image']));
|
{ $smilie['image'] = str_replace("{theme}", $theme['imgdir'], $smilie['image']); $smilie['image'] = htmlspecialchars_uni($mybb->get_asset_url($smilie['image']));
|
$smilie['name'] = htmlspecialchars_uni($smilie['name']);
| $smilie['name'] = htmlspecialchars_uni($smilie['name']);
|
// Only show the first text to replace in the box $temp = explode("\n", $smilie['find']); // use temporary variable for php 5.3 compatibility $smilie['find'] = $temp[0];
| // Only show the first text to replace in the box $temp = explode("\n", $smilie['find']); // use temporary variable for php 5.3 compatibility $smilie['find'] = $temp[0];
|
Zeile 783 | Zeile 822 |
---|
{ $smilie['image'] = str_replace("{theme}", $theme['imgdir'], $smilie['image']); $smilie['image'] = htmlspecialchars_uni($mybb->get_asset_url($smilie['image']));
|
{ $smilie['image'] = str_replace("{theme}", $theme['imgdir'], $smilie['image']); $smilie['image'] = htmlspecialchars_uni($mybb->get_asset_url($smilie['image']));
|
$smilie['name'] = htmlspecialchars_uni($smilie['name']);
| $smilie['name'] = htmlspecialchars_uni($smilie['name']);
|
$smilie['find'] = nl2br(htmlspecialchars_uni($smilie['find'])); eval('$smilie_image = "'.$templates->get('smilie').'";'); eval("\$smilies .= \"".$templates->get("misc_smilies_smilie")."\";"); $class = alt_trow(); }
|
$smilie['find'] = nl2br(htmlspecialchars_uni($smilie['find'])); eval('$smilie_image = "'.$templates->get('smilie').'";'); eval("\$smilies .= \"".$templates->get("misc_smilies_smilie")."\";"); $class = alt_trow(); }
|
}
| }
|
if(!$smilies) { eval("\$smilies = \"".$templates->get("misc_smilies_no_smilies")."\";");
|
if(!$smilies) { eval("\$smilies = \"".$templates->get("misc_smilies_no_smilies")."\";");
|
}
| }
|
eval("\$smiliespage = \"".$templates->get("misc_smilies")."\";"); output_page($smiliespage); }
| eval("\$smiliespage = \"".$templates->get("misc_smilies")."\";"); output_page($smiliespage); }
|
Zeile 862 | Zeile 901 |
---|
$imtype_lang = $lang->yahoo_im; eval("\$navigationbar .= \"".$templates->get("misc_imcenter_nav")."\";"); }
|
$imtype_lang = $lang->yahoo_im; eval("\$navigationbar .= \"".$templates->get("misc_imcenter_nav")."\";"); }
|
|
|
$user['skype'] = htmlspecialchars_uni($user['skype']); $user['yahoo'] = htmlspecialchars_uni($user['yahoo']); $user['aim'] = htmlspecialchars_uni($user['aim']);
| $user['skype'] = htmlspecialchars_uni($user['skype']); $user['yahoo'] = htmlspecialchars_uni($user['yahoo']); $user['aim'] = htmlspecialchars_uni($user['aim']);
|
Zeile 899 | Zeile 938 |
---|
$unexp1 = explode(',', $unviewable); $unexp2 = explode(',', $inactiveforums); $unexp = array_merge($unexp1, $unexp2);
|
$unexp1 = explode(',', $unviewable); $unexp2 = explode(',', $inactiveforums); $unexp = array_merge($unexp1, $unexp2);
|
|
|
if(is_array($forums)) { foreach($unexp as $fid)
| if(is_array($forums)) { foreach($unexp as $fid)
|
Zeile 926 | Zeile 965 |
---|
$flist[$fid] = true; } }
|
$flist[$fid] = true; } }
|
}
| }
|
$url = $mybb->settings['bburl']."/syndication.php"; if(!$all) { $url .= "?fid=$syndicate";
|
$url = $mybb->settings['bburl']."/syndication.php"; if(!$all) { $url .= "?fid=$syndicate";
|
$add = true; }
| $add = true; }
|
// If the version is not RSS2.0, set the type to Atom1.0. if($version != "rss2.0")
|
// If the version is not RSS2.0, set the type to Atom1.0. if($version != "rss2.0")
|
{ if(!$add) { $url .= "?"; } else { $url .= "&";
| { if(!$add) { $url .= "?"; } else { $url .= "&";
|
} $url .= "type=atom1.0"; $add = true;
| } $url .= "type=atom1.0"; $add = true;
|
Zeile 976 | Zeile 1015 |
---|
{ $atom1check = "checked=\"checked\""; $rss2check = '';
|
{ $atom1check = "checked=\"checked\""; $rss2check = '';
|
}
| }
|
else { $atom1check = '';
| else { $atom1check = '';
|
Zeile 1066 | Zeile 1105 |
---|
} } }
|
} } }
|
|
|
if($addselect) { $addsel = '';
| if($addselect) { $addsel = '';
|