Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: global.php 4322 2009-02-21 23:00:49Z Tikitiki $
| * $Id: global.php 4369 2009-05-11 08:48:32Z Tomm $
|
*/ $working_dir = dirname(__FILE__);
| */ $working_dir = dirname(__FILE__);
|
Zeile 413 | Zeile 413 |
---|
if($pm['fromuid'] == 0) { $pm['fromusername'] = 'MyBB Engine';
|
if($pm['fromuid'] == 0) { $pm['fromusername'] = 'MyBB Engine';
|
| $user_text = $pm['fromusername'];
|
}
|
}
|
| else { $user_text = build_profile_link($pm['fromusername'], $pm['fromuid']); }
|
if($mybb->user['pms_unread'] == 1) {
|
if($mybb->user['pms_unread'] == 1) {
|
$privatemessage_text = $lang->sprintf($lang->newpm_notice_one, get_profile_link($pm['fromuid']), htmlspecialchars_uni($pm['fromusername']), $pm['pmid'], htmlspecialchars_uni($pm['subject']));
| $privatemessage_text = $lang->sprintf($lang->newpm_notice_one, $user_text, $pm['pmid'], htmlspecialchars_uni($pm['subject']));
|
} else {
|
} else {
|
$privatemessage_text = $lang->sprintf($lang->newpm_notice_multiple, $mybb->user['pms_unread'], get_profile_link($pm['fromuid']), htmlspecialchars_uni($pm['fromusername']), $pm['pmid'], htmlspecialchars_uni($pm['subject']));
| $privatemessage_text = $lang->sprintf($lang->newpm_notice_multiple, $mybb->user['pms_unread'], $user_text, $pm['pmid'], htmlspecialchars_uni($pm['subject']));
|
} eval("\$pm_notice = \"".$templates->get("global_pm_alert")."\";"); }
| } eval("\$pm_notice = \"".$templates->get("global_pm_alert")."\";"); }
|