Zeile 212 | Zeile 212 |
---|
{ if($fid == $forum['fid']) {
|
{ if($fid == $forum['fid']) {
|
if($pforumcache[$forum['pid']])
| if(!empty($pforumcache[$forum['pid']]))
|
{ $navigation = make_parent_list($forum['pid'], $navsep).$navigation; }
| { $navigation = make_parent_list($forum['pid'], $navsep).$navigation; }
|
Zeile 504 | Zeile 504 |
---|
{ return $final_group_perms; }
|
{ return $final_group_perms; }
|
else
| elseif(isset($perms_def))
|
{ return $perms_def; }
|
{ return $perms_def; }
|
| return array();
|
} }
| } }
|
Zeile 516 | Zeile 518 |
---|
* * @param string $mysql_encoding The MySQL encoding * @return string The iconv/mb encoding
|
* * @param string $mysql_encoding The MySQL encoding * @return string The iconv/mb encoding
|
*/
| */
|
function fetch_iconv_encoding($mysql_encoding) { $mysql_encoding = explode("_", $mysql_encoding);
| function fetch_iconv_encoding($mysql_encoding) { $mysql_encoding = explode("_", $mysql_encoding);
|
Zeile 554 | Zeile 556 |
---|
if(!empty($page)) { unset($adminoption['permissions'][$tab][$page]);
|
if(!empty($page)) { unset($adminoption['permissions'][$tab][$page]);
|
} else
| } else
|
{ unset($adminoption['permissions'][$tab]); }
| { unset($adminoption['permissions'][$tab]); }
|
Zeile 567 | Zeile 569 |
---|
if($adminoption['uid'] == 0) { $adminoption['permissions'][$tab][$page] = 0;
|
if($adminoption['uid'] == 0) { $adminoption['permissions'][$tab][$page] = 0;
|
} else
| } else
|
{ $adminoption['permissions'][$tab][$page] = $default; }
| { $adminoption['permissions'][$tab][$page] = $default; }
|
Zeile 607 | Zeile 609 |
---|
{ $query = $db->simple_select("adminoptions", "loginattempts, loginlockoutexpiry", "uid='".(int)$uid."'", 1); $attempts = $db->fetch_array($query);
|
{ $query = $db->simple_select("adminoptions", "loginattempts, loginlockoutexpiry", "uid='".(int)$uid."'", 1); $attempts = $db->fetch_array($query);
|
| if(!$attempts) { return false; }
|
}
if($attempts['loginattempts'] <= 0)
| }
if($attempts['loginattempts'] <= 0)
|
Zeile 726 | Zeile 733 |
---|
{ while($post = $db->fetch_array($query)) {
|
{ while($post = $db->fetch_array($query)) {
|
if($post['usepostcounts'] != 0 && $post['visible'] != 0)
| if($post['usepostcounts'] != 0 && $post['visible'] == 1)
|
{ ++$post_count; }
| { ++$post_count; }
|