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: member.php 5753 2012-03-09 14:53:07Z Tomm $
| * $Id: member.php 5784 2012-04-19 12:57:48Z Tomm $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 1597 | Zeile 1597 |
---|
$awaydate = my_date($mybb->settings['dateformat'], $memprofile['awaydate']); if(!empty($memprofile['awayreason'])) {
|
$awaydate = my_date($mybb->settings['dateformat'], $memprofile['awaydate']); if(!empty($memprofile['awayreason'])) {
|
$awayreason = htmlspecialchars_uni($memprofile['awayreason']);
| $reason = $parser->parse_badwords($memprofile['awayreason']); $awayreason = htmlspecialchars_uni($reason);
|
} else {
| } else {
|
Zeile 1626 | Zeile 1627 |
---|
} // If our away time has expired already, we should be back, right?
|
} // If our away time has expired already, we should be back, right?
|
if ($returnmkdate < TIME_NOW)
| if($returnmkdate < TIME_NOW)
|
{ $db->update_query('users', array('away' => '0', 'awaydate' => '', 'returndate' => '', 'awayreason' => ''), 'uid=\''.intval($memprofile['uid']).'\'');
| { $db->update_query('users', array('away' => '0', 'awaydate' => '', 'returndate' => '', 'awayreason' => ''), 'uid=\''.intval($memprofile['uid']).'\'');
|
Zeile 1636 | Zeile 1637 |
---|
} // Check if our away status is set to 1, it may have been updated already (see a few lines above)
|
} // Check if our away status is set to 1, it may have been updated already (see a few lines above)
|
if ($memprofile['away'] == 1)
| if($memprofile['away'] == 1)
|
{ eval("\$awaybit = \"".$templates->get("member_profile_away")."\";"); }
| { eval("\$awaybit = \"".$templates->get("member_profile_away")."\";"); }
|
Zeile 1940 | Zeile 1941 |
---|
} else {
|
} else {
|
| $userfields[$field] = $parser->parse_badwords($userfields[$field]);
|
if($customfield['type'] == "textarea") { $customfieldval = nl2br(htmlspecialchars_uni($userfields[$field]));
| if($customfield['type'] == "textarea") { $customfieldval = nl2br(htmlspecialchars_uni($userfields[$field]));
|