Zeile 124 | Zeile 124 |
---|
// Set the appropriate image language directory for this theme. // Are we linking to a remote theme server?
|
// Set the appropriate image language directory for this theme. // Are we linking to a remote theme server?
|
if(my_substr($theme['imgdir'], 0, 7) == 'http://' || my_substr($theme['imgdir'], 0, 8) == 'https://')
| if(my_validate_url($theme['imgdir']))
|
{ // If a language directory for the current language exists within the theme - we use it if(!empty($mybb->user['language']))
| { // If a language directory for the current language exists within the theme - we use it if(!empty($mybb->user['language']))
|
Zeile 255 | Zeile 255 |
---|
if($limit == 1) { $user = $db->fetch_array($query);
|
if($limit == 1) { $user = $db->fetch_array($query);
|
$user['username'] = htmlspecialchars_uni($user['username']);
| |
$data = array('id' => $user['username'], 'text' => $user['username']); } else
| $data = array('id' => $user['username'], 'text' => $user['username']); } else
|
Zeile 263 | Zeile 262 |
---|
$data = array(); while($user = $db->fetch_array($query)) {
|
$data = array(); while($user = $db->fetch_array($query)) {
|
$user['username'] = htmlspecialchars_uni($user['username']);
| |
$data[] = array('id' => $user['username'], 'text' => $user['username']); } }
| $data[] = array('id' => $user['username'], 'text' => $user['username']); } }
|
Zeile 577 | Zeile 575 |
---|
"me_username" => $post['username'], "filter_badwords" => 1 );
|
"me_username" => $post['username'], "filter_badwords" => 1 );
|
| $post['username'] = htmlspecialchars_uni($post['username']);
|
if($post['smilieoff'] == 1) {
| if($post['smilieoff'] == 1) {
|
Zeile 615 | Zeile 615 |
---|
{ $post['editdate'] = my_date('relative', TIME_NOW); $post['editnote'] = $lang->sprintf($lang->postbit_edited, $post['editdate']);
|
{ $post['editdate'] = my_date('relative', TIME_NOW); $post['editnote'] = $lang->sprintf($lang->postbit_edited, $post['editdate']);
|
| $mybb->user['username'] = htmlspecialchars_uni($mybb->user['username']);
|
$post['editedprofilelink'] = build_profile_link($mybb->user['username'], $mybb->user['uid']); $post['editreason'] = trim($editreason); $editreason = "";
| $post['editedprofilelink'] = build_profile_link($mybb->user['username'], $mybb->user['uid']); $post['editreason'] = trim($editreason); $editreason = "";
|
Zeile 1010 | Zeile 1011 |
---|
$offline = array(); while($buddy = $db->fetch_array($query)) {
|
$offline = array(); while($buddy = $db->fetch_array($query)) {
|
| $buddy['username'] = htmlspecialchars_uni($buddy['username']);
|
$buddy_name = format_name($buddy['username'], $buddy['usergroup'], $buddy['displaygroup']); $profile_link = build_profile_link($buddy_name, $buddy['uid'], '_blank'); if($buddy['lastactive'] > $timecut && ($buddy['invisible'] == 0 || $mybb->user['usergroup'] == 4) && $buddy['lastvisit'] != $buddy['lastactive'])
| $buddy_name = format_name($buddy['username'], $buddy['usergroup'], $buddy['displaygroup']); $profile_link = build_profile_link($buddy_name, $buddy['uid'], '_blank'); if($buddy['lastactive'] > $timecut && ($buddy['invisible'] == 0 || $mybb->user['usergroup'] == 4) && $buddy['lastvisit'] != $buddy['lastactive'])
|