"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/warnings.php" between
mybb_1821.zip and mybb_1822.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

warnings.php  (mybb_1821):warnings.php  (mybb_1822)
skipping to change at line 326 skipping to change at line 326
} }
$pm_subject = htmlspecialchars_uni($mybb->get_input('pm_subject') ); $pm_subject = htmlspecialchars_uni($mybb->get_input('pm_subject') );
$message = htmlspecialchars_uni($mybb->get_input('pm_message')); $message = htmlspecialchars_uni($mybb->get_input('pm_message'));
if(!empty($mybb->input['send_pm'])) if(!empty($mybb->input['send_pm']))
{ {
$send_pm_checked = "checked=\"checked\""; $send_pm_checked = "checked=\"checked\"";
} }
$custom_reason = htmlspecialchars_uni($mybb->get_input('custom_re ason')); $custom_reason = htmlspecialchars_uni($mybb->get_input('custom_re ason'));
$custom_points = $mybb->get_input('custom_points', MyBB::INPUT_IN T); $custom_points = $mybb->get_input('custom_points', MyBB::INPUT_IN T);
$expires = $mybb->get_input('expires', 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')] = "se lected=\"selected\"";
} }
} }
else else
{ {
$notes = $custom_reason = $custom_points = $expires = ''; $notes = $custom_reason = $custom_points = $expires = '';
$expires = 1; $expires = 1;
$custom_points = 2; $custom_points = 2;
$pm_subject = $lang->warning_pm_subject; $pm_subject = $lang->warning_pm_subject;
$message = $lang->sprintf($lang->warning_pm_message, $user['usern ame'], $mybb->settings['bbname']); $message = $lang->sprintf($lang->warning_pm_message, $user['usern ame'], $mybb->settings['bbname']);
$warn_errors = ''; $warn_errors = '';
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)