source: branches/posledni/forum/adm/style/acp_database.html

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 3.1 KB
Line 
1<!-- INCLUDE overall_header.html -->
2
3<a name="maincontent"></a>
4
5<!-- IF MODE eq 'restore' -->
6 <h1>{L_ACP_RESTORE}</h1>
7
8 <p>{L_ACP_RESTORE_EXPLAIN}</p>
9
10 <!-- IF .files -->
11 <form id="acp_backup" method="post" action="{U_ACTION}">
12
13 <fieldset>
14 <legend>{L_RESTORE_OPTIONS}</legend>
15 <dl>
16 <dt><label for="file">{L_SELECT_FILE}:</label></dt>
17 <dd><select id="file" name="file" size="10"><!-- BEGIN files --><option value="{files.FILE}"<!-- IF files.S_LAST_ROW --> selected="selected"<!-- ENDIF -->>{files.NAME}</option><!-- END files --></select></dd>
18 </dl>
19
20 <p class="submit-buttons">
21 <input class="button1" type="submit" id="submit" name="submit" value="{L_START_RESTORE}" />&nbsp;
22 <input class="button2" type="submit" id="delete" name="delete" value="{L_DELETE_BACKUP}" />&nbsp;
23 <input class="button2" type="submit" id="download" name="download" value="{L_DOWNLOAD_BACKUP}" />
24 </p>
25 {S_FORM_TOKEN}
26 </fieldset>
27 </form>
28 <!-- ELSE -->
29 <div class="errorbox">
30 <p>{L_ACP_NO_ITEMS}</p>
31 </div>
32 <!-- ENDIF -->
33
34<!-- ELSE -->
35 <h1>{L_ACP_BACKUP}</h1>
36
37 <p>{L_ACP_BACKUP_EXPLAIN}</p>
38
39 <script type="text/javascript">
40 // <![CDATA[
41
42 function selector(bool)
43 {
44 var table = document.getElementById('table');
45
46 for (var i = 0; i < table.options.length; i++)
47 {
48 table.options[i].selected = bool;
49 }
50 }
51
52 // ]]>
53 </script>
54
55 <form id="acp_backup" method="post" action="{U_ACTION}">
56
57 <fieldset>
58 <legend>{L_BACKUP_OPTIONS}</legend>
59 <dl>
60 <dt><label for="type">{L_BACKUP_TYPE}:</label></dt>
61 <dd><label><input type="radio" class="radio" name="type" value="full" id="type" checked="checked" /> {L_FULL_BACKUP}</label>
62 <label><input type="radio" name="type" class="radio" value="structure" /> {L_STRUCTURE_ONLY}</label>
63 <label><input type="radio" class="radio" name="type" value="data" /> {L_DATA_ONLY}</label></dd>
64 </dl>
65 <dl>
66 <dt><label for="method">{L_FILE_TYPE}:</label></dt>
67 <dd><!-- BEGIN methods -->
68 <label><input name="method"<!-- IF methods.S_FIRST_ROW --> id="method" checked="checked"<!-- ENDIF --> type="radio" class="radio" value="{methods.TYPE}" /> {methods.TYPE}</label>
69 <!-- END methods --></dd>
70 </dl>
71 <dl>
72 <dt><label for="where">{L_ACTION}:</label></dt>
73 <dd>
74 <label><input id="where" type="radio" class="radio" name="where" value="store" checked="checked" /> {L_STORE_LOCAL}</label>
75 <label><input type="radio" class="radio" name="where" value="download" /> {L_DOWNLOAD}</label>
76 </dd>
77 </dl>
78 <dl>
79 <dt><label for="table">{L_TABLE_SELECT}:</label></dt>
80 <dd><select id="table" name="table[]" size="10" multiple="multiple">
81 <!-- BEGIN tables -->
82 <option value="{tables.TABLE}">{tables.TABLE}</option>
83 <!-- END tables -->
84 </select></dd>
85 <dd><a href="#" onclick="selector(true); return false;">{L_SELECT_ALL}</a> :: <a href="#" onclick="selector(false); return false;">{L_DESELECT_ALL}</a></dd>
86 </dl>
87
88 <p class="submit-buttons">
89 <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
90 <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
91 </p>
92 {S_FORM_TOKEN}
93 </fieldset>
94 </form>
95
96<!-- ENDIF -->
97
98<!-- INCLUDE overall_footer.html -->
Note: See TracBrowser for help on using the repository browser.