Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* $Id: pm.php 2989 2007-04-04 13:56:57Z chris $
| * $Id: pm.php 3161 2007-06-26 07:00:00Z Tikitiki $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 163 | Zeile 163 |
---|
$this->set_error("invalid_recipient"); return false; }
|
$this->set_error("invalid_recipient"); return false; }
|
|
|
// Collect group permissions for the sender and recipient. $recipient_permissions = user_permissions($touser['uid']); $sender_permissions = user_permissions($pm['fromid']);
| // Collect group permissions for the sender and recipient. $recipient_permissions = user_permissions($touser['uid']); $sender_permissions = user_permissions($pm['fromid']);
|
Zeile 193 | Zeile 193 |
---|
}
// Check to see if the user has reached their private message quota - if they have, email them.
|
}
// Check to see if the user has reached their private message quota - if they have, email them.
|
if($recipient_permissions['pmquota'] != "0" && $touser['pms_total'] >= $recipient_permissions['pmquota'] && $recipient_permissions['cancp'] != "yes" && $sender_permissions['cancp'] != "yes" && !$pm['saveasdraft'] && !$this->admin_override)
| if($recipient_permissions['pmquota'] != "0" && $touser['totalpms'] >= $recipient_permissions['pmquota'] && $recipient_permissions['cancp'] != "yes" && $sender_permissions['cancp'] != "yes" && !$pm['saveasdraft'] && !$this->admin_override)
|
{ if(trim($touser['language']) != '' && $lang->language_exists($touser['language'])) {
| { if(trim($touser['language']) != '' && $lang->language_exists($touser['language'])) {
|