aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/install/update.html
blob: bf60207e4626663cb10345445fd7d50635d80e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<!-- INCLUDE install/header.html -->

<script type="text/javascript">
// <![CDATA[
	function popup(url, width, height, name)
	{
		if (!name)
		{
			name = '_popup';
		}

		window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes, width=' + width);
		return false;
	}

	function diff_popup(url)
	{
		popup(url, 950, 600, '_diff');
		return false;
	}
// ]]>
</script>

<!-- IF S_ERROR -->
	<div class="errorbox" style="margin-top: 0;">
		<h3>{L_NOTICE}</h3>
		<p>{ERROR_MSG}</p>
	</div>
<!-- ENDIF -->

<!-- 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;">
		<h3>{L_NOTICE}</h3>
		<p>{WARNING_MSG}</p>
	</div>
	<!-- ENDIF -->

	<form id="install_update" method="post" action="{U_ACTION}">

	<h1>{L_UPDATE_INSTALLATION}</h1>
	<p>{L_UPDATE_INSTALLATION_EXPLAIN}</p>

	<fieldset class="submit-buttons">
		<input class="button1" type="submit" name="submit" value="{L_NEXT_STEP}" />
	</fieldset>

	</form>

<!-- ENDIF -->

<!-- IF S_VERSION_CHECK -->

	<h1>{L_VERSION_CHECK}</h1>

	<p>{L_VERSION_CHECK_EXPLAIN}</p>

	<!-- IF S_UP_TO_DATE -->
		<div class="successbox">
			<p>{L_VERSION_UP_TO_DATE}</p>
		</div>
	<!-- ELSE -->
		<div class="errorbox">
			<p>{L_VERSION_NOT_UP_TO_DATE}</p>
		</div>
	<!-- ENDIF -->

	<fieldset>
		<legend></legend>
	<dl>
		<dt><label>{L_CURRENT_VERSION}</label></dt>
		<dd><strong>{CURRENT_VERSION}</strong></dd>
	</dl>
	<dl>
		<dt><label>{L_LATEST_VERSION}</label></dt>
		<dd><strong>{LATEST_VERSION}</strong></dd>
	</dl>
	<!-- IF PACKAGE_VERSION and not S_UP_TO_DATE -->
	<dl>
		<dt><label>{L_PACKAGE_UPDATES_TO}</label></dt>
		<dd><strong>{PACKAGE_VERSION}</strong></dd>
	</dl>
	<!-- ENDIF -->
	</fieldset>

	<!-- IF not S_UP_TO_DATE -->

		<form id="install_dbupdate" method="post" action="{U_DB_UPDATE_ACTION}">

		<fieldset class="submit-buttons">
			<p>{L_UPDATE_DATABASE_EXPLAIN}</p>
			<input class="button1" type="submit" name="db_update" value="{L_UPDATE_DATABASE}" />
		</fieldset>

		</form>

	<!-- ELSE -->
		<form id="install_update" method="post" action="{U_ACTION}">

		<fieldset class="submit-buttons">
			<p>{L_CHECK_FILES_UP_TO_DATE}</p>
			<input class="button1" type="submit" name="submit" value="{L_CHECK_FILES}" />
		</fieldset>

		</form>
	<!-- ENDIF -->

<!-- ELSEIF S_DB_UPDATE -->

	<!-- IF not S_DB_UPDATE_FINISHED -->

		<h1>{L_PERFORM_DATABASE_UPDATE}</h1>

		<p>
			{L_PERFORM_DATABASE_UPDATE_EXPLAIN}<br />
		</p>

		<br /><br />

		<form id="install_dbupdate" method="post" action="{U_DB_UPDATE_ACTION}">

		<fieldset class="submit-buttons">
			<a href="{U_DB_UPDATE}" class="button1">{L_RUN_DATABASE_SCRIPT}</a>

			<!-- input class="button1" type="submit" name="db_update" value="{L_CHECK_UPDATE_DATABASE}" / -->
		</fieldset>

		</form>

	<!-- ELSE -->

		<h1>{L_UPDATE_DB_SUCCESS}</h1>

		<br /><br />

		<form id="install_update" method="post" action="{U_ACTION}">

		<fieldset class="submit-buttons">
			<p>{L_CHECK_FILES_EXPLAIN}</p>
			<input class="button1" type="submit" name="submit" value="{L_CHECK_FILES}" />
		</fieldset>

		</form>

	<!-- ENDIF -->

