source: trunk/forum/adm/style/install_update.html

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 15.3 KB
Line 
1<!-- INCLUDE install_header.html -->
2
3<script type="text/javascript">
4// <![CDATA[
5 function popup(url, width, height, name)
6 {
7 if (!name)
8 {
9 name = '_popup';
10 }
11
12 window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes, width=' + width);
13 return false;
14 }
15
16 function diff_popup(url)
17 {
18 popup(url, 950, 600, '_diff');
19 return false;
20 }
21// ]]>
22</script>
23
24<!-- IF S_ERROR -->
25 <div class="errorbox" style="margin-top: 0;">
26 <h3>{L_NOTICE}</h3>
27 <p>{ERROR_MSG}</p>
28 </div>
29<!-- ENDIF -->
30
31<!-- IF S_IN_PROGRESS -->
32
33 <div class="successbox" style="margin-top: 0;">
34 <h3>{L_IN_PROGRESS}</h3>
35 <p>{L_IN_PROGRESS_EXPLAIN}</p>
36 </div>
37
38<!-- ELSEIF S_INTRO -->
39
40 <!-- IF S_WARNING -->
41 <div class="successbox" style="margin-top: 0;">
42 <h3>{L_NOTICE}</h3>
43 <p>{WARNING_MSG}</p>
44 </div>
45 <!-- ENDIF -->
46
47 <form id="install_update" method="post" action="{U_ACTION}">
48
49 <h1>{L_UPDATE_INSTALLATION}</h1>
50 <p>{L_UPDATE_INSTALLATION_EXPLAIN}</p>
51
52 <fieldset class="submit-buttons">
53 <input class="button1" type="submit" name="submit" value="{L_NEXT_STEP}" />
54 </fieldset>
55
56 </form>
57
58<!-- ELSEIF S_UPLOAD_SUCCESS -->
59
60 <form id="install_update" method="post" action="{U_ACTION}">
61
62 <h1>{L_UPDATE_SUCCESS}</h1>
63 <p>{L_UPDATE_SUCCESS_EXPLAIN}</p>
64
65 <fieldset class="submit-buttons">
66 <input class="button1" type="submit" name="check_again" value="{L_CONTINUE_UPDATE}" />
67 </fieldset>
68
69 </form>
70
71<!-- ENDIF -->
72
73<!-- IF S_VERSION_CHECK -->
74
75 <h1>{L_VERSION_CHECK}</h1>
76
77 <p>{L_VERSION_CHECK_EXPLAIN}</p>
78
79 <!-- IF S_UP_TO_DATE -->
80 <div class="successbox">
81 <p>{L_VERSION_UP_TO_DATE}</p>
82 </div>
83 <!-- ELSE -->
84 <div class="errorbox">
85 <p>{L_VERSION_NOT_UP_TO_DATE}</p>
86 </div>
87 <!-- ENDIF -->
88
89 <fieldset>
90 <legend></legend>
91 <dl>
92 <dt><label>{L_CURRENT_VERSION}</label></dt>
93 <dd><strong>{CURRENT_VERSION}</strong></dd>
94 </dl>
95 <dl>
96 <dt><label>{L_LATEST_VERSION}</label></dt>
97 <dd><strong>{LATEST_VERSION}</strong></dd>
98 </dl>
99 <!-- IF PACKAGE_VERSION and not S_UP_TO_DATE -->
100 <dl>
101 <dt><label>{L_PACKAGE_UPDATES_TO}</label></dt>
102 <dd><strong>{PACKAGE_VERSION}</strong></dd>
103 </dl>
104 <!-- ENDIF -->
105 </fieldset>
106
107 <!-- IF not S_UP_TO_DATE -->
108
109 <form id="install_dbupdate" method="post" action="{U_DB_UPDATE_ACTION}">
110
111 <fieldset class="submit-buttons">
112 <p>{L_UPDATE_DATABASE_EXPLAIN}</p>
113 <input class="button1" type="submit" name="db_update" value="{L_UPDATE_DATABASE}" />
114 </fieldset>
115
116 </form>
117
118 <!-- ELSE -->
119 <form id="install_update" method="post" action="{U_ACTION}">
120
121 <fieldset class="submit-buttons">
122 <p>{L_CHECK_FILES_UP_TO_DATE}</p>
123 <input class="button1" type="submit" name="submit" value="{L_CHECK_FILES}" />
124 </fieldset>
125
126 </form>
127 <!-- ENDIF -->
128
129<!-- ELSEIF S_DB_UPDATE -->
130
131 <!-- IF not S_DB_UPDATE_FINISHED -->
132
133 <h1>{L_PERFORM_DATABASE_UPDATE}</h1>
134
135 <p>
136 {L_PERFORM_DATABASE_UPDATE_EXPLAIN}<br />
137 </p>
138
139 <br /><br />
140
141 <form id="install_dbupdate" method="post" action="{U_DB_UPDATE_ACTION}">
142
143 <fieldset class="submit-buttons">
144 <a href="{U_DB_UPDATE}" class="button1">{L_RUN_DATABASE_SCRIPT}</a>
145
146 <!-- input class="button1" type="submit" name="db_update" value="{L_CHECK_UPDATE_DATABASE}" / -->
147 </fieldset>
148
149 </form>
150
151 <!-- ELSE -->
152
153 <h1>{L_UPDATE_DB_SUCCESS}</h1>
154
155 <br /><br />
156
157 <form id="install_update" method="post" action="{U_ACTION}">
158
159 <fieldset class="submit-buttons">
160 <p>{L_CHECK_FILES_EXPLAIN}</p>
161 <input class="button1" type="submit" name="submit" value="{L_CHECK_FILES}" />
162 </fieldset>
163
164 </form>
165
166 <!-- ENDIF -->
167
168<!-- ELSEIF S_FILE_CHECK -->
169
170 <!-- IF S_ALL_UP_TO_DATE -->
171
172 <div class="successbox">
173 <h3>{L_UPDATE_SUCCESS}</h3>
174 <p>{L_ALL_FILES_UP_TO_DATE}</p>
175 </div>
176
177 <!-- ELSE -->
178 <h1>{L_COLLECTED_INFORMATION}</h1>
179
180 <p>{L_COLLECTED_INFORMATION_EXPLAIN}</p>
181
182 <!-- IF S_NO_UPDATE_FILES -->
183 <div class="errorbox">
184 <h3>{L_NO_UPDATE_FILES}</h3>
185
186 <p>{L_NO_UPDATE_FILES_EXPLAIN}</p><br />
187
188 <strong>{NO_UPDATE_FILES}</strong>
189
190 </div>
191 <!-- ENDIF -->
192
193 <form id="install_update" method="post" action="{U_UPDATE_ACTION}">
194
195 <!-- IF .up_to_date -->
196 <h2>{L_FILES_UP_TO_DATE}</h2>
197 <p>{L_FILES_UP_TO_DATE_EXPLAIN}</p>
198
199 <fieldset>
200 <legend><img src="{T_IMAGE_PATH}file_up_to_date.gif" alt="{L_STATUS_UP_TO_DATE}" /></legend>
201 <!-- BEGIN up_to_date -->
202 <dl>
203 <dd class="full" style="text-align: left;"><strong>{up_to_date.FILENAME}</strong></dd>
204 </dl>
205 <!-- END up_to_date -->
206 </fieldset>
207
208 <!-- ENDIF -->
209
210 <!-- IF .new -->
211 <h2>{L_FILES_NEW}</h2>
212 <p>{L_FILES_NEW_EXPLAIN}</p>
213
214 <fieldset>
215 <legend><img src="{T_IMAGE_PATH}file_new.gif" alt="{L_STATUS_NEW}" /></legend>
216 <!-- BEGIN new -->
217 <dl>
218 <dt style="width: 60%;"><strong><!-- IF new.DIR_PART -->{new.DIR_PART}<br /><!-- ENDIF -->{new.FILE_PART}</strong>
219 <!-- IF new.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{new.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
220 </dt>
221 <dd style="margin-left: 60%;">
222 <!-- 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 -->
223 </dd>
224 <!-- IF new.S_CUSTOM -->
225 <dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{new.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
226 <!-- ENDIF -->
227 </dl>
228 <!-- END new -->
229 </fieldset>
230
231 <!-- ENDIF -->
232
233 <!-- IF .not_modified -->
234 <h2>{L_FILES_NOT_MODIFIED}</h2>
235 <div style="float: {S_CONTENT_FLOW_END};">&raquo; <a href="#" onclick="dE('not_modified', 0); return false;">{L_TOGGLE_DISPLAY}</a></div>
236 <p>{L_FILES_NOT_MODIFIED_EXPLAIN}</p>
237
238 <fieldset id="not_modified" style="display: none;">
239 <legend><img src="{T_IMAGE_PATH}file_not_modified.gif" alt="{L_STATUS_NOT_MODIFIED}" /></legend>
240 <!-- BEGIN not_modified -->
241 <dl>
242 <dt style="width: 60%;"><strong><!-- IF not_modified.DIR_PART -->{not_modified.DIR_PART}<br /><!-- ENDIF -->{not_modified.FILE_PART}</strong>
243 <!-- IF not_modified.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{not_modified.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
244 </dt>
245 <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>
246 <!-- IF not_modified.S_CUSTOM -->
247 <dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{not_modified.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
248 <!-- ENDIF -->
249 </dl>
250 <!-- END not_modified -->
251 </fieldset>
252
253 <!-- ENDIF -->
254
255 <!-- IF .modified -->
256 <h2>{L_FILES_MODIFIED}</h2>
257 <p>{L_FILES_MODIFIED_EXPLAIN}</p>
258
259 <!-- BEGIN modified -->
260 <fieldset>
261 <legend><img src="{T_IMAGE_PATH}file_modified.gif" alt="{L_STATUS_MODIFIED}" /></legend>
262 <dl>
263 <dt style="width: 60%;"><strong><!-- IF modified.DIR_PART -->{modified.DIR_PART}<br /><!-- ENDIF -->{modified.FILE_PART}</strong>
264 <!-- IF modified.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{modified.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
265 </dt>
266 <dd style="margin-left: 60%;">&nbsp;</dd>
267 <!-- IF modified.S_CUSTOM -->
268 <dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{modified.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
269 <!-- ENDIF -->
270 </dl>
271 <dl>
272 <dt style="width: 60%"><label><input type="radio" class="radio" name="modified[{modified.FILENAME}]" value="0" checked="checked" /> {L_MERGE_MODIFICATIONS_OPTION}</label></dt>
273 <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>
274 </dl>
275 <dl>
276 <dt style="width: 60%"><label><input type="radio" class="radio" name="modified[{modified.FILENAME}]" value="1" /> {L_MERGE_NO_MERGE_NEW_OPTION}</label></dt>
277 <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>
278 </dl>
279 <dl>
280 <dt style="width: 60%"><label><input type="radio" class="radio" name="modified[{modified.FILENAME}]" value="2" /> {L_MERGE_NO_MERGE_MOD_OPTION}</label></dt>
281 <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>
282 </dl>
283 </fieldset>
284 <!-- END modified -->
285
286 <!-- ENDIF -->
287
288 <!-- IF .new_conflict -->
289 <h2>{L_FILES_NEW_CONFLICT}</h2>
290 <p>{L_FILES_NEW_CONFLICT_EXPLAIN}</p>
291
292 <fieldset>
293 <legend><img src="{T_IMAGE_PATH}file_new_conflict.gif" alt="{L_STATUS_NEW_CONFLICT}" /></legend>
294 <!-- BEGIN new_conflict -->
295 <dl>
296 <dt style="width: 60%;"><strong><!-- IF new_conflict.DIR_PART -->{new_conflict.DIR_PART}<br /><!-- ENDIF -->{new_conflict.FILE_PART}</strong>
297 <!-- IF new_conflict.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{new_conflict.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
298 </dt>
299 <dd style="margin-left: 60%;">
300 <!-- 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 -->
301 </dd>
302 <!-- IF new_conflict.S_CUSTOM -->
303 <dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{new_conflict.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
304 <!-- ENDIF -->
305 </dl>
306 <!-- END new_conflict -->
307 </fieldset>
308
309 <!-- ENDIF -->
310
311 <!-- IF .conflict -->
312 <h2>{L_FILES_CONFLICT}</h2>
313 <p>{L_FILES_CONFLICT_EXPLAIN}</p>
314
315 <!-- BEGIN conflict -->
316 <fieldset>
317 <legend><img src="{T_IMAGE_PATH}file_conflict.gif" alt="{L_STATUS_CONFLICT}" /></legend>
318 <dl>
319 <dt style="width: 60%;"><strong><!-- IF conflict.DIR_PART -->{conflict.DIR_PART}<br /><!-- ENDIF -->{conflict.FILE_PART}</strong>
320 <!-- IF conflict.S_CUSTOM --><br /><span><em>{L_FILE_USED}: </em>{conflict.CUSTOM_ORIGINAL}</span><!-- ENDIF -->
321 <!-- IF conflict.NUM_CONFLICTS --><br /><span>{L_NUM_CONFLICTS}: {conflict.NUM_CONFLICTS}</span><!-- ENDIF -->
322 </dt>
323 <dd style="margin-left: 60%;">
324 <!-- IF not conflict.S_BINARY -->[<a href="{conflict.U_SHOW_DIFF}">{L_DOWNLOAD_CONFLICTS}</a>]<br />{L_DOWNLOAD_CONFLICTS_EXPLAIN}
325 <!-- ELSE -->{L_BINARY_FILE}<!-- ENDIF -->
326 </dd>
327 <!-- IF conflict.S_CUSTOM -->
328 <dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{conflict.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
329 <!-- ENDIF -->
330 </dl>
331 <!-- IF conflict.S_BINARY -->
332 <dl>
333 <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>
334 <dd style="margin-left: 60%;">&nbsp;</dd>
335 </dl>
336 <!-- ELSE -->
337 <dl>
338 <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>
339 <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>
340 </dl>
341 <dl>
342 <dt style="width: 60%"><label><input type="radio" class="radio" name="conflict[{conflict.FILENAME}]" value="4" /> {L_MERGE_MOD_FILE_OPTION}</label></dt>
343 <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>
344 </dl>
345 <dl>
346 <dt style="width: 60%"><label><input type="radio" class="radio" name="conflict[{conflict.FILENAME}]" value="1" /> {L_MERGE_NO_MERGE_NEW_OPTION}</label></dt>
347 <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>
348 </dl>
349 <dl>
350 <dt style="width: 60%"><label><input type="radio" class="radio" name="conflict[{conflict.FILENAME}]" value="2" /> {L_MERGE_NO_MERGE_MOD_OPTION}</label></dt>
351 <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>
352 </dl>
353 <!-- ENDIF -->
354 </fieldset>
355 <!-- END conflict -->
356
357 <!-- ENDIF -->
358
359 <br />
360
361 <fieldset class="quick">
362 <input class="button1" type="submit" name="check_again" value="{L_CHECK_FILES_AGAIN}" />
363 </fieldset>
364
365 <br />
366
367 <h1>{L_UPDATE_METHOD}</h1>
368
369 <p>{L_UPDATE_METHOD_EXPLAIN}</p>
370
371 <fieldset class="submit-buttons">
372 <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}" />
373 </fieldset>
374
375 </form>
376
377 <!-- ENDIF -->
378
379<!-- ELSEIF S_DOWNLOAD_FILES -->
380
381 <h1>{L_DOWNLOAD_UPDATE_METHOD}</h1>
382
383 <p>{L_DOWNLOAD_UPDATE_METHOD_EXPLAIN}</p>
384
385 <form id="install_update" method="post" action="{U_ACTION}">
386
387 <fieldset>
388 <legend>{L_SELECT_DOWNLOAD_FORMAT}</legend>
389 <dl>
390 <dt><label for="use_method">{L_DOWNLOAD_AS}:</label></dt>
391 <dd>{RADIO_BUTTONS}</dd>
392 </dl>
393 </fieldset>
394
395 <fieldset class="submit-buttons">
396 {S_HIDDEN_FIELDS}
397 <input type="submit" class="button2" value="{L_CONTINUE_UPDATE}" name="check_again" />&nbsp; &nbsp;<input type="submit" class="button1" value="{L_DOWNLOAD}" name="download" />
398 </fieldset>
399
400 </form>
401
402 <br /><br />
403
404 <p>{L_MAPPING_FILE_STRUCTURE}</p>
405
406 <table cellspacing="1">
407 <col class="row1" /><col class="row2" /><col class="row1" />
408 <thead>
409 <tr>
410 <th style="width: 49%">{L_ARCHIVE_FILE}</th>
411 <th style="width: 2%">&nbsp;</th>
412 <th style="width: 49%">{L_DESTINATION}</th>
413 </tr>
414 </thead>
415 <tbody>
416 <!-- BEGIN location -->
417 <tr>
418 <td>{location.SOURCE}</td>
419 <td><strong>&raquo;</strong></td>
420 <td>{location.DESTINATION}</td>
421 </tr>
422 <!-- END location -->
423 </tbody>
424 </table>
425
426<!-- ELSEIF S_FTP_UPLOAD -->
427
428 <h1>{L_SELECT_FTP_SETTINGS}</h1>
429
430 <form id="install_update" method="post" action="{U_ACTION}">
431
432 <!-- IF S_CONNECTION_SUCCESS -->
433 <div class="successbox">
434 <p>{L_CONNECTION_SUCCESS}</p>
435 </div>
436 <!-- ELSEIF S_CONNECTION_FAILED -->
437 <div class="successbox">
438 <p>{L_TRY_DOWNLOAD_METHOD}</p>
439
440 <fieldset class="quick">
441 <input class="button1" type="submit" name="download" value="{L_TRY_DOWNLOAD_METHOD_BUTTON}" />
442 </fieldset>
443 </div>
444
445 <div class="errorbox">
446 <p>{L_CONNECTION_FAILED}<br />{ERROR_MSG}</p>
447 </div>
448 <!-- ENDIF -->
449
450 <fieldset>
451 <legend>{L_FTP_SETTINGS}</legend>
452 <dl>
453 <dt><label>{L_UPLOAD_METHOD}:</label></dt>
454 <dd><strong>{UPLOAD_METHOD}</strong></dd>
455 </dl>
456 <!-- BEGIN data -->
457 <dl>
458 <dt><label for="{data.DATA}">{data.NAME}:</label><br /><span>{data.EXPLAIN}</span></dt>
459 <dd><input type="<!-- IF data.DATA == 'password' -->password<!-- ELSE -->text<!-- ENDIF -->" id="{data.DATA}" name="{data.DATA}" value="{data.DEFAULT}" /></dd>
460 </dl>
461 <!-- END data -->
462 </fieldset>
463
464 <fieldset class="submit-buttons">
465 {S_HIDDEN_FIELDS}
466 <input class="button2" type="submit" name="check_again" value="{L_BACK}" />
467 <input class="button1" type="submit" name="test_connection" value="{L_TEST_CONNECTION}" />
468 <input class="button1" type="submit" name="submit" value="{L_UPDATE_FILES}" />
469 </fieldset>
470
471 </form>
472
473<!-- ENDIF -->
474
475<!-- INCLUDE install_footer.html -->
Note: See TracBrowser for help on using the repository browser.