Zeile 142 | Zeile 142 |
---|
); }
|
); }
|
if($forum['password'] != '' && $mybb->cookies['forumpass'][$forum['fid']] !== md5($mybb->user['uid'].$forum['password']))
| if($forum['password'] != '' && !my_hash_equals($mybb->cookies['forumpass'][$forum['fid']], md5($mybb->user['uid'].$forum['password'])))
|
{ $hideinfo = true; $showlockicon = 1;
| { $hideinfo = true; $showlockicon = 1;
|
Zeile 484 | Zeile 484 |
---|
$folder = "offlink"; $altonoff = $lang->forum_redirect; }
|
$folder = "offlink"; $altonoff = $lang->forum_redirect; }
|
// This forum is closed, so override the folder icon with the "offlock" icon.
| // This forum is closed, so override the folder icon with the "offclose" icon.
|
elseif($forum['open'] == 0 || $locked) {
|
elseif($forum['open'] == 0 || $locked) {
|
$folder = "offlock"; $altonoff = $lang->forum_locked;
| $folder = "offclose"; $altonoff = $lang->forum_closed;
|
} else {
| } else {
|