aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/install_header.html
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/style/install_header.html')
-rwxr-xr-xphpBB/adm/style/install_header.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/phpBB/adm/style/install_header.html b/phpBB/adm/style/install_header.html
index a5545aad26..b1e14ba8cf 100755
--- a/phpBB/adm/style/install_header.html
+++ b/phpBB/adm/style/install_header.html
@@ -11,6 +11,31 @@
<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />
+<script type="text/javascript">
+// <![CDATA[
+
+/**
+* Set display of page element
+* s[-1,0,1] = hide,toggle display,show
+*/
+function dE(n, s, type)
+{
+ if (!type)
+ {
+ type = 'block';
+ }
+
+ var e = document.getElementById(n);
+ if (!s)
+ {
+ s = (e.style.display == '' || e.style.display == 'block') ? -1 : 1;
+ }
+ e.style.display = (s == 1) ? type : 'none';
+}
+
+// ]]>
+</script>
+
</head>
<body class="{S_CONTENT_DIRECTION}">