Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: warnings.php 5392 2011-03-18 09:39:59Z Tomm $
| * $Id: warnings.php 5610 2011-09-19 15:02:52Z Tomm $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 180 | Zeile 180 |
---|
}
// Are we notifying the user?
|
}
// Are we notifying the user?
|
if(!$warn_errors && $mybb->input['send_pm'] == 1 && $group_permissions['canusepms'] != 0 && $user['receivepms'] != 0 && $mybb->settings['enablepms'] != 0)
| if(!$warn_errors && $mybb->input['send_pm'] == 1 && $group_permissions['canusepms'] != 0 && $mybb->settings['enablepms'] != 0)
|
{ // Bring up the PM handler require_once MYBB_ROOT."inc/datahandlers/pm.php";
| { // Bring up the PM handler require_once MYBB_ROOT."inc/datahandlers/pm.php";
|
Zeile 201 | Zeile 201 |
---|
);
$pmhandler->set_data($pm);
|
);
$pmhandler->set_data($pm);
|
| $pmhandler->admin_override = true;
|
// Now let the pm handler do all the hard work. if(!$pmhandler->validate_pm())
| // Now let the pm handler do all the hard work. if(!$pmhandler->validate_pm())
|
Zeile 511 | Zeile 512 |
---|
$first = false;
$post_link = "";
|
$first = false;
$post_link = "";
|
$issuedby = build_profile_link($warning['username'], $warning['uid']);
| $issuedby = build_profile_link($warning['username'], $warning['issuedby']);
|
$date_issued = my_date($mybb->settings['dateformat'], $warning['dateline']).", ".my_date($mybb->settings['timeformat'], $warning['dateline']); if($warning['type_title']) {
| $date_issued = my_date($mybb->settings['dateformat'], $warning['dateline']).", ".my_date($mybb->settings['timeformat'], $warning['dateline']); if($warning['type_title']) {
|