aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-06 11:45:30 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-06 11:45:30 +0000
commit26cb8253142997efeaeb6b96d16ec97eb237644f (patch)
treebe404e84b0b5ccce4a7097437d9cb90144502cde /phpBB/adm
parentd282d0f8b70801ee7fd22d04515cee8c8bd26ce4 (diff)
downloadforums-26cb8253142997efeaeb6b96d16ec97eb237644f.tar
forums-26cb8253142997efeaeb6b96d16ec97eb237644f.tar.gz
forums-26cb8253142997efeaeb6b96d16ec97eb237644f.tar.bz2
forums-26cb8253142997efeaeb6b96d16ec97eb237644f.tar.xz
forums-26cb8253142997efeaeb6b96d16ec97eb237644f.zip
automatic updater supporting batch-processing diff
git-svn-id: file:///svn/phpbb/trunk@8152 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm')
-rwxr-xr-xphpBB/adm/style/install_header.html25
-rw-r--r--phpBB/adm/style/install_update.html20
2 files changed, 40 insertions, 5 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}">
diff --git a/phpBB/adm/style/install_update.html b/phpBB/adm/style/install_update.html
index e19f1fe211..2dbc0c7c47 100644
--- a/phpBB/adm/style/install_update.html
+++ b/phpBB/adm/style/install_update.html
@@ -17,7 +17,14 @@
</div>
<!-- ENDIF -->
-<!-- IF S_INTRO -->
+<!-- IF S_IN_PROGRESS -->
+
+ <div class="successbox" style="margin-top: 0;">
+ <h3>{L_IN_PROGRESS}</h3>
+ <p>{L_IN_PROGRESS_EXPLAIN}</p>
+ </div>
+
+<!-- ELSEIF S_INTRO -->
<!-- IF S_WARNING -->
<div class="successbox" style="margin-top: 0;">
@@ -178,13 +185,16 @@
<!-- BEGIN files -->
<!-- IF files.S_STATUS -->
<!-- IF not files.S_FIRST_ROW -->
- </fieldset>
+ </fieldset></div>
<!-- ENDIF -->
<h2>{files.TITLE}</h2>
+ <!-- IF files.STATUS eq 'not_modified' --><div style="float: {S_CONTENT_FLOW_END};">&raquo; <a href="#" onclick="dE('not_modified', 0);">{L_TOGGLE_DISPLAY}</a></div><!-- ENDIF -->
<p>{files.EXPLAIN}</p>
+ <div style="display: <!-- IF files.STATUS neq 'not_modified' -->block<!-- ELSE -->none<!-- ENDIF -->;" id="{files.STATUS}">
+
<fieldset>
<legend><img src="{T_IMAGE_PATH}file_{files.STATUS}.gif" alt="{files.L_STATUS}" /></legend>
<!-- ELSE -->
@@ -262,7 +272,7 @@
<!-- ENDIF -->
<!-- END files -->
- </fieldset>
+ </fieldset></div>
<!-- ENDIF -->
<br />
@@ -287,14 +297,14 @@
<!-- ELSEIF S_DOWNLOAD_FILES -->
- <h1>{L_SELECT_DOWNLOAD_FORMAT}</h1>
+ <h1>{L_DOWNLOAD_UPDATE_METHOD}</h1>
<p>{L_DOWNLOAD_UPDATE_METHOD_EXPLAIN}</p>
<form id="install_update" method="post" action="{U_ACTION}">
<fieldset>
- <legend>{L_DOWNLOAD_AS}</legend>
+ <legend>{L_SELECT_DOWNLOAD_FORMAT}</legend>
<dl>
<dt><label for="use_method">{L_DOWNLOAD_AS}:</label></dt>
<dd>{RADIO_BUTTONS}</dd>