<!-- ELSEIF S_FILE_CHECK -->

	<!-- IF S_ALL_UP_TO_DATE -->

		<div class="successbox">
			<h3>{L_UPDATE_SUCCESS}</h3>
			<p>{L_ALL_FILES_UP_TO_DATE}</p>
		</div>

	<!-- ELSE -->
		<h1>{L_COLLECTED_INFORMATION}</h1>

		<p>{L_COLLECTED_INFORMATION_EXPLAIN}</p>

		<!-- IF S_NO_UPDATE_FILES -->
			<div class="errorbox">
				<h3>{L_NO_UPDATE_FILES}</h3>

				<p>{L_NO_UPDATE_FILES_EXPLAIN}</p><br />

				<strong>{NO_UPDATE_FILES}</strong>

			</div>
		<!-- ENDIF -->

		<form id="install_update" method="post" action="{U_UPDATE_ACTION}">

		<!-- IF .up_to_date -->
			<h2>{L_FILES_UP_TO_DATE}</h2>
			<p>{L_FILES_UP_TO_DATE_EXPLAIN}</p>

			<fieldset>
				<legend><img src="{T_IMAGE_PATH}file_up_to_date.gif" alt="{L_STATUS_UP_TO_DATE}" /></legend>
			<!-- BEGIN up_to_date -->
				<dl>
					<dd class="full" style="text-align: left;"><strong>{up_to_date.FILENAME}</strong></dd>
				</dl>
			<!-- END up_to_date -->
			</fieldset>

		<!-- ENDIF -->

		<!-- IF .new -->
			<h2>{L_FILES_NEW}</h2>
			<p>{L_FILES_NEW_EXPLAIN}</p>

			<fieldset>
				<legend><img src="{T_IMAGE_PATH}file_new.gif" alt="{L_STATUS_NEW}" /></legend>
			<!-- BEGIN new -->
				<dl>
					<dt style="width: 60%;"><strong><!-- IF new.DIR_PART -->{new.DIR_PART}<br /><!-- ENDIF -->{new.FILE_PART}</strong>
					<!-- IF new.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{new.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
				</dt>
				<dd style="margin-left: 60%;">
					<!-- IF not new.S_BINARY -->[ <a href="{new.U_SHOW_DIFF}" onclick="diff_popup(this.href); return false;">{new.L_SHOW_DIFF}</a>
					<!-- ELSE -->{L_BINARY_FILE}<!-- ENDIF -->
				</dd>
				<!-- IF new.S_CUSTOM -->
					<dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{new.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
				<!-- ENDIF -->
				</dl>
			<!-- END new -->
			</fieldset>

		<!-- ENDIF -->

		<!-- IF .not_modified -->
			<h2>{L_FILES_NOT_MODIFIED}</h2>
			<div style="float: {S_CONTENT_FLOW_END};">&raquo; <a href="#" onclick="dE('not_modified', 0); return false;">{L_TOGGLE_DISPLAY}</a></div>
			<p>{L_FILES_NOT_MODIFIED_EXPLAIN}</p>

			<fieldset id="not_modified" style="display: none;">
				<legend><img src="{T_IMAGE_PATH}file_not_modified.gif" alt="{L_STATUS_NOT_MODIFIED}" /></legend>
			<!-- BEGIN not_modified -->
				<dl>
					<dt style="width: 60%;"><strong><!-- IF not_modified.DIR_PART -->{not_modified.DIR_PART}<br /><!-- ENDIF -->{not_modified.FILE_PART}</strong>
						<!-- IF not_modified.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{not_modified.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
					</dt>
					<dd style="margin-left: 60%;"><!-- IF not not_modified.S_BINARY -->[ <a href="{not_modified.U_SHOW_DIFF}" onclick="diff_popup(this.href); return false;">{not_modified.L_SHOW_DIFF}</a> ]<!-- ELSE -->{L_BINARY_FILE}<!-- ENDIF --></dd>
					<!-- IF not_modified.S_CUSTOM -->
						<dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{not_modified.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
					<!-- ENDIF -->
				</dl>
			<!-- END not_modified -->
			</fieldset>

		<!-- ENDIF -->

		<!-- IF .modified -->
			<h2>{L_FILES_MODIFIED}</h2>
			<p>{L_FILES_MODIFIED_EXPLAIN}</p>

			<!-- BEGIN modified -->
			<fieldset>
				<legend><img src="{T_IMAGE_PATH}file_modified.gif" alt="{L_STATUS_MODIFIED}" /></legend>
				<dl>
					<dt style="width: 60%;"><strong><!-- IF modified.DIR_PART -->{modified.DIR_PART}<br /><!-- ENDIF -->{modified.FILE_PART}</strong>
					<!-- IF modified.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{modified.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
				</dt>
				<dd style="margin-left: 60%;">&nbsp;</dd>
				<!-- IF modified.S_CUSTOM -->
					<dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{modified.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
				<!-- ENDIF -->
				</dl>
				<dl>
					<dt style="width: 60%"><label><input type="radio" class="radio" name="modified[{modified.FILENAME}]" value="0" checked="checked" /> {L_MERGE_MODIFICATIONS_OPTION}</label></dt>
					<dd style="margin-left: 60%;"><!-- IF not modified.S_BINARY -->[ <a href="{modified.U_SHOW_DIFF}" onclick="diff_popup(this.href); return false;">{modified.L_SHOW_DIFF}</a> ]<!-- ELSE -->{L_BINARY_FILE}<!-- ENDIF --></dd>
				</dl>
				<dl>
					<dt style="width: 60%"><label><input type="radio" class="radio" name="modified[{modified.FILENAME}]" value="1" /> {L_MERGE_NO_MERGE_NEW_OPTION}</label></dt>
					<dd style="margin-left: 60%;"><!-- IF not modified.S_BINARY -->[<a href="{modified.U_VIEW_NO_MERGE_NEW}" onclick="diff_popup(this.href); return false;">{L_SHOW_DIFF_FINAL}</a>]<!-- ELSE -->&nbsp;<!-- ENDIF --></dd>
				</dl>
				<dl>
					<dt style="width: 60%"><label><input type="radio" class="radio" name="modified[{modified.FILENAME}]" value="2" /> {L_MERGE_NO_MERGE_MOD_OPTION}</label></dt>
					<dd style="margin-left: 60%;"><!-- IF not modified.S_BINARY -->[<a href="{modified.U_VIEW_NO_MERGE_MOD}" onclick="diff_popup(this.href); return false;">{L_SHOW_DIFF_FINAL}</a>]<!-- ELSE -->&nbsp;<!-- ENDIF --></dd>
				</dl>
			</fieldset>
			<!-- END modified -->

		<!-- ENDIF -->

		<!-- IF .new_conflict -->
			<h2>{L_FILES_NEW_CONFLICT}</h2>
			<p>{L_FILES_NEW_CONFLICT_EXPLAIN}</p>

			<fieldset>
				<legend><img src="{T_IMAGE_PATH}file_new_conflict.gif" alt="{L_STATUS_NEW_CONFLICT}" /></legend>
			<!-- BEGIN new_conflict -->
				<dl>
					<dt style="width: 60%;"><strong><!-- IF new_conflict.DIR_PART -->{new_conflict.DIR_PART}<br /><!-- ENDIF -->{new_conflict.FILE_PART}</strong>
					<!-- IF new_conflict.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{new_conflict.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
				</dt>
				<dd style="margin-left: 60%;">
					<!-- IF not new_conflict.S_BINARY -->[ <a href="{new_conflict.U_SHOW_DIFF}" onclick="diff_popup(this.href); return false;">{new_conflict.L_SHOW_DIFF}</a>
					<!-- ELSE -->{L_BINARY_FILE}<!-- ENDIF -->
				</dd>
				<!-- IF new_conflict.S_CUSTOM -->
					<dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{new_conflict.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
				<!-- ENDIF -->
				</dl>
			<!-- END new_conflict -->
			</fieldset>

		<!-- ENDIF -->

		<!-- IF .conflict -->
			<h2>{L_FILES_CONFLICT}</h2>
			<p>{L_FILES_CONFLICT_EXPLAIN}</p>

			<!-- BEGIN conflict -->
			<fieldset>
				<legend><img src="{T_IMAGE_PATH}file_conflict.gif" alt="{L_STATUS_CONFLICT}" /></legend>
				<dl>
					<dt style="width: 60%;"><strong><!-- IF conflict.DIR_PART -->{conflict.DIR_PART}<br /><!-- ENDIF -->{conflict.FILE_PART}</strong>
						<!-- IF conflict.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{conflict.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
						<!-- IF conflict.NUM_CONFLICTS --><br /><span>{L_NUM_CONFLICTS}: {conflict.NUM_CONFLICTS}</span><!-- ENDIF -->
					</dt>
					<dd style="margin-left: 60%;">
						<!-- IF not conflict.S_BINARY -->[ <a href="{conflict.U_SHOW_DIFF}">{L_DOWNLOAD_CONFLICTS}</a> ]<br />{L_DOWNLOAD_CONFLICTS_EXPLAIN}
						<!-- ELSE -->{L_BINARY_FILE}<!-- ENDIF -->
					</dd>
					<!-- IF conflict.S_CUSTOM -->
						<dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{conflict.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
					<!-- ENDIF -->
				</dl>
				<!-- IF conflict.S_BINARY -->
					<dl>
						<dt style="width: 60%"><label><input type="radio" class="radio" name="conflict[{conflict.FILENAME}]" value="1" checked="checked" /> {L_MERGE_NO_MERGE_NEW_OPTION}</label></dt>
						<dd style="margin-left: 60%;">&nbsp;</dd>
					</dl>
				<!-- ELSE -->
					<dl>
						<dt style="width: 60%"><label><input type="radio" class="radio" name="conflict[{conflict.FILENAME}]" value="3" checked="checked" /> {L_MERGE_NEW_FILE_OPTION}</label></dt>
						<dd style="margin-left: 60%;">[<a href="{conflict.U_VIEW_NEW_FILE}" onclick="diff_popup(this.href); return false;">{L_SHOW_DIFF_MODIFIED}</a>]</dd>
					</dl>
					<dl>
						<dt style="width: 60%"><label><input type="radio" class="radio" name="conflict[{conflict.FILENAME}]" value="4" /> {L_MERGE_MOD_FILE_OPTION}</label></dt>
						<dd style="margin-left: 60%;">[<a href="{conflict.U_VIEW_MOD_FILE}" onclick="diff_popup(this.href); return false;">{L_SHOW_DIFF_MODIFIED}</a>]</dd>
					</dl>
					<dl>
						<dt style="width: 60%"><label><input type="radio" class="radio" name="conflict[{conflict.FILENAME}]" value="1" /> {L_MERGE_NO_MERGE_NEW_OPTION}</label></dt>
						<dd style="margin-left: 60%;">[<a href="{conflict.U_VIEW_NO_MERGE_NEW}" onclick="diff_popup(this.href); return false;">{L_SHOW_DIFF_FINAL}</a>]</dd>
					</dl>
					<dl>
						<dt style="width: 60%"><label><input type="radio" class="radio" name="conflict[{conflict.FILENAME}]" value="2" /> {L_MERGE_NO_MERGE_MOD_OPTION}</label></dt>
						<dd style="margin-left: 60%;">[<a href="{conflict.U_VIEW_NO_MERGE_MOD}" onclick="diff_popup(this.href); return false;">{L_SHOW_DIFF_FINAL}</a>]</dd>
					</dl>
				<!-- ENDIF -->
			</fieldset>
			<!-- END conflict -->

		<!-- ENDIF -->

		<br />

		<fieldset class="quick">
			<input class="button1" type="submit" name="check_again" value="{L_CHECK_FILES_AGAIN}" />
		</fieldset>

		<br />

		<h1>{L_UPDATE_METHOD}</h1>

		<p>{L_UPDATE_METHOD_EXPLAIN}</p>

		<fieldset class="submit-buttons">
			<input class="button1" type="submit" name="ftp_upload" value="{L_FTP_UPDATE_METHOD}" />&nbsp; &nbsp;<input class="button1" type="submit" name="download" value="{L_DOWNLOAD_UPDATE_METHOD_BUTTON}" />
		</fieldset>

		</form>

	<!-- ENDIF -->

<!-- ELSEIF S_UPDATE_OPTIONS -->

<!-- INCLUDE update_options.html -->

<!-- ENDIF -->

<!-- INCLUDE install/footer.html -->