Zeile 90 | Zeile 90 |
---|
break; case 3: // Announcement global $announcementarray, $message;
|
break; case 3: // Announcement global $announcementarray, $message;
|
$parser_options['allow_html'] = $announcementarray['allowhtml'];
| $parser_options['allow_html'] = $mybb->settings['announcementshtml'] && $announcementarray['allowhtml'];
|
$parser_options['allow_mycode'] = $announcementarray['allowmycode']; $parser_options['allow_smilies'] = $announcementarray['allowsmilies']; $parser_options['allow_imgcode'] = 1;
| $parser_options['allow_mycode'] = $announcementarray['allowmycode']; $parser_options['allow_smilies'] = $announcementarray['allowsmilies']; $parser_options['allow_imgcode'] = 1;
|
Zeile 110 | Zeile 110 |
---|
$parser_options['allow_imgcode'] = $forum['allowimgcode']; $parser_options['allow_videocode'] = $forum['allowvideocode']; $parser_options['filter_badwords'] = 1;
|
$parser_options['allow_imgcode'] = $forum['allowimgcode']; $parser_options['allow_videocode'] = $forum['allowvideocode']; $parser_options['filter_badwords'] = 1;
|
if(!$post['username']) { $post['username'] = $lang->guest; }
if($post['userusername']) { $parser_options['me_username'] = $post['userusername']; } else { $parser_options['me_username'] = $post['username']; }
| |
break;
|
break;
|
}
| }
if(!$post['username']) { $post['username'] = $lang->guest; // htmlspecialchars_uni'd below }
if($post['userusername']) { $parser_options['me_username'] = $post['userusername']; } else { $parser_options['me_username'] = $post['username']; }
$post['username'] = htmlspecialchars_uni($post['username']); $post['userusername'] = htmlspecialchars_uni($post['userusername']);
|
if(!$postcounter) { // Used to show the # of the post
| if(!$postcounter) { // Used to show the # of the post
|
Zeile 147 | Zeile 150 |
---|
elseif($mybb->input['mode'] == "threaded") { $post_extra_style = "border-top-width: 0;";
|
elseif($mybb->input['mode'] == "threaded") { $post_extra_style = "border-top-width: 0;";
|
}
| }
|
else { $post_extra_style = "margin-top: 5px;";
| else { $post_extra_style = "margin-top: 5px;";
|
Zeile 158 | Zeile 161 |
---|
$altbg = "trow1"; } $postcounter++;
|
$altbg = "trow1"; } $postcounter++;
|
|
|
// Format the post date and time using my_date $post['postdate'] = my_date('relative', $post['dateline']);
|
// Format the post date and time using my_date $post['postdate'] = my_date('relative', $post['dateline']);
|
|
|
// Dont want any little 'nasties' in the subject $post['subject'] = $parser->parse_badwords($post['subject']);
| // Dont want any little 'nasties' in the subject $post['subject'] = $parser->parse_badwords($post['subject']);
|
Zeile 169 | Zeile 172 |
---|
if($post_type != 2) { $post['subject'] = htmlspecialchars_uni($post['subject']);
|
if($post_type != 2) { $post['subject'] = htmlspecialchars_uni($post['subject']);
|
}
| }
|
if(empty($post['subject'])) { $post['subject'] = ' '; }
|
if(empty($post['subject'])) { $post['subject'] = ' '; }
|
|
|
$post['author'] = $post['uid']; $post['subject_title'] = $post['subject'];
// Get the usergroup
|
$post['author'] = $post['uid']; $post['subject_title'] = $post['subject'];
// Get the usergroup
|
if($post['userusername'])
| if($post['usergroup'])
|
{
|
{
|
if(!$post['displaygroup']) { $post['displaygroup'] = $post['usergroup']; } $usergroup = $groupscache[$post['displaygroup']]; }
| $usergroup = usergroup_permissions($post['usergroup']); }
|
else {
|
else {
|
$usergroup = $groupscache[1];
| $usergroup = usergroup_permissions(1); }
// Fetch display group data. $displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image"); $displaygroup = usergroup_displaygroup($post['displaygroup']); if(is_array($displaygroup)) { $usergroup = array_merge($usergroup, $displaygroup);
|
}
if(!is_array($titlescache))
| }
if(!is_array($titlescache))
|
Zeile 205 | Zeile 212 |
---|
}
if(is_array($titlescache))
|
}
if(is_array($titlescache))
|
{
| {
|
krsort($titlescache); } unset($usertitle, $cached_titles);
| krsort($titlescache); } unset($usertitle, $cached_titles);
|
Zeile 219 | Zeile 226 |
---|
if(!empty($mybb->user['language'])) { $language = $mybb->user['language'];
|
if(!empty($mybb->user['language'])) { $language = $mybb->user['language'];
|
}
| }
|
$usergroup['image'] = str_replace("{lang}", $language, $usergroup['image']); $usergroup['image'] = str_replace("{theme}", $theme['imgdir'], $usergroup['image']); eval("\$post['groupimage'] = \"".$templates->get("postbit_groupimage")."\";");
| $usergroup['image'] = str_replace("{lang}", $language, $usergroup['image']); $usergroup['image'] = str_replace("{theme}", $theme['imgdir'], $usergroup['image']); eval("\$post['groupimage'] = \"".$templates->get("postbit_groupimage")."\";");
|
Zeile 228 | Zeile 235 |
---|
if($mybb->settings['postlayout'] == "classic") { $post['groupimage'] .= "<br />";
|
if($mybb->settings['postlayout'] == "classic") { $post['groupimage'] .= "<br />";
|
}
| }
|
}
if($post['userusername'])
| }
if($post['userusername'])
|
Zeile 242 | Zeile 249 |
---|
if(trim($post['usertitle']) != "") { $hascustomtitle = 1;
|
if(trim($post['usertitle']) != "") { $hascustomtitle = 1;
|
}
| }
|
if($usergroup['usertitle'] != "" && !$hascustomtitle) {
| if($usergroup['usertitle'] != "" && !$hascustomtitle) {
|
Zeile 265 | Zeile 272 |
---|
} } }
|
} } }
|
|
|
$post['usertitle'] = htmlspecialchars_uni($post['usertitle']);
if($usergroup['stars'])
| $post['usertitle'] = htmlspecialchars_uni($post['usertitle']);
if($usergroup['stars'])
|
Zeile 321 | Zeile 328 |
---|
eval("\$post['useravatar'] = \"".$templates->get("postbit_avatar")."\";"); }
|
eval("\$post['useravatar'] = \"".$templates->get("postbit_avatar")."\";"); }
|
eval("\$post['button_find'] = \"".$templates->get("postbit_find")."\";");
| $post['button_find'] = ''; if($mybb->usergroup['cansearch'] == 1) { eval("\$post['button_find'] = \"".$templates->get("postbit_find")."\";"); }
|
|
|
if($mybb->settings['enablepms'] == 1 && $post['receivepms'] != 0 && $mybb->usergroup['cansendpms'] == 1 && my_strpos(",".$post['ignorelist'].",", ",".$mybb->user['uid'].",") === false)
| if($mybb->settings['enablepms'] == 1 && (($post['receivepms'] != 0 && $usergroup['canusepms'] != 0 && $mybb->usergroup['cansendpms'] == 1 && my_strpos(",".$post['ignorelist'].",", ",".$mybb->user['uid'].",") === false) || $mybb->usergroup['canoverridepm'] == 1))
|
{ eval("\$post['button_pm'] = \"".$templates->get("postbit_pm")."\";"); }
$post['button_rep'] = '';
|
{ eval("\$post['button_pm'] = \"".$templates->get("postbit_pm")."\";"); }
$post['button_rep'] = '';
|
if($post_type != 3 && $mybb->settings['enablereputation'] == 1 && $mybb->settings['postrep'] == 1 && $mybb->usergroup['cangivereputations'] == 1 && $usergroup['usereputationsystem'] == 1 && ($mybb->settings['posrep'] || $mybb->settings['neurep'] || $mybb->settings['negrep']) && $post['uid'] != $mybb->user['uid'])
| if($post_type != 3 && $mybb->settings['enablereputation'] == 1 && $mybb->settings['postrep'] == 1 && $mybb->usergroup['cangivereputations'] == 1 && $usergroup['usereputationsystem'] == 1 && ($mybb->settings['posrep'] || $mybb->settings['neurep'] || $mybb->settings['negrep']) && $post['uid'] != $mybb->user['uid'] && (!isset($post['visible']) || $post['visible'] == 1) && (!isset($thread['visible']) || $thread['visible'] == 1))
|
{ if(!$post['pid']) {
| { if(!$post['pid']) {
|
Zeile 337 | Zeile 348 |
---|
}
eval("\$post['button_rep'] = \"".$templates->get("postbit_rep_button")."\";");
|
}
eval("\$post['button_rep'] = \"".$templates->get("postbit_rep_button")."\";");
|
}
| }
|
if($post['website'] != "" && !is_member($mybb->settings['hidewebsite']) && $usergroup['canchangewebsite'] == 1)
|
if($post['website'] != "" && !is_member($mybb->settings['hidewebsite']) && $usergroup['canchangewebsite'] == 1)
|
{
| {
|
$post['website'] = htmlspecialchars_uni($post['website']); eval("\$post['button_www'] = \"".$templates->get("postbit_www")."\";");
|
$post['website'] = htmlspecialchars_uni($post['website']); eval("\$post['button_www'] = \"".$templates->get("postbit_www")."\";");
|
} else {
| } else {
|
$post['button_www'] = ""; }
if($post['hideemail'] != 1 && $mybb->usergroup['cansendemail'] == 1) { eval("\$post['button_email'] = \"".$templates->get("postbit_email")."\";");
|
$post['button_www'] = ""; }
if($post['hideemail'] != 1 && $mybb->usergroup['cansendemail'] == 1) { eval("\$post['button_email'] = \"".$templates->get("postbit_email")."\";");
|
}
| }
|
else { $post['button_email'] = "";
| else { $post['button_email'] = "";
|
Zeile 381 | Zeile 392 |
---|
$warning_level = 100; } $warning_level = get_colored_warning_level($warning_level);
|
$warning_level = 100; } $warning_level = get_colored_warning_level($warning_level);
|
|
|
// If we can warn them, it's not the same person, and we're in a PM or a post. if($mybb->usergroup['canwarnusers'] != 0 && $post['uid'] != $mybb->user['uid'] && ($post_type == 0 || $post_type == 2)) {
| // If we can warn them, it's not the same person, and we're in a PM or a post. if($mybb->usergroup['canwarnusers'] != 0 && $post['uid'] != $mybb->user['uid'] && ($post_type == 0 || $post_type == 2)) {
|
Zeile 478 | Zeile 489 |
---|
{ $post['usertitle'] = $lang->guest; }
|
{ $post['usertitle'] = $lang->guest; }
|
|
|
$post['usertitle'] = htmlspecialchars_uni($post['usertitle']);
$usergroup['title'] = $lang->na;
| $post['usertitle'] = htmlspecialchars_uni($post['usertitle']);
$usergroup['title'] = $lang->na;
|
Zeile 496 | Zeile 507 |
---|
eval("\$post['user_details'] = \"".$templates->get("postbit_author_guest")."\";"); }
|
eval("\$post['user_details'] = \"".$templates->get("postbit_author_guest")."\";"); }
|
| $post['input_editreason'] = '';
|
$post['button_edit'] = ''; $post['button_quickdelete'] = ''; $post['button_quickrestore'] = '';
| $post['button_edit'] = ''; $post['button_quickdelete'] = ''; $post['button_quickrestore'] = '';
|
Zeile 519 | Zeile 531 |
---|
if($replyall == true) { eval("\$post['button_replyall_pm'] = \"".$templates->get("postbit_replyall_pm")."\";");
|
if($replyall == true) { eval("\$post['button_replyall_pm'] = \"".$templates->get("postbit_replyall_pm")."\";");
|
}
| }
|
}
|
}
|
|
|
$post['editedmsg'] = ''; if(!$post_type) {
|
$post['editedmsg'] = ''; if(!$post_type) {
|
| if(!isset($forumpermissions)) { $forumpermissions = forum_permissions($fid); }
|
// Figure out if we need to show an "edited by" message if($post['edituid'] != 0 && $post['edittime'] != 0 && $post['editusername'] != "" && (($mybb->settings['showeditedby'] != 0 && $usergroup['cancp'] == 0) || ($mybb->settings['showeditedbyadmin'] != 0 && $usergroup['cancp'] == 1))) { $post['editdate'] = my_date('relative', $post['edittime']); $post['editnote'] = $lang->sprintf($lang->postbit_edited, $post['editdate']);
|
// Figure out if we need to show an "edited by" message if($post['edituid'] != 0 && $post['edittime'] != 0 && $post['editusername'] != "" && (($mybb->settings['showeditedby'] != 0 && $usergroup['cancp'] == 0) || ($mybb->settings['showeditedbyadmin'] != 0 && $usergroup['cancp'] == 1))) { $post['editdate'] = my_date('relative', $post['edittime']); $post['editnote'] = $lang->sprintf($lang->postbit_edited, $post['editdate']);
|
| $post['editusername'] = htmlspecialchars_uni($post['editusername']);
|
$post['editedprofilelink'] = build_profile_link($post['editusername'], $post['edituid']); $editreason = ""; if($post['editreason'] != "")
| $post['editedprofilelink'] = build_profile_link($post['editusername'], $post['edituid']); $editreason = ""; if($post['editreason'] != "")
|
Zeile 544 | Zeile 562 |
---|
$time = TIME_NOW; if((is_moderator($fid, "caneditposts") || ($forumpermissions['caneditposts'] == 1 && $mybb->user['uid'] == $post['uid'] && $thread['closed'] != 1 && ($mybb->usergroup['edittimelimit'] == 0 || $mybb->usergroup['edittimelimit'] != 0 && $post['dateline'] > ($time-($mybb->usergroup['edittimelimit']*60))))) && $mybb->user['uid'] != 0) {
|
$time = TIME_NOW; if((is_moderator($fid, "caneditposts") || ($forumpermissions['caneditposts'] == 1 && $mybb->user['uid'] == $post['uid'] && $thread['closed'] != 1 && ($mybb->usergroup['edittimelimit'] == 0 || $mybb->usergroup['edittimelimit'] != 0 && $post['dateline'] > ($time-($mybb->usergroup['edittimelimit']*60))))) && $mybb->user['uid'] != 0) {
|
| eval("\$post['input_editreason'] = \"".$templates->get("postbit_editreason")."\";");
|
eval("\$post['button_edit'] = \"".$templates->get("postbit_edit")."\";"); }
| eval("\$post['button_edit'] = \"".$templates->get("postbit_edit")."\";"); }
|
Zeile 608 | Zeile 627 |
---|
$postbit_qrestore = $lang->postbit_qrestore_thread; eval("\$post['button_quickrestore'] = \"".$templates->get("postbit_quickrestore")."\";"); }
|
$postbit_qrestore = $lang->postbit_qrestore_thread; eval("\$post['button_quickrestore'] = \"".$templates->get("postbit_quickrestore")."\";"); }
|
| }
if(!isset($ismod)) { $ismod = is_moderator($fid);
|
}
// Inline moderation stuff if($ismod)
|
}
// Inline moderation stuff if($ismod)
|
{ if(isset($mybb->cookies[$inlinecookie]) && my_strpos($mybb->cookies[$inlinecookie], "|".$post['pid']."|")) {
| { if(isset($mybb->cookies[$inlinecookie]) && my_strpos($mybb->cookies[$inlinecookie], "|".$post['pid']."|") !== false) {
|
$inlinecheck = "checked=\"checked\""; $inlinecount++; } else { $inlinecheck = "";
|
$inlinecheck = "checked=\"checked\""; $inlinecount++; } else { $inlinecheck = "";
|
}
| }
|
eval("\$post['inlinecheck'] = \"".$templates->get("postbit_inlinecheck")."\";");
if($post['visible'] == 0)
| eval("\$post['inlinecheck'] = \"".$templates->get("postbit_inlinecheck")."\";");
if($post['visible'] == 0)
|
Zeile 642 | Zeile 666 |
---|
if($forum['open'] != 0 && ($thread['closed'] != 1 || is_moderator($forum['fid'], "canpostclosedthreads")) && ($thread['uid'] == $mybb->user['uid'] || $forumpermissions['canonlyreplyownthreads'] != 1)) { eval("\$post['button_quote'] = \"".$templates->get("postbit_quote")."\";");
|
if($forum['open'] != 0 && ($thread['closed'] != 1 || is_moderator($forum['fid'], "canpostclosedthreads")) && ($thread['uid'] == $mybb->user['uid'] || $forumpermissions['canonlyreplyownthreads'] != 1)) { eval("\$post['button_quote'] = \"".$templates->get("postbit_quote")."\";");
|
}
| }
|
if($forumpermissions['canpostreplys'] != 0 && ($thread['uid'] == $mybb->user['uid'] || $forumpermissions['canonlyreplyownthreads'] != 1) && ($thread['closed'] != 1 || is_moderator($fid, "canpostclosedthreads")) && $mybb->settings['multiquote'] != 0 && $forum['open'] != 0 && !$post_type) { eval("\$post['button_multiquote'] = \"".$templates->get("postbit_multiquote")."\";");
|
if($forumpermissions['canpostreplys'] != 0 && ($thread['uid'] == $mybb->user['uid'] || $forumpermissions['canonlyreplyownthreads'] != 1) && ($thread['closed'] != 1 || is_moderator($fid, "canpostclosedthreads")) && $mybb->settings['multiquote'] != 0 && $forum['open'] != 0 && !$post_type) { eval("\$post['button_multiquote'] = \"".$templates->get("postbit_multiquote")."\";");
|
}
| }
|
if($mybb->user['uid'] != "0") { eval("\$post['button_report'] = \"".$templates->get("postbit_report")."\";");
| if($mybb->user['uid'] != "0") { eval("\$post['button_report'] = \"".$templates->get("postbit_report")."\";");
|
Zeile 660 | Zeile 684 |
---|
{ eval("\$post['button_edit'] = \"".$templates->get("announcement_edit")."\";"); eval("\$post['button_quickdelete'] = \"".$templates->get("announcement_quickdelete")."\";");
|
{ eval("\$post['button_edit'] = \"".$templates->get("announcement_edit")."\";"); eval("\$post['button_quickdelete'] = \"".$templates->get("announcement_quickdelete")."\";");
|
}
| }
|
}
$post['iplogged'] = ''; $show_ips = $mybb->settings['logip']; $ipaddress = my_inet_ntop($db->unescape_binary($post['ipaddress']));
|
}
$post['iplogged'] = ''; $show_ips = $mybb->settings['logip']; $ipaddress = my_inet_ntop($db->unescape_binary($post['ipaddress']));
|
|
|
// Show post IP addresses... PMs now can have IP addresses too as of 1.8! if($post_type == 2) {
| // Show post IP addresses... PMs now can have IP addresses too as of 1.8! if($post_type == 2) {
|
Zeile 683 | Zeile 707 |
---|
else if($show_ips == "hide" && (is_moderator($fid, "canviewips") || $mybb->usergroup['issupermod'])) { $action = 'getip';
|
else if($show_ips == "hide" && (is_moderator($fid, "canviewips") || $mybb->usergroup['issupermod'])) { $action = 'getip';
|
| $javascript = 'getIP';
|
if($post_type == 2) { $action = 'getpmip';
|
if($post_type == 2) { $action = 'getpmip';
|
| $javascript = 'getPMIP';
|
}
|
}
|
|
|
eval("\$post['iplogged'] = \"".$templates->get("postbit_iplogged_hiden")."\";"); } }
|
eval("\$post['iplogged'] = \"".$templates->get("postbit_iplogged_hiden")."\";"); } }
|
| }
$post['poststatus'] = ''; if(!$post_type && $post['visible'] != 1) { if(is_moderator($fid, "canviewdeleted") && $postcounter != 1 && $post['visible'] == -1) { $status_type = $lang->postbit_post_deleted; } else if(is_moderator($fid, "canviewunapprove") && $postcounter != 1 && $post['visible'] == 0) { $status_type = $lang->postbit_post_unapproved; } else if(is_moderator($fid, "canviewdeleted") && $postcounter == 1 && $post['visible'] == -1) { $status_type = $lang->postbit_thread_deleted; } else if(is_moderator($fid, "canviewunapprove") && $postcounter == 1 && $post['visible'] == 0) { $status_type = $lang->postbit_thread_unapproved; }
eval("\$post['poststatus'] = \"".$templates->get("postbit_status")."\";");
|
}
if(isset($post['smilieoff']) && $post['smilieoff'] == 1)
| }
if(isset($post['smilieoff']) && $post['smilieoff'] == 1)
|
Zeile 731 | Zeile 782 |
---|
"allow_mycode" => $mybb->settings['sigmycode'], "allow_smilies" => $mybb->settings['sigsmilies'], "allow_imgcode" => $mybb->settings['sigimgcode'],
|
"allow_mycode" => $mybb->settings['sigmycode'], "allow_smilies" => $mybb->settings['sigsmilies'], "allow_imgcode" => $mybb->settings['sigimgcode'],
|
"me_username" => $post['username'],
| "me_username" => $parser_options['me_username'],
|
"filter_badwords" => 1 );
| "filter_badwords" => 1 );
|
Zeile 769 | Zeile 820 |
---|
$post['icon'] = ""; }
|
$post['icon'] = ""; }
|
$post_visibility = $ignore_bit = '';
| $post_visibility = $ignore_bit = $deleted_bit = '';
|
switch($post_type) { case 1: // Message preview
| switch($post_type) { case 1: // Message preview
|
Zeile 783 | Zeile 834 |
---|
break; default: // Regular post $post = $plugins->run_hooks("postbit", $post);
|
break; default: // Regular post $post = $plugins->run_hooks("postbit", $post);
|
| if(!isset($ignored_users)) { $ignored_users = array(); if($mybb->user['uid'] > 0 && $mybb->user['ignorelist'] != "") { $ignore_list = explode(',', $mybb->user['ignorelist']); foreach($ignore_list as $uid) { $ignored_users[$uid] = 1; } } }
// Has this post been deleted but can be viewed? Hide this post if($post['visible'] == -1 && is_moderator($fid, "canviewdeleted")) { $deleted_message = $lang->sprintf($lang->postbit_deleted_post_user, $post['username']); eval("\$deleted_bit = \"".$templates->get("postbit_deleted")."\";"); $post_visibility = "display: none;"; }
|
// Is this author on the ignore list of the current user? Hide this post
|
// Is this author on the ignore list of the current user? Hide this post
|
if(is_array($ignored_users) && $post['uid'] != 0 && isset($ignored_users[$post['uid']]) && $ignored_users[$post['uid']] == 1)
| if(is_array($ignored_users) && $post['uid'] != 0 && isset($ignored_users[$post['uid']]) && $ignored_users[$post['uid']] == 1 && empty($deleted_bit))
|
{ $ignored_message = $lang->sprintf($lang->postbit_currently_ignoring_user, $post['username']); eval("\$ignore_bit = \"".$templates->get("postbit_ignored")."\";"); $post_visibility = "display: none;"; } break;
|
{ $ignored_message = $lang->sprintf($lang->postbit_currently_ignoring_user, $post['username']); eval("\$ignore_bit = \"".$templates->get("postbit_ignored")."\";"); $post_visibility = "display: none;"; } break;
|
}
if($mybb->settings['postlayout'] == "classic")
| }
if($forumpermissions['canviewdeletionnotice'] == 1 && $post['visible'] == -1 && $post_type == 0 && !is_moderator($fid, "canviewdeleted"))
|
{
|
{
|
eval("\$postbit = \"".$templates->get("postbit_classic")."\";");
| eval("\$postbit = \"".$templates->get("postbit_deleted_member")."\";");
|
} else
|
} else
|
{ eval("\$postbit = \"".$templates->get("postbit")."\";");
| { if($mybb->settings['postlayout'] == "classic") { eval("\$postbit = \"".$templates->get("postbit_classic")."\";"); } else { eval("\$postbit = \"".$templates->get("postbit")."\";"); }
|
}
|
}
|
|
|
$GLOBALS['post'] = "";
return $postbit;
| $GLOBALS['post'] = "";
return $postbit;
|
Zeile 821 | Zeile 901 |
---|
$validationcount = 0; $tcount = 0; $post['attachmentlist'] = $post['thumblist'] = $post['imagelist'] = '';
|
$validationcount = 0; $tcount = 0; $post['attachmentlist'] = $post['thumblist'] = $post['imagelist'] = '';
|
| if(!isset($forumpermissions)) { $forumpermissions = forum_permissions($post['fid']); }
|
if(isset($attachcache[$id]) && is_array($attachcache[$id])) { // This post has 1 or more attachments foreach($attachcache[$id] as $aid => $attachment)
| if(isset($attachcache[$id]) && is_array($attachcache[$id])) { // This post has 1 or more attachments foreach($attachcache[$id] as $aid => $attachment)
|
Zeile 845 | Zeile 930 |
---|
{ $attachment['dateuploaded'] = $attachment['dateline']; }
|
{ $attachment['dateuploaded'] = $attachment['dateline']; }
|
$attachdate = my_date('relative', $attachment['dateuploaded']);
| $attachdate = my_date('normal', $attachment['dateuploaded']);
|
// Support for [attachment=id] code if(stripos($post['message'], "[attachment=".$attachment['aid']."]") !== false) {
| // Support for [attachment=id] code if(stripos($post['message'], "[attachment=".$attachment['aid']."]") !== false) {
|