Zeile 22 | Zeile 22 |
---|
$parser = new postParser;
$lang->load("warnings");
|
$parser = new postParser;
$lang->load("warnings");
|
| $lang->load("datahandler_warnings");
|
if($mybb->settings['enablewarningsystem'] == 0) {
| if($mybb->settings['enablewarningsystem'] == 0) {
|
Zeile 322 | Zeile 323 |
---|
$custom_reason = htmlspecialchars_uni($mybb->get_input('custom_reason')); $custom_points = $mybb->get_input('custom_points', MyBB::INPUT_INT); $expires = $mybb->get_input('expires', MyBB::INPUT_INT);
|
$custom_reason = htmlspecialchars_uni($mybb->get_input('custom_reason')); $custom_points = $mybb->get_input('custom_points', MyBB::INPUT_INT); $expires = $mybb->get_input('expires', MyBB::INPUT_INT);
|
if($mybb->get_input('expires_period', MyBB::INPUT_INT))
| if($mybb->get_input('expires_period'))
|
{
|
{
|
$expires_period[$mybb->get_input('expires_period', MyBB::INPUT_INT)] = "selected=\"selected\"";
| $expires_period[$mybb->get_input('expires_period')] = "selected=\"selected\"";
|
} } else
| } } else
|