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 5016 2010-06-12 00:24:02Z RyanGordon $
| * $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']) {
|
Zeile 639 | Zeile 640 |
---|
$query = $db->simple_select("warningtypes", "*", "", array("order_by" => "title")); while($type = $db->fetch_array($query)) {
|
$query = $db->simple_select("warningtypes", "*", "", array("order_by" => "title")); while($type = $db->fetch_array($query)) {
|
| $checked = $type_checked[$type['tid']];
|
$type['title'] = htmlspecialchars_uni($type['title']); $new_warning_level = round(($user['warningpoints']+$type['points'])/$mybb->settings['maxwarningpoints']*100); if($new_warning_level > 100)
| $type['title'] = htmlspecialchars_uni($type['title']); $new_warning_level = round(($user['warningpoints']+$type['points'])/$mybb->settings['maxwarningpoints']*100); if($new_warning_level > 100)
|