mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
- ability to change anonymous user settings more easily
- fix serious bugs in permissions (always allowing if permissions explicitly set and getting wrong permission options from bitfield) - added option for returning an array to make_forum_select - again fixing bugs in module system (one for a very query consuming part and one for correctly filling the cache) git-svn-id: file:///svn/phpbb/trunk@5517 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -30,11 +30,19 @@ function jumpto()
|
||||
|
||||
// Set display of page element
|
||||
// s[-1,0,1] = hide,toggle display,show
|
||||
function dE(n,s)
|
||||
function dE(n, s, type)
|
||||
{
|
||||
if (!type)
|
||||
{
|
||||
type = 'block';
|
||||
}
|
||||
|
||||
var e = document.getElementById(n);
|
||||
if(!s) s = (e.style.display=='') ? -1:1;
|
||||
e.style.display = (s==1) ? 'block':'none';
|
||||
if (!s)
|
||||
{
|
||||
s = (e.style.display == '') ? -1 : 1;
|
||||
}
|
||||
e.style.display = (s == 1) ? type : 'none';
|
||||
}
|
||||
|
||||
function marklist(match, status)
|
||||
|
Reference in New Issue
Block a user