diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-03 20:59:39 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-03 20:59:39 +0000 |
commit | bd30d226a583276f627d844fca46a7645dcce4fd (patch) | |
tree | 40e85c7a434d3789d1d3dace8831e18ce70a5c97 /phpBB/adm/style/overall_header.html | |
parent | dd865bb517bb6c3f5ff1da910d4ed3ab19e650b0 (diff) | |
download | forums-bd30d226a583276f627d844fca46a7645dcce4fd.tar forums-bd30d226a583276f627d844fca46a7645dcce4fd.tar.gz forums-bd30d226a583276f627d844fca46a7645dcce4fd.tar.bz2 forums-bd30d226a583276f627d844fca46a7645dcce4fd.tar.xz forums-bd30d226a583276f627d844fca46a7645dcce4fd.zip |
- 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
Diffstat (limited to 'phpBB/adm/style/overall_header.html')
-rw-r--r-- | phpBB/adm/style/overall_header.html | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/phpBB/adm/style/overall_header.html b/phpBB/adm/style/overall_header.html index 277dcdbc93..0cfc50bbdd 100644 --- a/phpBB/adm/style/overall_header.html +++ b/phpBB/adm/style/overall_header.html @@ -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) |