Zeile 573 | Zeile 573 |
---|
{ $quoted_ids = explode("|", $mybb->get_input('quoted_ids')); $multiquote = explode("|", $mybb->cookies['multiquote']);
|
{ $quoted_ids = explode("|", $mybb->get_input('quoted_ids')); $multiquote = explode("|", $mybb->cookies['multiquote']);
|
if(is_array($multiquote) && is_array($quoted_ids))
| if(!empty($multiquote) && !empty($quoted_ids))
|
{ foreach($multiquote as $key => $quoteid) {
| { foreach($multiquote as $key => $quoteid) {
|
Zeile 584 | Zeile 584 |
---|
} } // Still have an array - set the new cookie
|
} } // Still have an array - set the new cookie
|
if(is_array($multiquote))
| if(!empty($multiquote))
|
{ $new_multiquote = implode(",", $multiquote); my_setcookie("multiquote", $new_multiquote);
| { $new_multiquote = implode(",", $multiquote); my_setcookie("multiquote", $new_multiquote);
|
Zeile 859 | Zeile 859 |
---|
} eval("\$multiquote_external = \"".$templates->get("newreply_multiquote_external")."\";"); }
|
} eval("\$multiquote_external = \"".$templates->get("newreply_multiquote_external")."\";"); }
|
if(is_array($quoted_ids) && count($quoted_ids) > 0) { $quoted_ids = implode("|", $quoted_ids); }
| $quoted_ids = implode("|", $quoted_ids);
|
} }
if(isset($mybb->input['quoted_ids'])) {
|
} }
if(isset($mybb->input['quoted_ids'])) {
|
$quoted_ids = htmlspecialchars_uni($mybb->get_input('quoted_ids', MyBB::INPUT_INT));
| $quoted_ids = htmlspecialchars_uni($mybb->get_input('quoted_ids'));
|
}
if(isset($mybb->input['previewpost']))
| }
if(isset($mybb->input['previewpost']))
|
Zeile 1187 | Zeile 1184 |
---|
}
// If the user is logged in, provide a save draft button.
|
}
// If the user is logged in, provide a save draft button.
|
| $savedraftbutton = '';
|
if($mybb->user['uid']) { eval("\$savedraftbutton = \"".$templates->get("post_savedraftbutton", 1, 0)."\";");
| if($mybb->user['uid']) { eval("\$savedraftbutton = \"".$templates->get("post_savedraftbutton", 1, 0)."\";");
|