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

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 7.4 KB
Line 
1<!-- INCLUDE overall_header.html -->
2
3<a name="maincontent"></a>
4
5<!-- IF S_SELECT_METHOD -->
6
7 <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
8
9 <h1>{L_SELECT_DOWNLOAD_FORMAT}</h1>
10
11 <form id="selectmethod" method="post" action="{U_ACTION}">
12
13 <fieldset>
14 <legend>{L_DOWNLOAD_AS}</legend>
15 <dl>
16 <dt><label for="use_method">{L_DOWNLOAD_AS}:</label></dt>
17 <dd>{RADIO_BUTTONS}</dd>
18 </dl>
19
20 <p class="quick">
21 <input type="submit" class="button2" value="{L_DOWNLOAD}" name="download" />
22 </p>
23 </fieldset>
24
25 </form>
26
27<!-- ELSEIF S_DETAILS -->
28
29 <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
30
31 <h1>{L_LANGUAGE_PACK_DETAILS}</h1>
32
33 <form id="details" method="post" action="{U_ACTION}">
34
35 <fieldset>
36 <legend>{LANG_LOCAL_NAME}</legend>
37 <dl>
38 <dt><label for="lang_english_name">{L_LANG_ENGLISH_NAME}:</label></dt>
39 <dd><input type="text" id="lang_english_name" name="lang_english_name" value="{LANG_ENGLISH_NAME}" maxlength="100" /></dd>
40 </dl>
41 <dl>
42 <dt><label for="lang_local_name">{L_LANG_LOCAL_NAME}:</label></dt>
43 <dd><input type="text" id="lang_local_name" name="lang_local_name" value="{LANG_LOCAL_NAME}" maxlength="255" /></dd>
44 </dl>
45 <dl>
46 <dt><label>{L_LANG_ISO_CODE}:</label></dt>
47 <dd><strong>{LANG_ISO}</strong></dd>
48 </dl>
49 <dl>
50 <dt><label for="lang_author">{L_LANG_AUTHOR}:</label></dt>
51 <dd><input type="text" id="lang_author" name="lang_author" value="{LANG_AUTHOR}" maxlength="255" /></dd>
52 </dl>
53
54 <p class="quick" style="margin-top: -15px;">
55 <input type="submit" name="update_details" class="button2" value="{L_SUBMIT}" />
56 </p>
57 {S_FORM_TOKEN}
58 </fieldset>
59 </form>
60
61 <br /><br />
62
63 <!-- IF S_MISSING_FILES -->
64 <div class="errorbox">
65 <h3>{L_MISSING_FILES}</h3>
66 <p>{MISSING_FILES}</p>
67 </div>
68 <br /><br />
69 <!-- ENDIF -->
70
71 <!-- IF S_MISSING_VARS -->
72 <h1>{L_MISSING_LANG_VARIABLES}</h1>
73
74 <p>{L_MISSING_VARS_EXPLAIN}</p>
75
76 <form id="missing" method="post" action="{U_MISSING_ACTION}">
77
78 <table cellspacing="1">
79 <thead>
80 <tr>
81 <th>{L_LANGUAGE_KEY}</th>
82 <th>{L_LANGUAGE_VARIABLE}</th>
83 </tr>
84 </thead>
85 <tbody>
86 <!-- BEGIN missing -->
87 <tr class="row4">
88 <td><strong>{missing.FILE}</strong></td>
89 <td style="text-align: right;"><input type="submit" name="missing_file[{missing.KEY}]" value="{L_SELECT}" class="button2" /></td>
90 </tr>
91 {missing.TPL}
92 <!-- END missing -->
93 </tbody>
94 </table>
95 <div>{S_FORM_TOKEN}</div>
96 </form>
97
98 <br /><br />
99 <!-- ENDIF -->
100
101 <a name="entries"></a>
102
103 <h1>{L_LANGUAGE_ENTRIES}</h1>
104
105 <p>{L_LANGUAGE_ENTRIES_EXPLAIN}</p>
106
107 <form id="lang_entries" method="post" action="{U_ENTRY_ACTION}">
108
109 <!-- IF S_FROM_STORE -->
110 <fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
111 <input type="submit" name="remove_store" value="{L_REMOVE_FROM_STORAGE_FOLDER}" class="button2" />
112 </fieldset>
113 <!-- ENDIF -->
114
115 <fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
116 <select name="language_file">{S_LANG_OPTIONS}</select>&nbsp;<input type="submit" class="button2" name="change" value="{L_SELECT}" />
117 </fieldset>
118
119 <p>&nbsp;<br />&nbsp;</p>
120
121
122 <!--[if lt IE 8]>
123 <style type="text/css">
124 /* <![CDATA[ */
125 input.langvalue, textarea.langvalue {
126 width: 450px;
127 }
128 /* ]]> */
129 </style>
130 <![endif]-->
131
132 <table cellspacing="1">
133 <thead>
134 <!-- IF S_EMAIL_FILE -->
135 <tr>
136 <th colspan="2">{L_FILE_CONTENTS}</th>
137 </tr>
138 <!-- ELSE -->
139 <tr>
140 <th>{L_LANGUAGE_KEY}</th>
141 <th>{L_LANGUAGE_VARIABLE}</th>
142 </tr>
143 <!-- ENDIF -->
144 <tr>
145 <td rowspan="2" class="row3"><strong>{PRINT_MESSAGE}<!-- IF S_FROM_STORE --><br /><span style="color: red;">{L_FILE_FROM_STORAGE}</span><!-- ENDIF --></strong></td>
146 <td class="row3" style="text-align: right;"><input type="submit" name="download_file" class="button2" value="{L_SUBMIT_AND_DOWNLOAD}" />&nbsp;&nbsp;<input type="submit" name="submit_file" class="button2" value="{L_SUBMIT}" /></td>
147 </tr>
148 <tr>
149 <td class="row3" style="text-align: right;">
150 <!-- IF ALLOW_UPLOAD -->&nbsp;&nbsp;{L_UPLOAD_METHOD}:&nbsp;<!-- BEGIN buttons--><input type="radio" class="radio"<!-- IF buttons.S_FIRST_ROW --> id="method" checked="checked"<!-- ENDIF --> value="{buttons.VALUE}" name="method" />&nbsp;{buttons.VALUE}&nbsp;<!-- END buttons --><input type="submit" name="upload_file" class="button2" value="{L_SUBMIT_AND_UPLOAD}" /><!-- ENDIF --></td>
151 </tr>
152 </thead>
153 <tbody>
154 <!-- IF S_EMAIL_FILE -->
155 <tr>
156 <td class="row2" colspan="2" style="text-align: center;"><textarea name="entry" id="entry" cols="80" rows="20">{LANG}</textarea></td>
157 </tr>
158 <!-- ELSE -->
159 {TPL}
160 <!-- ENDIF -->
161 <tr>
162 <td class="row3" colspan="3" style="text-align: right;">{S_FORM_TOKEN}<input type="submit" name="download_file" class="button2" value="{L_SUBMIT_AND_DOWNLOAD}" />&nbsp;&nbsp;<input type="submit" name="submit_file" class="button2" value="{L_SUBMIT}" /></td>
163 </tr>
164 </tbody>
165 </table>
166 </form>
167
168<!-- ELSEIF S_UPLOAD -->
169
170 <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
171
172 <h1>{L_UPLOAD_SETTINGS}</h1>
173
174 <form id="upload" method="post" action="{U_ACTION}">
175
176 <!-- IF S_CONNECTION_SUCCESS -->
177 <div class="successbox">
178 <p>{L_CONNECTION_SUCCESS}</p>
179 </div>
180 <!-- ELSEIF S_CONNECTION_FAILED -->
181 <div class="errorbox">
182 <p>{L_CONNECTION_FAILED}</p>
183 </div>
184 <!-- ENDIF -->
185
186 <fieldset>
187 <legend>{L_UPLOAD_SETTINGS}</legend>
188 <dl>
189 <dt><label>{L_UPLOAD_METHOD}:</label></dt>
190 <dd><strong>{NAME}</strong></dd>
191 </dl>
192 <!-- BEGIN data -->
193 <dl>
194 <dt><label for="{data.DATA}">{data.NAME}:</label><br /><span>{data.EXPLAIN}</span></dt>
195 <dd><input type="<!-- IF data.DATA == 'password' -->password<!-- ELSE -->text<!-- ENDIF -->" id="{data.DATA}" name="{data.DATA}" value="{data.DEFAULT}" /></dd>
196 </dl>
197 <!-- END data -->
198 </fieldset>
199
200 <fieldset class="quick">
201 {HIDDEN}
202 {S_FORM_TOKEN}
203 <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
204 <input class="button1" type="submit" name="test_connection" value="{L_TEST_CONNECTION}" />
205 </fieldset>
206 </form>
207
208<!-- ELSE -->
209
210 <h1>{L_ACP_LANGUAGE_PACKS}</h1>
211
212 <p>{L_ACP_LANGUAGE_PACKS_EXPLAIN}</p>
213
214 <table cellspacing="1">
215 <thead>
216 <tr>
217 <th>{L_LANGUAGE_PACK_NAME}</th>
218 <th>{L_LANGUAGE_PACK_LOCALNAME}</th>
219 <th>{L_LANGUAGE_PACK_ISO}</th>
220 <th>{L_LANGUAGE_PACK_USED_BY}</th>
221 <th>{L_OPTIONS}</th>
222 </tr>
223 </thead>
224 <tbody>
225 <tr>
226 <td class="row3" colspan="5"><strong>{L_INSTALLED_LANGUAGE_PACKS}</strong></td>
227 </tr>
228 <!-- BEGIN lang -->
229 <!-- IF lang.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
230 <td><a href="{lang.U_DETAILS}">{lang.ENGLISH_NAME}</a> {lang.TAG}</td>
231 <td>{lang.LOCAL_NAME}</td>
232 <td style="text-align: center;"><strong>{lang.ISO}</strong></td>
233 <td style="text-align: center;">{lang.USED_BY}</td>
234 <td style="text-align: center;">&nbsp;<a href="{lang.U_DOWNLOAD}">{L_DOWNLOAD}</a>&nbsp;|&nbsp;<a href="{lang.U_DELETE}">{L_DELETE}</a></td>
235 </tr>
236 <!-- END lang -->
237 <!-- IF .notinst -->
238 <tr>
239 <td class="row3" colspan="5"><strong>{L_UNINSTALLED_LANGUAGE_PACKS}</strong></td>
240 </tr>
241 <!-- ENDIF -->
242 <!-- BEGIN notinst -->
243 <!-- IF notinst.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
244 <td>{notinst.NAME}</td>
245 <td>{notinst.LOCAL_NAME}</td>
246 <td style="text-align: center;"><strong>{notinst.ISO}</strong></td>
247 <td colspan="2" style="text-align: center;"><a href="{notinst.U_INSTALL}">{L_INSTALL}</a></td>
248 </tr>
249 <!-- END notinst -->
250 </tbody>
251 </table>
252
253<!-- ENDIF -->
254
255<!-- INCLUDE overall_footer.html -->
Note: See TracBrowser for help on using the repository browser.