Zeile 16 | Zeile 16 |
---|
$templatelist .= ",postbit_avatar,postbit_find,postbit_pm,postbit_rep_button,postbit_www,postbit_email,postbit_reputation,postbit_warn,postbit_warninglevel,postbit_author_user,posticons"; $templatelist .= ",postbit_signature,postbit_classic,postbit,postbit_attachments_thumbnails_thumbnail,postbit_attachments_images_image,postbit_attachments_attachment,postbit_attachments_attachment_unapproved"; $templatelist .= ",posticons_icon,post_prefixselect_prefix,post_prefixselect_single,newthread_postpoll,editpost_disablesmilies,post_attachments_attachment_mod_approve,post_attachments_attachment_unapproved";
|
$templatelist .= ",postbit_avatar,postbit_find,postbit_pm,postbit_rep_button,postbit_www,postbit_email,postbit_reputation,postbit_warn,postbit_warninglevel,postbit_author_user,posticons"; $templatelist .= ",postbit_signature,postbit_classic,postbit,postbit_attachments_thumbnails_thumbnail,postbit_attachments_images_image,postbit_attachments_attachment,postbit_attachments_attachment_unapproved"; $templatelist .= ",posticons_icon,post_prefixselect_prefix,post_prefixselect_single,newthread_postpoll,editpost_disablesmilies,post_attachments_attachment_mod_approve,post_attachments_attachment_unapproved";
|
$templatelist .= ",postbit_warninglevel_formatted,postbit_reputation_formatted_link,editpost_signature,attachment_icon,post_attachments_attachment,post_attachments_add,post_attachments,editpost_postoptions";
| $templatelist .= ",postbit_warninglevel_formatted,postbit_reputation_formatted_link,editpost_signature,attachment_icon,post_attachments_attachment,post_attachments_add,post_attachments,editpost_postoptions,post_attachments_viewlink";
|
$templatelist .= ",postbit_attachments_images,global_moderation_notice,post_attachments_new,postbit_attachments,postbit_online,postbit_away,postbit_offline,postbit_gotopost,postbit_userstar,postbit_icon";
require_once "./global.php";
| $templatelist .= ",postbit_attachments_images,global_moderation_notice,post_attachments_new,postbit_attachments,postbit_online,postbit_away,postbit_offline,postbit_gotopost,postbit_userstar,postbit_icon";
require_once "./global.php";
|
Zeile 647 | Zeile 647 |
---|
{ $friendlyquota = get_friendly_size($mybb->usergroup['attachquota']*1024); }
|
{ $friendlyquota = get_friendly_size($mybb->usergroup['attachquota']*1024); }
|
$friendlyusage = get_friendly_size($usage['ausage']); $lang->attach_quota = $lang->sprintf($lang->attach_quota, $friendlyusage, $friendlyquota);
| $lang->attach_quota = $lang->sprintf($lang->attach_quota, $friendlyquota);
if($usage['ausage'] !== NULL) { $friendlyusage = get_friendly_size($usage['ausage']); $lang->attach_usage = $lang->sprintf($lang->attach_usage, $friendlyusage); eval("\$link_viewattachments = \"".$templates->get("post_attachments_viewlink")."\";"); } else { $lang->attach_usage = ""; }
|
if($mybb->settings['maxattachments'] == 0 || ($mybb->settings['maxattachments'] != 0 && $attachcount < $mybb->settings['maxattachments']) && !$noshowattach) { eval("\$attach_add_options = \"".$templates->get("post_attachments_add")."\";");
| if($mybb->settings['maxattachments'] == 0 || ($mybb->settings['maxattachments'] != 0 && $attachcount < $mybb->settings['maxattachments']) && !$noshowattach) { eval("\$attach_add_options = \"".$templates->get("post_attachments_add")."\";");
|
Zeile 677 | Zeile 689 |
---|
$subject = $mybb->get_input('subject'); $reason = htmlspecialchars_uni($mybb->get_input('editreason')); }
|
$subject = $mybb->get_input('subject'); $reason = htmlspecialchars_uni($mybb->get_input('editreason')); }
|
| $previewmessage = $message; $previewsubject = $subject; $message = htmlspecialchars_uni($message); $subject = htmlspecialchars_uni($subject);
|
if(!isset($post_errors)) {
| if(!isset($post_errors)) {
|
Zeile 738 | Zeile 755 |
---|
} else {
|
} else {
|
$previewmessage = $message; $previewsubject = $subject; $message = htmlspecialchars_uni($message); $subject = htmlspecialchars_uni($subject);
| |
$postoptions = $mybb->get_input('postoptions', MyBB::INPUT_ARRAY);
| $postoptions = $mybb->get_input('postoptions', MyBB::INPUT_ARRAY);
|
Zeile 765 | Zeile 778 |
---|
if(!$post['uid']) { $query = $db->simple_select('posts', 'username, dateline', "pid='{$pid}'");
|
if(!$post['uid']) { $query = $db->simple_select('posts', 'username, dateline', "pid='{$pid}'");
|
$postinfo = $db->fetch_array($query); }
| $postinfo = $db->fetch_array($query); }
|
else { // Figure out the poster's other information.
| else { // Figure out the poster's other information.
|
Zeile 804 | Zeile 817 |
---|
} else if(!$post_errors) {
|
} else if(!$post_errors) {
|
$message = htmlspecialchars_uni($message); $subject = htmlspecialchars_uni($subject);
| |
$preview = '';
if($post['includesig'] != 0)
| $preview = '';
if($post['includesig'] != 0)
|