0
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
8
|
2 <!-- MODX by the phpBB MOD Team XSL file v1.2.4 copyright 2005-2010 the phpBB MOD Team.
|
|
3 This file is released under the GNU GPL version 2. See license.txt.
|
|
4 $Id: modx.prosilver.en.xsl 211 2010-02-27 20:05:11Z tumba25 $ -->
|
0
|
5 <!DOCTYPE xsl:stylesheet[
|
|
6 <!ENTITY nbsp " ">
|
|
7 ]>
|
8
|
8 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:mod="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
0
|
9 <xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
|
10 <xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
|
11 <xsl:variable name="version">
|
8
|
12 <xsl:for-each select="mod:mod/mod:header/mod:mod-version">
|
|
13 <xsl:value-of select="current()" />
|
|
14 </xsl:for-each>
|
0
|
15 </xsl:variable>
|
8
|
16
|
0
|
17 <xsl:template match="mod:mod">
|
|
18 <html xmlns="http://www.w3.org/1999/xhtml">
|
|
19 <head>
|
|
20 <meta http-equiv="Content-Language" content="en" />
|
|
21 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
22 <style type="text/css">
|
|
23 /* phpBB 3.0 Admin Style Sheet
|
|
24 –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
|
25 Original author: subBlue ( http://www.subblue.com/ )
|
|
26 Copyright 2007 phpBB Group ( http://www.phpbb.com/ )
|
|
27 –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
|
28 */
|
|
29
|
|
30 /* General markup styles
|
|
31 ––––––––––––––––––––––––––––––*/
|
|
32 * {
|
|
33 /* Reset browsers default margin, padding and font sizes */
|
|
34 margin:0;
|
|
35 padding:0;
|
|
36 font-size:100%;
|
|
37 }
|
|
38
|
8
|
39 /*.rtl * {
|
|
40 text-align:right;
|
|
41 direction: rtl;
|
|
42 }*/
|
|
43
|
0
|
44 body, div, p, th, td, li, dd {
|
|
45 font-size:x-small;
|
|
46 voice-family:"\"}\"";
|
|
47 voice-family:inherit;
|
|
48 font-size:100%;
|
|
49 }
|
|
50
|
|
51 html>body, html>div, html>p, html>th, html>td, html>li, html>dd {
|
|
52 font-size:small
|
|
53 }
|
|
54
|
|
55 html {
|
|
56 color:#536482;
|
|
57 background:#DBD7D1;
|
|
58 /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-ie browsers */
|
|
59 height:100%;
|
|
60 margin-bottom:1px;
|
|
61 }
|
|
62
|
|
63 body {
|
|
64 /* Text-Sizing with ems:http://www.clagnut.com/blog/348/ */
|
|
65 font-family:"Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
|
|
66 color:#536482;
|
|
67 background:#DBD7D1;
|
|
68 font-size:82.5%; /* This sets the default font size to be equivalent to 10px */
|
|
69 margin:10px 15px;
|
|
70 }
|
|
71
|
|
72 img {
|
|
73 border:0;
|
|
74 }
|
|
75
|
|
76 h1 {
|
|
77 font-family:"Trebuchet MS", Helvetica, sans-serif;
|
|
78 font-size:1.70em;
|
|
79 font-weight:normal;
|
|
80 color:#333333;
|
|
81 }
|
|
82
|
|
83 h2, caption {
|
|
84 font-family:"Trebuchet MS", Helvetica, sans-serif;
|
|
85 font-size:1.40em;
|
|
86 font-weight:normal;
|
|
87 color:#115098;
|
|
88 text-align:left;
|
|
89 margin-top:25px;
|
|
90 }
|
|
91
|
|
92 .rtl h2, .rtl caption {
|
|
93 text-align:right;
|
|
94 }
|
|
95
|
|
96 h3, h4, h5 {
|
|
97 font-family:"Trebuchet MS", Helvetica, sans-serif;
|
|
98 font-size:1.20em;
|
|
99 text-decoration:none;
|
|
100 line-height:1.20em;
|
|
101 margin-top:10px;
|
|
102 }
|
|
103
|
|
104 p {
|
|
105 margin-bottom:0.7em;
|
|
106 line-height:1.40em;
|
|
107 font-size:1.0em;
|
|
108 }
|
|
109
|
|
110 ul {
|
|
111 list-style:disc;
|
|
112 margin:0 0 1em 2em;
|
|
113 }
|
|
114
|
|
115 .rtl ul {
|
|
116 margin:0 2em 1em 0;
|
|
117 }
|
|
118
|
|
119 hr {
|
|
120 border:0 none;
|
|
121 border-top:1px dashed #999999;
|
|
122 margin-bottom:5px;
|
|
123 padding-bottom:5px;
|
|
124 height:1px;
|
|
125 }
|
|
126
|
|
127 .small {
|
|
128 font-size:0.85em;
|
|
129 }
|
|
130
|
|
131 /* General links */
|
|
132 a:link, a:visited {
|
|
133 color:#105289;
|
|
134 text-decoration:none;
|
|
135 }
|
|
136
|
|
137 a:link:hover {
|
|
138 color:#BC2A4D;
|
|
139 text-decoration:underline;
|
|
140 }
|
|
141
|
|
142 a:active {
|
|
143 color:#368AD2;
|
|
144 text-decoration:none;
|
|
145 }
|
|
146
|
|
147 /* Main blocks
|
|
148 ––––––––––––––––––––––––––––––––––––––––*/
|
|
149 #wrap {
|
|
150 padding:0 0 15px 0;
|
|
151 min-width:615px;
|
|
152 }
|
|
153
|
|
154 #page-header {
|
|
155 clear:both;
|
|
156 text-align:right;
|
|
157 background:url(data:image/gif;base64,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) top left no-repeat;
|
|
158 height:69px;
|
|
159 font-size:0.85em;
|
|
160 margin-bottom:10px;
|
|
161 }
|
|
162
|
|
163 .rtl #page-header {
|
|
164 text-align:left;
|
|
165 background:top right no-repeat;
|
|
166 }
|
|
167
|
|
168 #page-header h1 {
|
|
169 color:#767676;
|
|
170 font-family:"Trebuchet MS",Helvetica,sans-serif;
|
|
171 font-size:1.70em;
|
|
172 padding-top:10px;
|
|
173 }
|
|
174
|
|
175 #page-header p {
|
|
176 font-size:1.00em;
|
|
177 }
|
|
178
|
|
179 #page-body {
|
|
180 clear:both;
|
|
181 min-width:700px;
|
|
182 }
|
|
183
|
|
184 #page-footer {
|
|
185 clear:both;
|
|
186 font-size:0.75em;
|
|
187 text-align:center;
|
|
188 }
|
|
189
|
|
190 #content {
|
8
|
191 padding:0 10px 10px 10px;
|
0
|
192 position:relative;
|
|
193 }
|
|
194
|
|
195 #content h1 {
|
|
196 color:#115098;
|
|
197 line-height:1.2em;
|
8
|
198 margin-bottom:0;
|
0
|
199 }
|
|
200
|
|
201 #main {
|
|
202 width:100%;
|
|
203 margin:0;
|
|
204 min-height:350px;
|
|
205 }
|
|
206
|
|
207 .rtl #main {
|
|
208 float:right;
|
|
209 margin:0;
|
|
210 }
|
|
211
|
|
212 * html #main {
|
|
213 height:350px;
|
|
214 }
|
|
215
|
|
216 /* Main Panel
|
|
217 –––––––––––––––––––––––––––––––––––––––– */
|
|
218 #acp {
|
|
219 margin:4px 0;
|
|
220 padding:3px 1px;
|
|
221 min-width:550px;
|
|
222 background-color:#FFFFFF;
|
|
223 border:1px #999999 solid;
|
|
224 }
|
|
225
|
|
226 .panel {
|
|
227 background:#F3F3F3 url(data:image/gif;base64,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) repeat-x top;
|
|
228 padding:0;
|
|
229 }
|
|
230
|
|
231 span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span {
|
|
232 font-size:1px;
|
|
233 line-height:1px;
|
|
234 display:block;
|
|
235 height:5px;
|
|
236 background-repeat:no-repeat;
|
|
237 }
|
|
238
|
|
239 span.corners-top, span.corners-bottom {
|
|
240 background-image:url(data:image/gif;base64,R0lGODlhiBMMAMQSAP///5mZmfPz89vX0cvIw9zc3PX19bKysqmopvb29pqamvn5+Z2dnLy6t62sqp+fnqCgn/T09P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAACIEwwAAAX/4DAQDhScaKqubOu+cCzPdG3feK7vfO//wKBwSCwaj8ikcslsOp/QqHRKrVqv2Kx2y+16v+CweEwum8/otHrNbrvf8Lh8Tq/b7/i8fs/v+/+AgYKDhIWGh4hSAw0HBREAkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PG7BAoCAAkCEvr7/P3+/wADChxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDihxJsqTJkyhT/6pcybKly5cwY8qcSbOmzZs4c+rcybOnz59AgwodSrSo0aNIkypdyrSp06dQo0qdSrWq1atYs2rdShJBAQBcw4odS7as2bNo06pdy7at27dw48qdS7eu3bt48+rdy7ev37+AAwseTLiw4cOIizJYYCCx48eQI0ueTLmy5cuYM2vezLmz58+gQ4seTbq06dOoU6teHToAgHysY8ueTbu27du4c+vezbu379/AgwsfTry48ePIkyuX4Br28ufQo0ufTr269evYs2vfzr279+/gw4sfT7704sbl06tfz769+/fw48ufT7++/fv48+vfzx+vV7D9BSjggAQWaOCBCCao4JmCDDbo4IMQRijhdfTYg8+EGGao4YYcdujhhyCGKOKIJJZo4oko5rVIIwbI4+KLMMYo44w01mjjjTjmqOOOPPbo449ABinkkEQWaeSRSCap5JJMNunkk1BGKeWUVFaZjQgkPJDIllx26eWXYIYp5phklmnmmWimqeaabLbp5ptwxinnnHTWaeedeOap55589unnn4AGKigcIQAAOw==);
|
|
241 }
|
|
242
|
|
243 span.corners-top span, span.corners-bottom span {
|
|
244 background-image:url(data:image/gif;base64,R0lGODlhBgAMAMQWAP///9vX0fPz85mZmdzc3Jqamtvb28vIw7y6t62sqsvIxPX19bKysqmop/T09Pb29pycnJ+fnp2dnKCgn/n5+fr6+v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABYALAAAAAAGAAwAAAUs4DAlRxAADsEggfAAQqFYNGA0tLVQUi4AAx8w56hAcraGCyYDLFSsQYRkCgEAOw==);
|
|
245 }
|
|
246
|
|
247 span.corners-top {
|
|
248 background-position:0 0;
|
|
249 margin:-4px -2px 0;
|
|
250 }
|
|
251
|
|
252 span.corners-top span {
|
|
253 background-position:100% 0;
|
|
254 }
|
|
255
|
|
256 span.corners-bottom {
|
|
257 background-position:0 100%;
|
|
258 margin:0 -2px -4px;
|
|
259 clear:both;
|
|
260 }
|
|
261
|
|
262 span.corners-bottom span {
|
|
263 background-position:100% 100%;
|
|
264 }
|
|
265
|
|
266 /* General form styles
|
|
267 ––––––––––––––––––––––––––––––––––––––––*/
|
|
268 fieldset {
|
8
|
269 margin:25px 0;
|
|
270 padding:1px 0;
|
0
|
271 border-top:1px solid #D7D7D7;
|
|
272 border-right:1px solid #CCCCCC;
|
|
273 border-bottom:1px solid #CCCCCC;
|
|
274 border-left:1px solid #D7D7D7;
|
|
275 background-color:#FFFFFF;
|
8
|
276 position:relative;
|
0
|
277 }
|
|
278
|
|
279 .rtl fieldset {
|
|
280 border-top:1px solid #D7D7D7;
|
|
281 border-right:1px solid #D7D7D7;
|
|
282 border-bottom:1px solid #CCCCCC;
|
|
283 border-left:1px solid #CCCCCC;
|
|
284 }
|
|
285
|
|
286 * html fieldset {
|
|
287 padding:0 10px 5px 10px;
|
|
288 }
|
|
289
|
|
290 fieldset p {
|
|
291 font-size:1.0em;
|
|
292 }
|
|
293
|
|
294 legend {
|
8
|
295 padding:1px 5px;
|
0
|
296 font-family:Tahoma,arial,Verdana,Sans-serif;
|
|
297 font-size:1.06em;
|
|
298 font-weight:bold;
|
|
299 color:#115098;
|
8
|
300 margin-top:-.4em;
|
|
301 position:relative;
|
|
302 /* text-transform:capitalize;*/
|
0
|
303 line-height:1.00em;
|
8
|
304 top:0;
|
0
|
305 vertical-align:middle;
|
|
306 }
|
|
307
|
|
308 /* Hide from macIE \*/
|
|
309 legend { top:-1.2em; }
|
|
310 /* end */
|
|
311
|
|
312 * html legend {
|
|
313 margin-bottom:-10px;
|
|
314 margin-left:-7px;
|
|
315 }
|
|
316
|
|
317 /* Holly hack, .rtl comes after html */
|
|
318 * html .rtl legend {
|
|
319 margin:0;
|
|
320 margin-right:-7px;
|
|
321 }
|
|
322
|
|
323 optgroup, select {
|
|
324 font-family: Verdana, Helvetica, Arial, sans-serif;
|
|
325 font-size: 0.85em;
|
|
326 font-weight: normal;
|
|
327 font-style: normal;
|
|
328 cursor: pointer;
|
|
329 vertical-align: middle;
|
|
330 width: auto;
|
|
331 }
|
|
332
|
|
333 optgroup {
|
|
334 font-size: 1.00em;
|
|
335 font-weight: bold;
|
|
336 }
|
|
337
|
|
338 option {
|
|
339 padding:0 1em 0 0;
|
|
340 }
|
|
341
|
|
342 .rtl option {
|
|
343 padding:0 0 0 1em;
|
|
344 }
|
|
345
|
|
346 fieldset.nobg {
|
|
347 margin:15px 0 0 0;
|
|
348 padding:0;
|
|
349 border:none;
|
|
350 background-color:transparent;
|
|
351 }
|
|
352
|
|
353 /* MOD-ABOUT STUFFS ~smithy_dll */
|
|
354
|
|
355 .mod-about {
|
|
356 background-color:#CADCEB;
|
|
357 /*width:100%;*/
|
|
358 }
|
|
359
|
|
360 .mod-about span.corners-top, .mod-about span.corners-bottom, .mod-about span.corners-top span, .mod-about span.corners-bottom span {
|
|
361 font-size:1px;
|
|
362 line-height:1px;
|
|
363 display:block;
|
|
364 height:5px;
|
|
365 background-repeat:no-repeat;
|
|
366 }
|
|
367
|
|
368 .mod-about span.corners-top, .mod-about span.corners-bottom {
|
8
|
369 background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABVSURBVHjaYviPAD+BeDIQ2wMxGwNU8AkQGwAxAwwzQFXqIgvCJCajC8IkbLBJMIItYmD4xYAGmBhwAJCEMS6JcKxa8DkX5kFdbBKwIJkADRIGgAADAGtyotIvyqGpAAAAAElFTkSuQmCC);
|
0
|
370 }
|
|
371
|
8
|
372 .mod-about span.corners-top span, .mod-about span.corners-bottom span { background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABbSURBVHjaYvr//z8bENsD8WQg/vkfChjQsAEQPwFJMDGgggtA7AnEv9AlQOAyEM/CJgECK3FJnMIlwYZLQheXRDg2CV0gzmTCIrgd2Q4bIJ4AxGeAWBokABBgAE4XMoXm9S+UAAAAAElFTkSuQmCC);
|
0
|
373 }
|
|
374
|
|
375 .mod-about span.corners-top {
|
|
376 background-position:0 0;
|
|
377 margin:0 0;
|
|
378 }
|
|
379
|
|
380 .mod-about span.corners-top span {
|
|
381 background-position:100% 0;
|
|
382 }
|
|
383
|
|
384 .mod-about span.corners-bottom {
|
|
385 background-position:0 100%;
|
|
386 margin:0 0;
|
|
387 clear:both;
|
|
388 }
|
|
389
|
|
390 .mod-about span.corners-bottom span {
|
|
391 background-position:100% 100%;
|
|
392 }
|
|
393
|
8
|
394 .mod-about-padding { padding: 0 8px; }
|
|
395 .mod-about { margin:7px 4px 10px 4px; }
|
0
|
396 .mod-about dt { font-weight:bold; padding-right:4px; }
|
8
|
397 .rtl .mod-about dt { padding-left: 4px; }
|
|
398 .mod-about dl { margin:0 8px; }
|
|
399 .mod-about div { margin:3px 8px;}
|
|
400 /*div.inner .mod-about dl { margin:0; }*/
|
|
401 /*.nopadding { margin:0; }*/
|
0
|
402
|
|
403 .mod-history {font-size:82.5%; } /* Mod histories can get pretty long, so I'm making that font a bit smaller */
|
|
404 #language { width:130px; }
|
|
405 #modDisclaimer .mod-about, #other-notes.mod-about { background-color:#EECCCC; }
|
|
406 #other-notes.mod-about strong.red { color:#DD3333; }
|
|
407 span.key { font-size:12px; line-height:14px; padding-bottom:2px; width:20px; border:outset 2px #999999; background-color:#EEEECC; display:block; float:left; text-align:center; margin-right:5px; }
|
|
408 .mod-edit { background-color:#D6E6F6; border:solid 1px #336699; margin:10px 0; padding:0 10px; }
|
|
409 .mod-inlineedit { background-color:#DDEEFF; border:solid 1px #6699CC; margin:10px 0; padding:0 10px; }
|
|
410
|
8
|
411 dl.author-info dd { margin-left:112px; margin-bottom:8px; }
|
|
412 .rtl dl.author-info dd { margin-left:112px; margin-bottom:8px; }
|
|
413 ol#file-copy, ol#file-delete { padding:5px; margin-left:20px; margin-right:20px; margin-bottom:10px; }
|
|
414 ol#file-copy li, ol#file-delete li { margin-left:30px; margin-right:30px; vertical-align:top;}
|
|
415 ol#file-copy span, ol#file-delete span { font-weight:bold; }
|
|
416 ol#file-copy dt, ol#file-delete dt {margin-right:5px; float:none !important }
|
|
417 ol#file-copy dl, ol#file-delete dl {width:100%}
|
|
418 h2#lang-fca, h2#lang-edts, h2#lang-diy, h2#lang-sql, h2#lang-installer-h2, h2#lang-del-head { margin-left:5px; }
|
0
|
419
|
|
420 /* Code block */
|
|
421 div.codebox {
|
|
422 padding:3px;
|
|
423 background-color:#FFFFFF;
|
|
424 border:1px solid #d8d8d8;
|
|
425 font-size:1em;
|
|
426 }
|
|
427
|
|
428 div.codebox div.codeHead {
|
|
429 text-transform:uppercase;
|
|
430 border-bottom:1px solid #CCCCCC;
|
|
431 margin-bottom:3px;
|
|
432 font-size:0.8em;
|
|
433 font-weight:bold;
|
|
434 display:block;
|
|
435 }
|
|
436
|
|
437 div.codebox div.codeHead a.codeSelect {
|
|
438 padding-left:5px;
|
|
439 }
|
|
440
|
|
441 blockquote div.codebox {
|
|
442 margin-left:0;
|
|
443 }
|
|
444
|
|
445 div.codebox pre {
|
|
446 /* Also see tweaks.css */
|
|
447 width:100%;
|
|
448 overflow-x:scroll;
|
|
449 display:block;
|
|
450 height:auto;
|
|
451 max-height:200px;
|
|
452 /*white-space:normal;*/
|
|
453 padding-top:5px;
|
|
454 font:0.9em Monaco, "Andale Mono","Courier New", Courier, mono;
|
|
455 line-height:1.3em;
|
|
456 color:#606060;
|
|
457 margin:2px 0;
|
|
458 }
|
|
459
|
8
|
460 /*.rtl div.codePre pre {
|
|
461 text-align: left !important;
|
|
462 direction: ltr !important;
|
|
463 }*/
|
|
464
|
0
|
465 dt {
|
8
|
466 float: left;
|
0
|
467 width:auto;
|
|
468 }
|
|
469
|
|
470 .rtl dt {
|
8
|
471 float: right !important;
|
|
472 text-align: right;
|
|
473 width:auto;
|
0
|
474 }
|
|
475
|
8
|
476 dd { color:#666666; }
|
|
477 dd + dd { padding-top: 5px; }
|
|
478
|
|
479 dt span { padding: 0 5px 0 0; }
|
|
480 .rtl dt span { padding: 0 0 0 5px; }
|
|
481
|
|
482 div.endMOD { padding:0 5px; }
|
0
|
483
|
|
484 #history_toggle_link {
|
|
485 display:block;
|
|
486 }
|
|
487 .edit_toggle_link {
|
|
488 display:block;
|
|
489 text-align:right;
|
|
490 margin-bottom:2px;
|
|
491 }
|
|
492 </style>
|
|
493 <title>phpBB MOD » <xsl:value-of select="$title" /></title>
|
|
494 <script type="text/javascript">
|
|
495 var i = 0;
|
|
496
|
|
497 /* passed from xslt */
|
|
498 <xsl:for-each select="mod:header">
|
|
499 <xsl:for-each select="mod:author-group">
|
|
500 var authors_ll = [];
|
|
501 <xsl:for-each select="mod:author">
|
|
502 authors_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
503 </xsl:for-each>
|
|
504 </xsl:for-each>
|
|
505
|
|
506 var mhes_ll = [];
|
|
507 var mhcls_ll = [];
|
|
508 <xsl:for-each select="mod:history/mod:entry">
|
|
509 mhes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
510 <xsl:if test="count(mod:changelog) > 1">
|
|
511 mhcls_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
512 </xsl:if>
|
|
513 </xsl:for-each>
|
8
|
514
|
|
515 var link_ll = [];
|
|
516 <xsl:for-each select="mod:link-group/mod:link">
|
|
517 link_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
518 </xsl:for-each>
|
0
|
519 </xsl:for-each>
|
|
520
|
|
521 var opens_ll = [];
|
|
522 <xsl:for-each select="mod:action-group/mod:open">
|
|
523 opens_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
524 </xsl:for-each>
|
|
525
|
|
526 var codes_ll = [];
|
|
527 <xsl:for-each select="mod:action-group/mod:sql">
|
|
528 codes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
529 </xsl:for-each>
|
|
530
|
|
531 var edits_ll = [];
|
|
532 <xsl:for-each select="mod:action-group/mod:open/mod:edit">
|
|
533 edits_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
534 </xsl:for-each>
|
|
535
|
|
536 var finds_ll = [];
|
8
|
537 var removes_ll = [];
|
0
|
538 var regex_ll = [];
|
|
539 var ifinds_ll = [];
|
8
|
540 var iremoves_ll = [];
|
0
|
541 var iregex_ll = [];
|
|
542 var addafters_ll = [];
|
|
543 var iaddafters_ll = [];
|
|
544 var addbefores_ll = [];
|
|
545 var iaddbefores_ll = [];
|
|
546 var replacewiths_ll = [];
|
|
547 var ireplacewiths_ll = [];
|
|
548 var increments_ll = [];
|
|
549 var iincrements_ll = [];
|
|
550 var comments_ll = [];
|
|
551 <xsl:for-each select="mod:action-group/mod:open/mod:edit">
|
|
552 <xsl:for-each select="mod:find">
|
|
553 finds_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
554 </xsl:for-each>
|
8
|
555 <xsl:for-each select="mod:remove">
|
|
556 removes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
557 </xsl:for-each>
|
0
|
558 <xsl:if test="count(mod:comment) > 0">
|
|
559 comments_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
560 </xsl:if>
|
|
561 <xsl:for-each select="mod:find|mod:action">
|
|
562 codes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
563 <xsl:if test="name() = 'action'">
|
|
564 <xsl:if test="@type = 'after-add'">
|
|
565 addafters_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
566 </xsl:if>
|
|
567 <xsl:if test="@type = 'before-add'">
|
|
568 addbefores_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
569 </xsl:if>
|
|
570 <xsl:if test="@type = 'replace-with'">
|
|
571 replacewiths_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
572 </xsl:if>
|
|
573 <xsl:if test="@type = 'operation'">
|
|
574 increments_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
575 </xsl:if>
|
|
576 </xsl:if>
|
|
577 </xsl:for-each>
|
|
578 <xsl:for-each select="mod:inline-edit">
|
|
579 <xsl:for-each select="mod:inline-find">
|
|
580 ifinds_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
581 <xsl:if test="@type = 'regex'">
|
|
582 iregex_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
583 </xsl:if>
|
|
584 </xsl:for-each>
|
8
|
585 <xsl:for-each select="mod:inline-remove">
|
|
586 iremoves_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
587 </xsl:for-each>
|
0
|
588 <xsl:for-each select="mod:inline-find|mod:inline-action">
|
|
589 codes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
590 <xsl:if test="name() = 'inline-action'">
|
|
591 <xsl:if test="@type = 'after-add'">
|
|
592 iaddafters_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
593 </xsl:if>
|
|
594 <xsl:if test="@type = 'before-add'">
|
|
595 iaddbefores_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
596 </xsl:if>
|
|
597 <xsl:if test="@type = 'replace-with'">
|
|
598 ireplacewiths_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
599 </xsl:if>
|
|
600 <xsl:if test="@type = 'operation'">
|
|
601 iincrements_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
602 </xsl:if>
|
|
603 </xsl:if>
|
|
604 </xsl:for-each>
|
|
605 </xsl:for-each>
|
|
606 </xsl:for-each>
|
|
607
|
|
608 <xsl:for-each select="mod:action-group/mod:diy-instructions">
|
|
609 codes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
610 </xsl:for-each>
|
|
611
|
|
612 var copies_ll = [];
|
|
613 <xsl:for-each select="mod:action-group/mod:copy/mod:file">
|
|
614 copies_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
615 </xsl:for-each>
|
|
616
|
8
|
617 var delete_ll = [];
|
|
618 <xsl:for-each select="mod:action-group/mod:delete/mod:file">
|
|
619 delete_ll.push('<xsl:value-of select="generate-id()"/>');
|
|
620 </xsl:for-each>
|
|
621
|
0
|
622 <xsl:text disable-output-escaping="yes">
|
|
623 <![CDATA[
|
|
624 // The following line from http://www.ryancooper.com/resources/keycode.asp
|
|
625 document.onkeydown = mod_do_keypress;
|
|
626
|
|
627 var host = "http://www.phpbb.com/mods/modx/i18n/";
|
|
628
|
8
|
629 var enStrings = "dir=ltr\n" +
|
|
630 "h1=Installation instructions for\n" +
|
0
|
631 "edt-show=Show >>\n" +
|
|
632 "edt-hide=<< Hide\n" +
|
8
|
633 "V=version\n" +
|
0
|
634 "t=Title:\n" +
|
|
635 "d=Description:\n" +
|
|
636 "aV=Version:\n" +
|
|
637 "mint=minutes\n" +
|
8
|
638 "it=Installation time:\n" +
|
|
639 "il=Installation level:\n" +
|
0
|
640 "ile=Easy\n" +
|
|
641 "ili=Intermediate\n" +
|
|
642 "ila=Advanced\n" +
|
|
643 "au=Author\n" +
|
|
644 "aus=Authors\n" +
|
|
645 "a-un=Username:\n" +
|
|
646 "a-e=Email:\n" +
|
|
647 "a-n=Name:\n" +
|
|
648 "a-h=WWW:\n" +
|
8
|
649 "a-c=Contributions:\n" +
|
|
650 "a-c-f=From\n" +
|
|
651 "a-c-t=to\n" +
|
|
652 "a-c-s=Since\n" +
|
|
653 "fte=Files to edit\n" +
|
|
654 "icf=Included files\n" +
|
0
|
655 "icfn=No files have been included with this MOD.\n" +
|
|
656 "dcl=Disclaimer\n" +
|
|
657 "dclt=For security purposes, please check: <a href=\"http://www.phpbb.com/mods/\">http://www.phpbb.com/mods/</a> for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered in our MODs database, located at: <a href=\"http://www.phpbb.com/mods/\">http://www.phpbb.com/mods/</a>\n" +
|
8
|
658 "isp=and English support\n" +
|
0
|
659 "ispt=English support can be obtained at <a href=\"http://www.phpbb.com/mods/\">http://www.phpbb.com/mods/</a> for released MODs.\n" +
|
8
|
660 "ant=Author notes:\n" +
|
0
|
661 "lic=License\n" +
|
|
662 "lict=This MOD has been licensed under the following license:\n" +
|
8
|
663 "ont=and other notes\n" +
|
|
664 "ontt1=Before adding this MOD to your forum, you should back up all files and databases related to this MOD.\n" +
|
0
|
665 "ontt2=This MOD was designed for phpBB\n" +
|
|
666 "ontt3=and may not function as stated on other phpBB versions. MODs for phpBB 3.0 will <strong>not</strong> work on phpBB 2.0 and vice versa.\n" +
|
|
667 "onttq=This MOD is development quality. It is not recommended that you install it on a live forum.\n" +
|
|
668 "sql=SQL\n" +
|
8
|
669 "fca=File copy\n" +
|
0
|
670 "c-copy=Copy:\n" +
|
|
671 "c-to=To:\n" +
|
|
672 "cde-c=Code:\n" +
|
8
|
673 "cde-sa=Select all\n" +
|
0
|
674 "edts=Edits\n" +
|
|
675 "edtt=Use your keyboard to navigate the code boxes. You may also hit '<em>s</em>' on your keyboard to go to the first code box.\n" +
|
|
676 "opn=Open:\n" +
|
|
677 "cm-cmt=Comments\n" +
|
|
678 "fnd=Find\n" +
|
|
679 "fndt=<strong>Tip:</strong> This may be a partial find and not the whole line.\n" +
|
8
|
680 "remove=Find and Delete\n" +
|
|
681 "removet=<strong>Tip:</strong> Find and delete this code.\n" +
|
|
682 "rplw=Replace with\n" +
|
0
|
683 "rplwt=<strong>Tip:</strong> Replace the preceding line(s) to find with the following lines.\n" +
|
|
684 "aft=Add after\n" +
|
|
685 "aftt=<strong>Tip:</strong> Add these lines on a new blank line after the preceding line(s) to find.\n" +
|
|
686 "bef=Add before\n" +
|
|
687 "beft=<strong>Tip:</strong> Add these lines on a new blank line before the preceding line(s) to find.\n" +
|
8
|
688 "inc=Operation\n" +
|
|
689 "inct=<strong>Tip:</strong> This allows you to alter integers.\n" +
|
0
|
690 "ifnd=In-line Find\n" +
|
|
691 "ifndt=<strong>Tip:</strong> This is a partial match of a line for in-line operations.\n" +
|
8
|
692 "iremove=In-line Find and Delete\n" +
|
|
693 "iremovet=<strong>Tip:</strong> Find this code in the line and delete it.\n" +
|
|
694 "irplw=In-line Replace with\n" +
|
0
|
695 "irplwt=\n" +
|
|
696 "iaft=In-line Add after\n" +
|
|
697 "iaftt=\n" +
|
|
698 "ibef=In-line Add before\n" +
|
|
699 "ibeft=\n" +
|
8
|
700 "iinc=In-line Operation\n" +
|
|
701 "iinct=<strong>Tip:</strong> This allows you to alter integers.\n" +
|
|
702 "diy=DIY instructions\n" +
|
0
|
703 "diyt=These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.\n" +
|
|
704 "eom=Save all files. End of MOD.\n" +
|
|
705 "eomt=You have finished the installation for this MOD. Upload all changed files to your website. If the installation went bad, simply restore your backed up files.\n" +
|
8
|
706 "slg=Select language:\n" +
|
0
|
707 "dbms=Select Database Type:\n" +
|
|
708 "foot=MOD UA XSLT File Copyright © 2007 The phpBB Group, this MOD is copyright to the authors listed above.\n" +
|
8
|
709 "regex=This find contains an advanced feature known as regular expressions.\n" +
|
0
|
710 "mhe-v=- Version\n" +
|
8
|
711 "mh=MOD history\n" +
|
|
712 "addtl-modx=Additional MODX files\n" +
|
|
713 "imn=This MOD has no additional MODX files.\n" +
|
|
714 "link-c=Contrib\n" +
|
|
715 "link-d=Dependency\n" +
|
|
716 "link-l=Language\n" +
|
|
717 "link-p=Parent\n" +
|
|
718 "link-te=Template\n" +
|
|
719 "link-txt=Text file\n" +
|
|
720 "link-tl=Template lang\n" +
|
|
721 "link-un=Uninstall instructions\n" +
|
|
722 "installer-h2=PHP install file\n" +
|
|
723 "installer-exp1=There is a PHP install file that needs to be run in order to complete the installation.\n" +
|
|
724 "installer-exp2=To run it point your browser to, for example,\n" +
|
|
725 "ispt-int=Support in your language <strong>might</strong> be available at a <a href=\"http://www.phpbb.com/support/intl/\">international support site</a>.\n" +
|
|
726 "del-heads=Delete files\n" +
|
|
727 "del-head=Delete file\n" +
|
|
728 "del-file=Delete\n" +
|
0
|
729 "atm=About this MOD";
|
|
730
|
|
731 var box = codes_ll;
|
|
732 var currentLanguage = "en";
|
|
733 var languagesLoaded = false;
|
|
734 var languages = ['en'];
|
|
735 var arrClasCnt = [
|
|
736 ['a-' , authors_ll ],
|
|
737 ['c-' , copies_ll ],
|
8
|
738 ['del-' , delete_ll ],
|
0
|
739 ['cm-' , comments_ll ],
|
|
740 ['opn' , opens_ll ],
|
|
741 ['cde-' , codes_ll ],
|
|
742 ['edt-' , edits_ll ],
|
|
743 ['fnd' , finds_ll ],
|
8
|
744 ['fnd' , removes_ll ],
|
0
|
745 ['regex', regex_ll ],
|
|
746 ['rplw' , replacewiths_ll ],
|
|
747 ['aft' , addafters_ll ],
|
|
748 ['bef' , addbefores_ll ],
|
|
749 ['inc' , increments_ll ],
|
|
750 ['ifnd' , ifinds_ll ],
|
8
|
751 ['ifnd' , iremoves_ll ],
|
0
|
752 ['regex', iregex_ll ],
|
|
753 ['irplw', ireplacewiths_ll ],
|
|
754 ['iaft' , iaddafters_ll ],
|
|
755 ['ibef' , iaddbefores_ll ],
|
|
756 ['iinc' , iincrements_ll ],
|
8
|
757 ['mhe' , mhes_ll ],
|
|
758 ['link', link_ll]
|
0
|
759 ];
|
|
760
|
|
761 function startup()
|
|
762 {
|
|
763 sql_dropdown();
|
|
764 change_dbms();
|
|
765 changeLanguage(currentLanguage);
|
|
766 document.getElementById('lang-selector').style.display = "block";
|
|
767 init_mod_history();
|
|
768 }
|
|
769
|
|
770 function changeLanguage(langCode)
|
|
771 {
|
|
772 langCode = langCode.toLowerCase();
|
|
773 currentLanguage = langCode.split('-')[0];
|
|
774 if (currentLanguage.toLowerCase() != 'en') // if change, only include up to first dash
|
|
775 {
|
|
776 load_language();
|
|
777 }
|
|
778 else
|
|
779 {
|
|
780 applyLanguage(enStrings.split("\n"));
|
|
781 }
|
|
782 xslLanguage(langCode);
|
|
783 }
|
|
784
|
|
785 function load_languages()
|
|
786 {
|
|
787 if (languagesLoaded)
|
|
788 {
|
|
789 return;
|
|
790 }
|
|
791 languagesLoaded = true;
|
|
792
|
|
793 $divname = document.getElementById('language');
|
|
794 var loadingItem = document.createElement('option');
|
|
795 $divname.appendChild(loadingItem);
|
|
796 loadingItem.innerHTML = 'Loading...';
|
|
797 $divname.remove(0);
|
|
798
|
|
799 $output = 'load_languages';
|
|
800 cachernd = parseInt(Math.random() * 99999999); // cache
|
|
801 send('', host + 'languages.txt?rnd=' + cachernd);
|
|
802 }
|
|
803
|
|
804 function load_language()
|
|
805 {
|
|
806 $output = 'load_language';
|
|
807 cachernd = parseInt(Math.random() * 99999999); // cache
|
|
808 send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
|
809 }
|
|
810
|
|
811 /*****************
|
|
812 * AJAX Functions *
|
|
813 *****************/
|
|
814 var $xmlhttp = http_object();
|
|
815 var $finished = 0;
|
|
816 var $send_queue = [];
|
|
817 var $running = false;
|
|
818 var $divname;
|
|
819 var $newform;
|
|
820 var $newurl;
|
|
821 var $output;
|
|
822
|
|
823 function http_object()
|
|
824 {
|
|
825 if (window.XMLHttpRequest)
|
|
826 {
|
|
827 return new XMLHttpRequest();
|
|
828 }
|
|
829 else if (window.ActiveXObject)
|
|
830 {
|
|
831 return new ActiveXObject("Microsoft.XMLHTTP");
|
|
832 }
|
|
833 }
|
|
834
|
|
835 function send($action, $url, $form, $div, $clear)
|
|
836 {
|
|
837 $newform = $form;
|
|
838 $newurl = $url;
|
|
839
|
|
840 $send_queue.push("handle_send($newurl, $newform)");
|
|
841
|
|
842 if (!$running)
|
|
843 {
|
|
844 run_ajax();
|
|
845 }
|
|
846 return;
|
|
847 }
|
|
848
|
|
849 function run_ajax()
|
|
850 {
|
|
851 $running = true;
|
|
852 for ($i = 0; $i < $send_queue.length; $i++)
|
|
853 {
|
|
854 if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0)
|
|
855 {
|
|
856 eval($send_queue[$i]);
|
|
857 }
|
|
858 else
|
|
859 {
|
|
860 $xmlhttp.onreadystatechange = check_state;
|
|
861 }
|
|
862 }
|
|
863 }
|
|
864
|
|
865 function check_state()
|
|
866 {
|
|
867 if ($xmlhttp.readyState == 4 || $xmlhtt.readyState == 0)
|
|
868 {
|
|
869 eval($send_queue[$finished]);
|
|
870 }
|
|
871 else
|
|
872 {
|
|
873 $xmlhttp.onreadystatechange = check_state;
|
|
874 }
|
|
875 }
|
|
876
|
|
877 function handle_send($url, $f)
|
|
878 {
|
|
879 if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0)
|
|
880 {
|
|
881 $param = '';
|
|
882
|
|
883 try
|
|
884 {
|
|
885 netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
|
|
886 $allowed = true;
|
|
887 }
|
|
888 catch (e)
|
|
889 {}
|
|
890
|
|
891 try
|
|
892 {
|
|
893 $xmlhttp.open('POST', $url, true);
|
|
894 $xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
895 $xmlhttp.onreadystatechange = handle_return;
|
|
896 $xmlhttp.send($param);
|
|
897 }
|
|
898 catch (e)
|
|
899 {
|
|
900 $divname = document.getElementById('language');
|
|
901 var loadingItem = document.createElement('option');
|
|
902 $divname.appendChild(loadingItem);
|
|
903 loadingItem.innerHTML = 'Unavailable';
|
|
904 $divname.remove(0);
|
|
905 $divname.disabled = true;
|
|
906 }
|
|
907 }
|
|
908 return;
|
|
909 }
|
|
910
|
|
911 function handle_return()
|
|
912 {
|
|
913 if ($xmlhttp.readyState == 4)
|
|
914 {
|
|
915 ajax_output($xmlhttp.responseText);
|
|
916
|
|
917 $finished++;
|
|
918
|
|
919 if ($send_queue[$finished])
|
|
920 {
|
|
921 check_state();
|
|
922 }
|
|
923 else
|
|
924 {
|
|
925 $send_queue = [];
|
|
926 $finished = 0;
|
|
927 $running = false;
|
|
928 }
|
|
929 }
|
|
930 return;
|
|
931 }
|
|
932 /*********************
|
|
933 * END AJAX Functions *
|
|
934 *********************/
|
|
935
|
|
936 function ajax_output($response)
|
|
937 {
|
|
938 switch ($output)
|
|
939 {
|
|
940 case 'load_language':
|
|
941 var texts = $response.replace("\r\n", "\n").split("\n");
|
|
942 applyLanguage(texts);
|
|
943 break;
|
|
944
|
|
945 case 'load_languages':
|
|
946 languages = $response.replace("\r", "").split("\n");
|
|
947
|
|
948 var i, l, s = 0;
|
|
949 for (i in languages)
|
|
950 {
|
|
951 languages[i] = languages[i].replace("\r", "");
|
|
952 languages[i] = languages[i].split("=");
|
|
953
|
|
954 var langItem = document.createElement('option');
|
|
955 $divname.appendChild(langItem);
|
|
956 langItem.value = languages[i][0];
|
|
957 var iso = languages[i][0].split('-');
|
|
958 langItem.innerHTML = languages[i][1];
|
|
959 if (iso.length == 2)
|
|
960 {
|
|
961 langItem.innerHTML += ' [' + iso[1].toUpperCase() + ']';
|
|
962 }
|
|
963 if (languages[i][0] == currentLanguage)
|
|
964 {
|
|
965 $divname.selectedIndex = s;
|
|
966 $divname.text = languages[i][1];
|
|
967 }
|
|
968 s++;
|
|
969 }
|
|
970
|
|
971 $divname.focus();
|
|
972 $divname.onchange =
|
|
973 function()
|
|
974 {
|
|
975 changeLanguage(this.value.replace(" ", ""));
|
|
976 };
|
|
977 $divname.remove(0);
|
|
978 break;
|
|
979 }
|
|
980 }
|
|
981
|
|
982 function xslLangEl(langCode, obj_id)
|
|
983 {
|
|
984 var i, c, a, k, m = [], show = [], o = document.getElementById(obj_id);
|
|
985 var lang_c = langCode.replace('_','-'), lang_s = langCode.substr(0, 2);
|
|
986 var nodes = (o && o.childNodes) ? o.childNodes : '';
|
|
987
|
|
988 for (i = 0; i < nodes.length; i++)
|
|
989 {
|
|
990 c = nodes[i];
|
|
991 if (c.nodeType != 1)
|
|
992 {
|
|
993 continue;
|
|
994 }
|
|
995 a = (obj_id == 'link-group') ? c.getElementsByTagName('a') : null;
|
|
996 k = (a && a[0].href) ? a[0].href : c.tagName;
|
|
997 if (!c.lang || m[k] === true)
|
|
998 {
|
|
999 c.style.display = 'none';
|
|
1000 continue;
|
|
1001 }
|
|
1002 c.lang = c.lang.replace('_', '-').toLowerCase();
|
|
1003
|
|
1004 if (m[k]) // Already have a partial match
|
|
1005 {
|
|
1006 if (c.lang != lang_c) // This isn't an exact match
|
|
1007 {
|
|
1008 c.style.display = 'none'; // So hide it and keep looking
|
|
1009 continue;
|
|
1010 }
|
|
1011 m[k] = true; // An exact match
|
|
1012 }
|
|
1013 else
|
|
1014 {
|
|
1015 m[k] = (c.lang == lang_c) ? true : (c.lang.substr(0, 2) == lang_s ? 1 : false);
|
|
1016 }
|
|
1017 if (!show[k] || m[k] || c.lang == 'en')
|
|
1018 {
|
|
1019 if (show[k])
|
|
1020 {
|
|
1021 show[k].style.display = 'none';
|
|
1022 }
|
|
1023 show[k] = c;
|
|
1024 c.style.display = '';
|
|
1025 if (a)
|
|
1026 {
|
|
1027 c.getElementsByTagName('span')[0].style.display = 'none';
|
|
1028 //c.firstChild.style.display = 'none'; // This line doesn't work in Safari
|
|
1029 }
|
|
1030 }
|
|
1031 else
|
|
1032 {
|
|
1033 c.style.display = 'none';
|
|
1034 }
|
|
1035 }
|
|
1036 }
|
|
1037
|
|
1038 function xslLanguage(langCode)
|
|
1039 {
|
|
1040 i18nedEls = new Array('title','description','author-notes','diy','link-group');
|
|
1041 var c, h, i;
|
|
1042 for (c in comments_ll)
|
|
1043 {
|
|
1044 i18nedEls.push('mod-comment[' + comments_ll[c] + ']');
|
|
1045 }
|
|
1046
|
|
1047 for (h in mhcls_ll)
|
|
1048 {
|
|
1049 i18nedEls.push('mhcl[' + mhcls_ll[h] + ']');
|
|
1050 }
|
|
1051
|
|
1052 for (i in i18nedEls)
|
|
1053 {
|
|
1054 xslLangEl(langCode, i18nedEls[i]);
|
|
1055 }
|
|
1056 }
|
|
1057
|
|
1058 function in_array(array, value, position)
|
|
1059 {
|
|
1060 for (var i = 0; i < array.length; i++)
|
|
1061 {
|
|
1062 // Matches identical (===), not just similar (==).
|
|
1063 if (array[i] === value)
|
|
1064 {
|
|
1065 return (position ? i : true);
|
|
1066 }
|
|
1067 }
|
|
1068 return false;
|
|
1069 };
|
|
1070
|
|
1071 function applyLanguage(texts)
|
|
1072 {
|
|
1073 var i;
|
|
1074 for (i in texts)
|
|
1075 {
|
|
1076 var lang = texts[i].split("=", 2), done = 0;
|
|
1077 if (lang.length == 2 && (lang[0] == 'edt-show' || lang[0] == 'edt-hide'))
|
|
1078 {
|
|
1079 toggle_strings[lang[0].replace('edt-', '')] = lang[1];
|
|
1080 if (++done >= 2)
|
|
1081 {
|
|
1082 break;
|
|
1083 }
|
|
1084 }
|
|
1085 }
|
|
1086
|
|
1087 for (i in texts)
|
|
1088 {
|
|
1089 var lang = texts[i].split("=");
|
8
|
1090 if(lang[0] == 'dir')
|
|
1091 {
|
|
1092 set_dir(lang[1]);
|
|
1093 }
|
0
|
1094 if (lang.length < 2)
|
|
1095 {
|
|
1096 continue;
|
|
1097 }
|
|
1098 try
|
|
1099 {
|
|
1100 var jflag = false;
|
|
1101 for (var j = 0; j < arrClasCnt.length; j++)
|
|
1102 {
|
|
1103 var sw = '-' + lang[0];
|
|
1104 if (sw.match('-' + arrClasCnt[j][0]))
|
|
1105 {
|
|
1106 for (var k = 0; k < arrClasCnt[j][1].length; k++)
|
|
1107 {
|
|
1108 try
|
|
1109 {
|
|
1110 var o = document.getElementById('lang-' + lang[0] + '[' + arrClasCnt[j][1][k] + ']');
|
|
1111 o.innerHTML = lang[1];
|
|
1112 if (o.rel && (o.rel == 'show' || o.rel == 'hide') && (lang[0] == 'edt-show' || lang[0] == 'edt-hide'))
|
|
1113 {
|
|
1114 o.innerHTML = toggle_strings[o.rel];
|
|
1115 }
|
|
1116 }
|
|
1117 catch (e){}
|
|
1118 }
|
|
1119 jflag = true;
|
|
1120 }
|
|
1121 }
|
|
1122 if (!jflag)
|
|
1123 {
|
|
1124 var append = '';
|
|
1125 for (var p = 1; p < lang.length; p++)
|
|
1126 {
|
|
1127 append += (p > 1 ? '=' : '') + lang[p];
|
|
1128 }
|
|
1129 document.getElementById('lang-' + lang[0]).innerHTML = append;
|
|
1130 }
|
|
1131 }
|
|
1132 catch (o){}
|
|
1133 }
|
|
1134 try
|
|
1135 {
|
|
1136 document.getElementById('history_toggle_link').innerHTML = toggle_strings[(document.getElementById('mod_history_content').style.display == '' ? 'hide' : 'show')];
|
|
1137 } catch(o) {}
|
|
1138 }
|
|
1139
|
8
|
1140 function set_dir(direction)
|
|
1141 {
|
|
1142 direction = (direction == 'rtl') ? 'rtl' : 'ltr';
|
|
1143 document.body.style.direction=direction;
|
|
1144
|
|
1145 var ie = /*@cc_on!@*/false;
|
|
1146 var dts = document.getElementsByTagName('dt');
|
|
1147 var uls = document.getElementsByTagName('ul');
|
|
1148 var h2s = document.getElementsByTagName('h2');
|
|
1149 var mod_dt = document.getElementsByName('left4px');
|
|
1150 var author_dd = document.getElementsByName('author-dd');
|
|
1151 var ltr_spec = document.getElementsByName('ltr-spec');
|
|
1152 var rtl_spec = document.getElementsByName('rtl-spec');
|
|
1153
|
|
1154 var rtl_float = (ie) ? 'styleFloat' : 'cssFloat';
|
|
1155
|
|
1156 if(direction == 'rtl')
|
|
1157 {
|
|
1158 for(j = 0; j < dts.length; j++)
|
|
1159 {
|
|
1160 if(ie)
|
|
1161 {
|
|
1162 dts[j].style.styleFloat='right';
|
|
1163 }
|
|
1164 else
|
|
1165 {
|
|
1166 dts[j].style.cssFloat='right';
|
|
1167 }
|
|
1168 }
|
|
1169 for(j = 0; j < h2s.length; j++)
|
|
1170 {
|
|
1171 h2s[j].style.textAlign='right';
|
|
1172 }
|
|
1173 for(j = 0; j < uls.length; j++)
|
|
1174 {
|
|
1175 uls[j].style.margin='0 2em 1em 0';
|
|
1176 }
|
|
1177 for(j = 0; j < ltr_spec.length; j++)
|
|
1178 {
|
|
1179 ltr_spec[j].style.display='none';
|
|
1180 }
|
|
1181 for(j = 0; j < rtl_spec.length; j++)
|
|
1182 {
|
|
1183 rtl_spec[j].style.display='inherit';
|
|
1184 }
|
|
1185 for(j = 0; j < author_dd.length; j++)
|
|
1186 {
|
|
1187 author_dd[j].style.marginRight='115px';
|
|
1188 }
|
|
1189 for(j = 0; j < mod_dt.length; j++)
|
|
1190 {
|
|
1191 mod_dt[j].style.paddingRight='0';
|
|
1192 mod_dt[j].style.paddingLeft='4px';
|
|
1193 }
|
|
1194 }
|
|
1195 else
|
|
1196 {
|
|
1197 for(j = 0; j < dts.length; j++)
|
|
1198 {
|
|
1199 if(ie)
|
|
1200 {
|
|
1201 dts[j].style.styleFloat='left';
|
|
1202 }
|
|
1203 else
|
|
1204 {
|
|
1205 dts[j].style.cssFloat='left';
|
|
1206 }
|
|
1207 }
|
|
1208 for(j = 0; j < h2s.length; j++)
|
|
1209 {
|
|
1210 h2s[j].style.textAlign='left';
|
|
1211 }
|
|
1212 for(j = 0; j < uls.length; j++)
|
|
1213 {
|
|
1214 uls[j].style.margin='0 0 1em 2em';
|
|
1215 }
|
|
1216 for(j = 0; j < ltr_spec.length; j++)
|
|
1217 {
|
|
1218 ltr_spec[j].style.display='inherit';
|
|
1219 }
|
|
1220 for(j = 0; j < rtl_spec.length; j++)
|
|
1221 {
|
|
1222 rtl_spec[j].style.display='none';
|
|
1223 }
|
|
1224 for(j = 0; j < author_dd.length; j++)
|
|
1225 {
|
|
1226 author_dd[j].style.marginleft='112px';
|
|
1227 }
|
|
1228 for(j = 0; j < mod_dt.length; j++)
|
|
1229 {
|
|
1230 mod_dt[j].style.paddingRight='4px';
|
|
1231 mod_dt[j].style.paddingLeft='0';
|
|
1232 }
|
|
1233 }
|
|
1234 }
|
|
1235
|
0
|
1236 function select_code(a)
|
|
1237 {
|
|
1238 // Get ID of code block
|
|
1239 var e = a.parentNode.parentNode.getElementsByTagName('PRE')[0];
|
|
1240 select_text(e.id);
|
|
1241 }
|
|
1242
|
|
1243 var selectedElement = -1;
|
|
1244 var boxes = box.length;
|
|
1245 var pre_count = 0;
|
|
1246
|
|
1247 function select_text(id)
|
|
1248 {
|
|
1249 var o = document.getElementById(id);
|
|
1250 if(!o)
|
|
1251 {
|
|
1252 return;
|
|
1253 }
|
|
1254
|
|
1255 // Not IE
|
|
1256 if (window.getSelection)
|
|
1257 {
|
|
1258 var s = window.getSelection();
|
|
1259 // Safari
|
|
1260 if (s.setBaseAndExtent)
|
|
1261 {
|
|
1262 s.setBaseAndExtent(o, 0, o, o.innerText.length - 1);
|
|
1263 }
|
|
1264 // Firefox and Opera
|
|
1265 else
|
|
1266 {
|
|
1267 var r = document.createRange();
|
|
1268 r.selectNodeContents(o);
|
|
1269 s.removeAllRanges();
|
|
1270 s.addRange(r);
|
|
1271 }
|
|
1272 }
|
|
1273 // Some older browsers
|
|
1274 else if (document.getSelection)
|
|
1275 {
|
|
1276 var s = document.getSelection();
|
|
1277 var r = document.createRange();
|
|
1278 r.selectNodeContents(o);
|
|
1279 s.removeAllRanges();
|
|
1280 s.addRange(r);
|
|
1281 }
|
|
1282 // IE
|
|
1283 else if (document.selection)
|
|
1284 {
|
|
1285 var r = document.body.createTextRange();
|
|
1286 r.moveToElementText(o);
|
|
1287 r.select();
|
|
1288 }
|
|
1289
|
|
1290 for(x = 0; x < box.length; x++)
|
|
1291 {
|
|
1292 if (box[x] == id)
|
|
1293 {
|
|
1294 selectedElement = x;
|
|
1295 break;
|
|
1296 }
|
|
1297 }
|
|
1298 return o;
|
|
1299 }
|
|
1300
|
|
1301 /**
|
|
1302 * Determines if an object is hidden. If a class is specified, checking will stop when that class is encountered.
|
|
1303 */
|
|
1304 function is_hidden(o, className)
|
|
1305 {
|
|
1306 o = typeof(o) == 'String' ? document.getElementById(o) : o;
|
|
1307 while (o)
|
|
1308 {
|
|
1309 if (o.style && o.style.display == 'none')
|
|
1310 {
|
|
1311 return true;
|
|
1312 }
|
|
1313 o = (o.parentNode && !(className && o.className == className)) ? o.parentNode : null;
|
|
1314 }
|
|
1315 return false;
|
|
1316 }
|
|
1317
|
|
1318 // function findPosY taken from http://www.quirksmode.org/js/findpos.html
|
|
1319 function findPosY(obj)
|
|
1320 {
|
|
1321 var curtop = 0;
|
|
1322 if (obj.offsetParent)
|
|
1323 {
|
|
1324 while (obj.offsetParent)
|
|
1325 {
|
|
1326 curtop += obj.offsetTop
|
|
1327 obj = obj.offsetParent;
|
|
1328 }
|
|
1329 }
|
|
1330 else if (obj.y)
|
|
1331 {
|
|
1332 curtop += obj.y;
|
|
1333 }
|
|
1334 return curtop;
|
|
1335 }
|
|
1336
|
|
1337 function selectBox()
|
|
1338 {
|
|
1339 obj = select_text(box[selectedElement]);
|
|
1340 window.scrollTo(0, findPosY(obj) - 100);
|
|
1341 }
|
|
1342
|
|
1343 function selectNextBox()
|
|
1344 {
|
|
1345 // Find the next box that is not hidden
|
|
1346 for (var i = 0; i < boxes; i++)
|
|
1347 {
|
|
1348 selectedElement = (selectedElement + 1 >= boxes) ? 0 : selectedElement + 1;
|
|
1349 if (!is_hidden(document.getElementById(box[selectedElement]), 'mod-edit-contents'))
|
|
1350 {
|
|
1351 break;
|
|
1352 }
|
|
1353 }
|
|
1354 selectBox();
|
|
1355 }
|
|
1356
|
|
1357 function selectPrevBox()
|
|
1358 {
|
|
1359 // Find the previos box that is not hidden
|
|
1360 for (var i = 0; i < boxes; i++)
|
|
1361 {
|
|
1362 selectedElement = (selectedElement - 1 < 0) ? boxes - 1 : selectedElement - 1;
|
|
1363 if (!is_hidden(document.getElementById(box[selectedElement]), 'mod-edit-contents'))
|
|
1364 {
|
|
1365 break;
|
|
1366 }
|
|
1367 }
|
|
1368 selectBox();
|
|
1369 }
|
|
1370
|
|
1371 function selectFirstBox()
|
|
1372 {
|
|
1373 // Find the first box that is not hidden
|
|
1374 for (selectedElement = 0; selectedElement < boxes; selectedElement++)
|
|
1375 {
|
|
1376 if (!is_hidden(document.getElementById(box[selectedElement]), 'mod-edit-contents'))
|
|
1377 {
|
|
1378 break;
|
|
1379 }
|
|
1380 }
|
|
1381 selectBox();
|
|
1382 }
|
|
1383
|
|
1384 function mod_do_keypress(e)
|
|
1385 {
|
|
1386 var key = (window.event && !window.event.ctrlKey) ? window.event.keyCode : ((e && !e.ctrlKey) ? e.which : null);
|
|
1387
|
|
1388 switch (key)
|
|
1389 {
|
|
1390 case 88: // X
|
|
1391 case 187: // plus (+)
|
|
1392 case 190: // period/greater-than (.>)
|
|
1393 selectNextBox();
|
|
1394 return false;
|
|
1395 break;
|
|
1396
|
|
1397 case 87: // W
|
|
1398 case 189: // minus (-)
|
|
1399 case 188: // comma/less-than (,<)
|
|
1400 selectPrevBox();
|
|
1401 return false;
|
|
1402 break;
|
|
1403
|
|
1404 case 83: // S
|
|
1405 case 37:
|
|
1406 selectFirstBox();
|
|
1407 return false;
|
|
1408 break;
|
|
1409 }
|
|
1410 return true; // true allows browser to take care of any further key press combinations such as (ctrl|cmd) + c
|
|
1411 }
|
|
1412
|
|
1413 /**
|
|
1414 * Update the MODX with the selected dbms
|
|
1415 *
|
|
1416 */
|
|
1417 function change_dbms($form)
|
|
1418 {
|
|
1419 $type = [
|
|
1420 '',
|
|
1421 'mysql',
|
|
1422 'mysql_41',
|
|
1423 'mysql_40',
|
|
1424 'firebird',
|
|
1425 'mssql',
|
|
1426 'oracle',
|
|
1427 'postgres',
|
|
1428 'sqllite'
|
|
1429 ];
|
|
1430 $exists = 0;
|
|
1431 $tags = document.getElementsByTagName('dbms');
|
|
1432
|
|
1433 if ($form)
|
|
1434 {
|
|
1435 sql_display($form.value);
|
|
1436 return;
|
|
1437 }
|
|
1438
|
|
1439 if ($tags.length > 0)
|
|
1440 {
|
|
1441 for ($i = 0; $i < $tags.length; $i++)
|
|
1442 {
|
|
1443 if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
|
1444 {
|
|
1445 continue;
|
|
1446 }
|
|
1447 $position = in_array($type, $dbms, true);
|
|
1448 if ($position !== false)
|
|
1449 {
|
|
1450 $exists = (($exists > 0 && $position < $exists) || $exists == 0) ? $position : $exists;
|
|
1451 }
|
|
1452 }
|
|
1453 if ($exists > 0)
|
|
1454 {
|
|
1455 sql_display($type[$exists]);
|
|
1456 }
|
|
1457 }
|
|
1458 }
|
|
1459
|
|
1460 /**
|
|
1461 * Display the dbms specific sql data with the dbms we have selected
|
|
1462 */
|
|
1463 function sql_display($value)
|
|
1464 {
|
8
|
1465 var $ie = /*@cc_on!@*/false;
|
|
1466 var $tags = document.getElementsByTagName('dbms');
|
|
1467 if($ie)
|
|
1468 {
|
|
1469 var $div_list = document.getElementsByTagName('div');
|
|
1470 }
|
0
|
1471
|
|
1472 // show the dbms of type we have selected, hide all others except for non dbms specific
|
|
1473 for ($i = 0; $i < $tags.length; $i++)
|
|
1474 {
|
|
1475 if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
|
1476 {
|
|
1477 continue;
|
|
1478 }
|
8
|
1479 if(!$ie)
|
|
1480 {
|
|
1481 $tags[$i].style.display = ($dbms == $value) ? '' : 'none';
|
|
1482 }
|
|
1483 else
|
|
1484 {
|
|
1485 for($j = 0; $j < $div_list.length; $j++)
|
|
1486 {
|
|
1487 if($div_list[$j].name == $dbms)
|
|
1488 {
|
|
1489 $div_list[$j].style.display = ($dbms == $value) ? '' : 'none';
|
|
1490 }
|
|
1491 }
|
|
1492 }
|
0
|
1493 }
|
|
1494 }
|
|
1495
|
|
1496 /**
|
|
1497 * Load the sql dropdown with all the database types supported by this MODX file
|
|
1498 */
|
|
1499 function sql_dropdown()
|
|
1500 {
|
8
|
1501 var $ie = /*@cc_on!@*/false;
|
0
|
1502 var $dbms_element = document.getElementById('dbms');
|
|
1503 var $dbms_selector = document.getElementById('dbms-selector');
|
|
1504 if (!$dbms_element || !$dbms_selector)
|
|
1505 {
|
|
1506 return;
|
|
1507 }
|
|
1508
|
8
|
1509 /* if($ie)
|
|
1510 {
|
|
1511 $dbms_selector.style.display = 'none';
|
|
1512 return;
|
|
1513 }
|
|
1514 */
|
0
|
1515 $type = [
|
|
1516 'mysql',
|
|
1517 'mysql_41',
|
|
1518 'mysql_40',
|
|
1519 'firebird',
|
|
1520 'mssql',
|
|
1521 'oracle',
|
|
1522 'postgres',
|
|
1523 'sqllite'
|
|
1524 ];
|
|
1525 $options = [];
|
8
|
1526 $ie_options = [];
|
|
1527 $ie_count = 0;
|
0
|
1528 $tags = document.getElementsByTagName('dbms');
|
|
1529
|
|
1530 // Show the dbms of type we have selected, hide all others except for non dbms specific
|
|
1531 for ($i = 0; $i < $tags.length; $i++)
|
|
1532 {
|
|
1533 if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
|
1534 {
|
|
1535 continue;
|
|
1536 }
|
|
1537 if (($position = in_array($type, $dbms, true)) !== false)
|
|
1538 {
|
|
1539 $options[$position] = '<option value=' + $dbms + '>' + $dbms + '</option>';
|
8
|
1540 if($ie)
|
|
1541 {
|
|
1542 if(!in_array($ie_options, $dbms, false))
|
|
1543 {
|
|
1544 $ie_options[$ie_count++] = $dbms;
|
|
1545 }
|
|
1546 }
|
0
|
1547 }
|
|
1548 }
|
|
1549
|
|
1550 if ($options.length > 0)
|
|
1551 {
|
|
1552 $selects = '';
|
|
1553
|
|
1554 // sort options and output in the correct order
|
|
1555 for ($i = 0; $i < $type.length; $i++)
|
|
1556 {
|
|
1557 if ($options[$i])
|
|
1558 {
|
|
1559 $selects += $options[$i];
|
|
1560 }
|
|
1561 }
|
8
|
1562 $dbms_element.innerHTML=$selects;
|
|
1563
|
|
1564 if($ie)
|
|
1565 {
|
|
1566 for($i in $ie_options)
|
|
1567 {
|
|
1568 $ie_option = document.createElement('option');
|
|
1569 $ie_option.text = $ie_options[$i];
|
|
1570 $ie_option.value = $ie_options[$i];
|
|
1571 $dbms_element.add($ie_option);
|
|
1572 }
|
|
1573 }
|
0
|
1574 }
|
|
1575 else
|
|
1576 {
|
|
1577 $dbms_selector.style.display = 'none';
|
|
1578 }
|
|
1579 }
|
|
1580 //-->]]>
|
|
1581 </xsl:text>
|
|
1582 /**
|
|
1583 * Toggle the visibility of certain sections.
|
|
1584 */
|
|
1585 var toggle_strings = {
|
|
1586 'show' : (enStrings.match(/^|\n(?:edt-show=)([^\n]*)\n|$/))[1],
|
|
1587 'hide' : (enStrings.match(/^|\n(?:edt-hide=)([^\n]*)\n|$/))[1]
|
|
1588 }
|
|
1589 function init_mod_history()
|
|
1590 {
|
|
1591 <xsl:if test="count(mod:header/mod:history/mod:entry) > 1">
|
|
1592 document.getElementById('mod_history_content').style.display = 'none';
|
|
1593 document.getElementById('history_toggle_area').style.display = '';
|
|
1594 document.getElementById('history_toggle_link').innerHTML = toggle_strings['show'];
|
|
1595 </xsl:if>
|
|
1596 }
|
|
1597
|
|
1598 function toggle_display(o, n)
|
|
1599 {
|
|
1600 var v = o.rel == 'hide';
|
|
1601 n.style.display = n.style.display == '' ? 'none' : '';
|
|
1602 o.rel = v ? 'show' : 'hide';
|
|
1603 o.innerHTML = toggle_strings[o.rel];
|
|
1604 if (o.id.indexOf('lang-edt-') == 0)
|
|
1605 {
|
|
1606 o.style.textAlign = v ? 'left' : 'right';
|
|
1607 }
|
|
1608 return false;
|
|
1609 }
|
|
1610
|
|
1611 function toggle_history(o)
|
|
1612 {
|
|
1613 return toggle_display(o, document.getElementById("mod_history_content"));
|
|
1614 }
|
|
1615
|
|
1616 function toggle_edit(o)
|
|
1617 {
|
|
1618 var s = o.previousSibling;
|
|
1619 while (s.nodeType != 1)
|
|
1620 {
|
|
1621 s = s.previousSibling;
|
|
1622 }
|
|
1623 return toggle_display(o, s);
|
|
1624 }
|
|
1625 </script>
|
|
1626 </head>
|
8
|
1627 <body onload="startup()">
|
0
|
1628 <div id="debug"></div>
|
|
1629 <div id="wrap">
|
|
1630 <div id="page-header">
|
8
|
1631 <h1><span id="lang-h1">Installation instructions for</span> '<xsl:value-of select="$title" />' <span id="lang-V">version</span> <xsl:value-of select="$version" /></h1>
|
0
|
1632 <form method="post" action="" id="lang-selector" style="display: none;">
|
|
1633 <fieldset class="nobg">
|
8
|
1634 <label for="language"><span id="lang-slg">Select language:</span></label> <select id="language" name="language" onclick="load_languages()"><option value="en" selected="selected">English</option></select>
|
0
|
1635 </fieldset>
|
|
1636 </form>
|
|
1637 </div>
|
|
1638 <div id="page-body">
|
|
1639 <div id="acp">
|
|
1640 <div class="panel"><span class="corners-top"><span></span></span>
|
|
1641 <div id="content">
|
|
1642 <div id="main">
|
|
1643 <xsl:for-each select="mod:header">
|
|
1644 <xsl:call-template name="give-header"></xsl:call-template>
|
|
1645 </xsl:for-each>
|
8
|
1646
|
0
|
1647 <div class="permissions" id="Fieldset1">
|
|
1648 <xsl:for-each select="mod:action-group">
|
|
1649 <xsl:call-template name="give-actions"></xsl:call-template>
|
|
1650 </xsl:for-each>
|
|
1651 <hr style="margin-bottom:0;" />
|
|
1652 <div class="endMOD">
|
|
1653 <h2 id="lang-eom">Save all files. End of MOD.</h2>
|
|
1654 <p id="lang-eomt">You have finished the installation for this MOD. Upload all changed files to your website. If the installation went bad, simply restore your backed up files.</p>
|
|
1655 </div>
|
|
1656 </div>
|
|
1657 </div>
|
|
1658 </div>
|
|
1659 <span class="corners-bottom"><span></span></span></div>
|
|
1660 </div>
|
|
1661 </div>
|
|
1662 <div id="page-footer">
|
|
1663 <p class="copyright" style="text-align: center; font-size: 10px;" id="lang-foot">MOD UA XSLT File Copyright © 2008 The phpBB Group. This MOD is copyright to the authors listed above.</p>
|
|
1664 </div>
|
|
1665 </div>
|
|
1666 </body>
|
|
1667 </html>
|
|
1668 </xsl:template>
|
8
|
1669
|
0
|
1670 <xsl:template name="give-header">
|
|
1671 <fieldset>
|
8
|
1672 <legend id="lang-atm">About this MOD</legend>
|
0
|
1673 <div class="mod-about">
|
|
1674 <span class="corners-top"><span></span></span>
|
|
1675 <dl>
|
8
|
1676 <dt id="lang-t" name="left4px">Title:</dt>
|
0
|
1677 <dd>
|
|
1678 <xsl:if test="count(mod:title) > 1">
|
|
1679 <dl id="title" class="nopadding">
|
|
1680 <xsl:for-each select="mod:title">
|
|
1681 <dt><xsl:value-of select="@lang" /></dt>
|
|
1682 <dd style='white-space:pre;' lang="{@lang}">
|
|
1683 <p><xsl:value-of select="current()" /></p>
|
|
1684 </dd>
|
|
1685 </xsl:for-each>
|
|
1686 </dl>
|
|
1687 </xsl:if>
|
|
1688 <xsl:if test="count(mod:title) = 1">
|
|
1689 <p lang="{@lang}" style='white-space:pre;'><xsl:value-of select="mod:title" /></p>
|
|
1690 </xsl:if>
|
|
1691 </dd>
|
8
|
1692 <dt id="lang-d" name="left4px">Description:</dt>
|
0
|
1693 <dd>
|
|
1694 <xsl:if test="count(mod:description) > 1">
|
|
1695 <dl id="description" class="nopadding">
|
|
1696 <xsl:for-each select="mod:description">
|
|
1697 <dt><xsl:value-of select="@lang" /></dt>
|
|
1698 <dd lang="{@lang}">
|
|
1699 <p>
|
|
1700 <xsl:call-template name="add-line-breaks">
|
|
1701 <xsl:with-param name="string"><xsl:value-of select="current()" /></xsl:with-param>
|
|
1702 </xsl:call-template>
|
|
1703 </p>
|
|
1704 </dd>
|
|
1705 </xsl:for-each>
|
|
1706 </dl>
|
|
1707 </xsl:if>
|
|
1708 <xsl:if test="count(mod:description) = 1">
|
|
1709 <p lang="{@lang}">
|
|
1710 <xsl:call-template name="add-line-breaks">
|
|
1711 <xsl:with-param name="string"><xsl:value-of select="mod:description" /></xsl:with-param>
|
|
1712 </xsl:call-template>
|
|
1713 </p>
|
|
1714 </xsl:if>
|
|
1715 </dd>
|
8
|
1716 <dt id="lang-aV" name="left4px">Version:</dt>
|
0
|
1717 <dd class="mod-about">
|
|
1718 <p>
|
|
1719 <xsl:for-each select="mod:mod-version">
|
|
1720 <xsl:value-of select="$version" />
|
|
1721 </xsl:for-each>
|
|
1722 </p>
|
|
1723 </dd>
|
|
1724 <xsl:for-each select="mod:installation">
|
|
1725 <xsl:call-template name="give-installation"></xsl:call-template>
|
|
1726 </xsl:for-each>
|
|
1727 <xsl:if test="mod:author-notes != 'N/A' and mod:author-notes != 'n/a' and mod:author-notes != ''">
|
8
|
1728 <dt id="lang-ant" name="left4px">Author notes:</dt>
|
|
1729 <dd>
|
|
1730 <xsl:if test="count(mod:author-notes) > 1">
|
|
1731 <dl id="author-notes" class="nopadding">
|
|
1732 <xsl:for-each select="mod:author-notes">
|
|
1733 <dt><xsl:value-of select="@lang" /></dt>
|
|
1734 <dd lang="{@lang}">
|
|
1735 <p>
|
|
1736 <xsl:call-template name="add-line-breaks">
|
|
1737 <xsl:with-param name="string"><xsl:value-of select="current()" /></xsl:with-param>
|
|
1738 </xsl:call-template>
|
|
1739 </p>
|
|
1740 </dd>
|
|
1741 </xsl:for-each>
|
|
1742 </dl>
|
|
1743 </xsl:if>
|
|
1744 <xsl:if test="count(mod:author-notes) = 1">
|
|
1745 <p lang="{@lang}">
|
|
1746 <xsl:call-template name="add-line-breaks">
|
|
1747 <xsl:with-param name="string"><xsl:value-of select="mod:author-notes" /></xsl:with-param>
|
|
1748 </xsl:call-template>
|
|
1749 </p>
|
|
1750 </xsl:if>
|
|
1751 </dd>
|
0
|
1752 </xsl:if>
|
|
1753 </dl>
|
|
1754 <span class="corners-bottom"><span></span></span>
|
|
1755 </div>
|
|
1756 </fieldset>
|
|
1757 <fieldset>
|
8
|
1758 <xsl:for-each select="mod:author-group">
|
|
1759 <xsl:if test="count(mod:author) > 1">
|
|
1760 <legend id="lang-aus">Authors</legend>
|
|
1761 </xsl:if>
|
|
1762 <xsl:if test="count(mod:author) = 1">
|
|
1763 <legend id="lang-au">Author</legend>
|
|
1764 </xsl:if>
|
|
1765 <xsl:call-template name="give-authors"></xsl:call-template>
|
|
1766 </xsl:for-each>
|
0
|
1767 </fieldset>
|
|
1768 <xsl:if test="count(../mod:action-group/mod:open) > 0">
|
8
|
1769 <h3 id="lang-fte">Files to edit</h3>
|
|
1770 <xsl:for-each select="../mod:action-group">
|
|
1771 <xsl:call-template name="give-files-to-edit"></xsl:call-template>
|
|
1772 </xsl:for-each>
|
0
|
1773 </xsl:if>
|
8
|
1774 <h3 id="lang-icf">Included files</h3>
|
0
|
1775 <xsl:if test="count(../mod:action-group/mod:copy/mod:file) = 0">
|
|
1776 <p id="lang-icfn">No files have been included with this MOD.</p>
|
|
1777 </xsl:if>
|
|
1778 <xsl:for-each select="../mod:action-group">
|
|
1779 <xsl:call-template name="give-files-included"></xsl:call-template>
|
|
1780 </xsl:for-each>
|
8
|
1781 <h3 id="lang-addtl-modx">Additional MODX files</h3>
|
0
|
1782 <xsl:if test="count(mod:link-group/mod:link) = 0">
|
|
1783 <p id="lang-imn">This MOD has no additional MODX files.</p>
|
|
1784 </xsl:if>
|
8
|
1785
|
0
|
1786 <ul class="link-group" id="link-group">
|
|
1787 <xsl:for-each select="mod:link-group/mod:link">
|
8
|
1788 <li lang="{@lang}">
|
|
1789 <span class="link-group-lang"><xsl:value-of select="@lang" /> </span>
|
|
1790 <strong>
|
|
1791 <xsl:if test="@type = 'contrib'">
|
|
1792 <span id="lang-link-c[{generate-id()}]">Contrib</span>:
|
|
1793 </xsl:if>
|
|
1794 <xsl:if test="@type = 'dependency'">
|
|
1795 <span id="lang-link-d[{generate-id()}]">Dependency</span>:
|
|
1796 </xsl:if>
|
|
1797 <xsl:if test="@type = 'language'">
|
|
1798 <span id="lang-link-l[{generate-id()}]">Language</span>:
|
|
1799 </xsl:if>
|
|
1800 <xsl:if test="@type = 'parent'">
|
|
1801 <span id="lang-link-p[{generate-id()}]">Parent</span>:
|
|
1802 </xsl:if>
|
|
1803 <xsl:if test="@type = 'template'">
|
|
1804 <span id="lang-link-te[{generate-id()}]">Template</span>:
|
|
1805 </xsl:if>
|
|
1806 <xsl:if test="@type = 'template-lang'">
|
|
1807 <span id="lang-link-tl[{generate-id()}]">Template lang</span>:
|
|
1808 </xsl:if>
|
|
1809 <xsl:if test="@type = 'text'">
|
|
1810 <span id="lang-link-txt[{generate-id()}]">Text file</span>:
|
|
1811 </xsl:if>
|
|
1812 <xsl:if test="@type = 'uninstall'">
|
|
1813 <span id="lang-link-un[{generate-id()}]">Uninstall instructions</span>:
|
|
1814 </xsl:if>
|
|
1815 </strong>
|
|
1816 <a href="{@href}"><xsl:value-of select="current()" /></a>
|
|
1817 </li>
|
0
|
1818 </xsl:for-each>
|
|
1819 </ul>
|
|
1820 <hr />
|
|
1821 <div id="modDisclaimer">
|
8
|
1822 <h3><span id="lang-dcl">Disclaimer</span> <span id="lang-ont">and other notes</span></h3>
|
0
|
1823 <div class="mod-about">
|
|
1824 <span class="corners-top"><span></span></span>
|
8
|
1825 <div class="mod-about-padding">
|
0
|
1826 <p><span id="lang-dclt">For security purposes, please check: <a href="http://www.phpbb.com/mods/">http://www.phpbb.com/mods/</a> for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered in our MODs database, located at: <a href="http://www.phpbb.com/mods/">http://www.phpbb.com/mods/</a></span></p>
|
8
|
1827 <p><span id="lang-ontt1">Before adding this MOD to your forum, you should back up all files and databases related to this MOD.</span></p>
|
|
1828 <p><span id="lang-ontt2">This MOD was designed for phpBB</span><xsl:text> </xsl:text><xsl:value-of select="mod:installation/mod:target-version" /><xsl:text> </xsl:text> <span id="lang-ontt3">and may not function as stated on other phpBB versions. MODs for phpBB 3.0 will <strong>not</strong> work on phpBB 2.0 and vice versa.</span></p>
|
0
|
1829 <xsl:for-each select="./mod:mod-version">
|
8
|
1830 <xsl:if test="substring-before(current(), '.') = 0">
|
0
|
1831 <p><strong class="red"><span id="lang-onttq">This MOD is development quality. It is not recommended that you install it on a live forum.</span></strong></p>
|
|
1832 </xsl:if>
|
|
1833 </xsl:for-each>
|
8
|
1834 </div>
|
0
|
1835 <span class="corners-bottom"><span></span></span>
|
|
1836 </div>
|
|
1837 </div>
|
|
1838 <div>
|
8
|
1839 <h3><span id="lang-lic">License</span> <span id="lang-isp">and English support</span></h3>
|
0
|
1840 <div class="mod-about">
|
|
1841 <span class="corners-top"><span></span></span>
|
8
|
1842 <div class="mod-about-padding">
|
0
|
1843 <p><span id="lang-lict">This MOD has been licensed under the following license:</span></p>
|
|
1844 <p style='white-space:pre;'><a href="license.txt"><xsl:value-of select="mod:license" /></a></p>
|
|
1845 <p><span id="lang-ispt">English support can be obtained at <a href="http://www.phpbb.com/mods/">http://www.phpbb.com/mods/</a> for released MODs.</span></p>
|
8
|
1846 <p><span id="lang-ispt-int">Support in your language <strong>might</strong> be available at a <a href="http://www.phpbb.com/support/intl/">international support site</a>.</span></p>
|
|
1847 </div>
|
0
|
1848 <span class="corners-bottom"><span></span></span>
|
|
1849 </div>
|
|
1850 <xsl:for-each select="mod:history">
|
|
1851 <xsl:call-template name="give-mod-history"></xsl:call-template>
|
|
1852 </xsl:for-each>
|
|
1853 </div>
|
|
1854 </xsl:template>
|
8
|
1855
|
0
|
1856 <xsl:template name="give-authors">
|
|
1857 <xsl:for-each select="mod:author">
|
|
1858 <div class="mod-about">
|
|
1859 <span class="corners-top"><span></span></span>
|
8
|
1860 <dl class="author-info">
|
|
1861 <dt id="lang-a-un[{generate-id()}]" name="left4px">Username:</dt>
|
|
1862
|
|
1863 <xsl:variable name="authorname" select="mod:username" />
|
|
1864 <xsl:for-each select="mod:username">
|
|
1865 <xsl:choose>
|
|
1866 <xsl:when test="@phpbbcom = 'no' or @phpbbcom = 'No' or @phpbbcom = 'NO'">
|
|
1867 <dd name="author-dd"><span dir="ltr"><xsl:value-of select="$authorname" /></span></dd>
|
|
1868 </xsl:when>
|
|
1869
|
|
1870 <xsl:otherwise>
|
|
1871 <xsl:variable name="authorurl">
|
|
1872 <xsl:call-template name="validate-username">
|
|
1873 <xsl:with-param name="string-in" select="string($authorname)"/>
|
|
1874 </xsl:call-template>
|
|
1875 </xsl:variable>
|
|
1876
|
|
1877 <xsl:variable name="browserEngine" select="system-property('xsl:vendor')" />
|
|
1878 <xsl:choose>
|
|
1879 <xsl:when test="$browserEngine='Opera'">
|
|
1880 <xsl:variable name="operaurl">
|
|
1881 <xsl:call-template name="validate-opera">
|
|
1882 <xsl:with-param name="string-in" select="string($authorurl)"/>
|
|
1883 </xsl:call-template>
|
|
1884 </xsl:variable>
|
|
1885 <dd name="author-dd"><a dir="ltr" href="http://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$operaurl}"><xsl:value-of select="$authorname" /></a></dd>
|
|
1886 </xsl:when>
|
|
1887 <xsl:otherwise>
|
|
1888 <dd name="author-dd"><a dir="ltr" href="http://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$authorurl}"><xsl:value-of select="$authorname" /></a></dd>
|
|
1889 </xsl:otherwise>
|
|
1890
|
|
1891 </xsl:choose>
|
|
1892 </xsl:otherwise>
|
|
1893
|
|
1894 </xsl:choose>
|
|
1895 </xsl:for-each>
|
|
1896 <xsl:if test="mod:email != 'N/A' and mod:email != 'n/a' and mod:email != ''">
|
|
1897 <dt id="lang-a-e[{generate-id()}]">Email:</dt>
|
|
1898 <dd name="author-dd"><a href="mailto:{mod:email}"><xsl:value-of select="mod:email" /></a></dd>
|
|
1899 </xsl:if>
|
|
1900 <xsl:if test="mod:realname != 'N/A' and mod:realname != 'n/a' and mod:realname != ''">
|
|
1901 <dt id="lang-a-n[{generate-id()}]">Name:</dt>
|
|
1902 <dd name="author-dd"><xsl:value-of select="mod:realname" /></dd>
|
|
1903 </xsl:if>
|
|
1904 <xsl:if test="mod:homepage != 'N/A' and mod:homepage != 'n/a' and mod:homepage!=''">
|
|
1905 <dt id="lang-a-h[{generate-id()}]">WWW:</dt>
|
|
1906 <dd name="author-dd"><a href="{mod:homepage}" dir="ltr"><xsl:value-of select="mod:homepage" /></a></dd>
|
|
1907 </xsl:if>
|
|
1908 <xsl:if test="count(mod:contributions-group) > 0">
|
|
1909 <dt id="lang-a-c[{generate-id()}]">Contributions:</dt>
|
|
1910 <xsl:for-each select="mod:contributions-group/mod:contributions">
|
|
1911 <dd name="author-dd">
|
|
1912
|
|
1913 <span name="rtl-spec" style="display: none">
|
|
1914 <xsl:if test="@status = 'past' and @from != 'N/A' and @from != 'n/a' and @from!=''">
|
|
1915 <xsl:if test="@to != 'N/A' and @to != 'n/a' and @to!=''">
|
|
1916 <span id="lang-a-c-f[{generate-id()}]">From</span>: <xsl:value-of select="@from" /> <span id="lang-a-c-t[{generate-id()}]]">to</span>: <xsl:value-of select="@to" />
|
|
1917 </xsl:if>
|
|
1918 </xsl:if>
|
|
1919 <xsl:if test="@status = 'current' and @from != 'N/A' and @from != 'n/a' and @from!=''">
|
|
1920 <span id="lang-a-c-s[{generate-id()}]]">Since</span>: <xsl:value-of select="@from" />
|
|
1921 </xsl:if>
|
|
1922 <strong style="text-transform: capitalize;"><xsl:value-of select="@position" /></strong>
|
|
1923 </span>
|
|
1924
|
|
1925 <span name="ltr-spec">
|
|
1926 <strong style="text-transform: capitalize;"><xsl:value-of select="@position" /></strong>
|
|
1927 <xsl:if test="@status = 'past' and @from != 'N/A' and @from != 'n/a' and @from!=''">
|
|
1928 <xsl:if test="@to != 'N/A' and @to != 'n/a' and @to!=''">
|
|
1929 (<span id="lang-a-c-f[{generate-id()}]]">From</span>: <xsl:value-of select="@from" /> <span id="lang-a-c-t[{generate-id()}]]">to</span>: <xsl:value-of select="@to" />)
|
|
1930 </xsl:if>
|
|
1931 </xsl:if>
|
|
1932 <xsl:if test="@status = 'current' and @from != 'N/A' and @from != 'n/a' and @from!=''">
|
|
1933 (<span id="lang-a-c-s[{generate-id()}]]">Since</span>: <xsl:value-of select="@from" />)
|
|
1934 </xsl:if>
|
|
1935 </span>
|
|
1936
|
|
1937 </dd>
|
|
1938 </xsl:for-each>
|
|
1939 </xsl:if>
|
|
1940 </dl>
|
0
|
1941 <span class="corners-bottom"><span></span></span>
|
|
1942 </div>
|
|
1943 </xsl:for-each>
|
|
1944 </xsl:template>
|
8
|
1945
|
0
|
1946 <xsl:template name="give-installation">
|
8
|
1947 <dt id="lang-il" name="left4px">Installation level:</dt>
|
0
|
1948 <dd class="mod-about">
|
|
1949 <div class="inner">
|
|
1950 <xsl:if test="mod:level='easy'">
|
|
1951 <p id="lang-ile">Easy</p>
|
|
1952 </xsl:if>
|
|
1953 <xsl:if test="mod:level='intermediate'">
|
|
1954 <p id="lang-ili">Intermediate</p>
|
|
1955 </xsl:if>
|
|
1956 <xsl:if test="mod:level='advanced'">
|
|
1957 <p id="lang-ila">Advanced</p>
|
|
1958 </xsl:if>
|
|
1959 </div>
|
|
1960 </dd>
|
8
|
1961 <dt id="lang-it" name="left4px">Installation time:</dt>
|
0
|
1962 <dd class="mod-about">
|
|
1963 <div class="inner">
|
|
1964 <p>~<xsl:value-of select="floor(mod:time div 60)" /> <span id="lang-mint">minutes</span></p>
|
|
1965 </div>
|
|
1966 </dd>
|
|
1967 </xsl:template>
|
8
|
1968
|
0
|
1969 <xsl:template name="give-mod-history">
|
|
1970 <xsl:if test="count(mod:entry) > 0">
|
|
1971 <fieldset>
|
8
|
1972 <legend id="lang-mh">MOD history</legend>
|
0
|
1973 <div class="mod-about" id="history_toggle_area" style="display:none;">
|
|
1974 <span class="corners-top"><span></span></span>
|
|
1975 <div class="mod-about-padding">
|
|
1976 <a href="#" id="history_toggle_link" rel="show" onclick="return toggle_history(this);"></a>
|
|
1977 </div>
|
|
1978 <span class="corners-bottom"><span></span></span>
|
|
1979 </div>
|
|
1980 <div id="mod_history_content">
|
|
1981 <xsl:for-each select="mod:entry">
|
|
1982 <xsl:call-template name="give-history-entry"></xsl:call-template>
|
|
1983 </xsl:for-each>
|
|
1984 </div>
|
|
1985 </fieldset>
|
|
1986 </xsl:if>
|
|
1987 </xsl:template>
|
8
|
1988
|
0
|
1989 <xsl:template name="give-history-entry">
|
|
1990 <div class="mod-about">
|
|
1991 <span class="corners-top"><span></span></span>
|
|
1992 <dl class="mod-history">
|
|
1993 <dt>
|
|
1994 <p><strong><xsl:value-of select="substring(mod:date,1,10)" /> <span id="lang-mhe-v[{generate-id()}]">- Version</span>
|
|
1995 <xsl:for-each select="mod:rev-version">
|
|
1996 <xsl:value-of select="current()" />
|
|
1997 </xsl:for-each>
|
|
1998 </strong></p>
|
|
1999 </dt>
|
|
2000 <dd><br clear="all" />
|
|
2001 <xsl:if test="count(mod:changelog) > 1">
|
|
2002 <dl id="mhcl[{generate-id()}]">
|
|
2003 <xsl:for-each select="mod:changelog">
|
|
2004 <xsl:call-template name="give-history-entry-changelog"></xsl:call-template>
|
|
2005 </xsl:for-each>
|
|
2006 </dl>
|
|
2007 </xsl:if>
|
|
2008 <xsl:if test="count(mod:changelog) = 1">
|
|
2009 <xsl:for-each select="mod:changelog">
|
|
2010 <xsl:call-template name="give-history-entry-changelog-single"></xsl:call-template>
|
|
2011 </xsl:for-each>
|
|
2012 </xsl:if>
|
|
2013 </dd>
|
|
2014 </dl>
|
|
2015 <span class="corners-bottom"><span></span></span>
|
|
2016 </div>
|
|
2017 </xsl:template>
|
8
|
2018
|
0
|
2019 <xsl:template name="give-history-entry-changelog">
|
|
2020 <dt><xsl:value-of select="@lang" /></dt>
|
|
2021 <dd lang="{@lang}">
|
|
2022 <ul>
|
|
2023 <xsl:for-each select="mod:change">
|
|
2024 <li>
|
|
2025 <p><xsl:value-of select="current()" /></p>
|
|
2026 </li>
|
|
2027 </xsl:for-each>
|
|
2028 </ul>
|
|
2029 </dd>
|
|
2030 </xsl:template>
|
8
|
2031
|
0
|
2032 <xsl:template name="give-history-entry-changelog-single">
|
|
2033 <ul>
|
|
2034 <xsl:for-each select="mod:change">
|
|
2035 <li>
|
|
2036 <p><xsl:value-of select="current()" /></p>
|
|
2037 </li>
|
|
2038 </xsl:for-each>
|
|
2039 </ul>
|
|
2040 </xsl:template>
|
8
|
2041
|
0
|
2042 <xsl:template name="give-files-to-edit">
|
|
2043 <ul>
|
|
2044 <xsl:for-each select="mod:open">
|
|
2045 <xsl:call-template name="give-file"></xsl:call-template>
|
|
2046 </xsl:for-each>
|
|
2047 </ul>
|
|
2048 </xsl:template>
|
8
|
2049
|
0
|
2050 <xsl:template name="give-files-included">
|
|
2051 <ul>
|
|
2052 <xsl:for-each select="mod:copy">
|
|
2053 <xsl:call-template name="give-file-copy"></xsl:call-template>
|
|
2054 </xsl:for-each>
|
|
2055 </ul>
|
|
2056 </xsl:template>
|
8
|
2057
|
0
|
2058 <xsl:template name="give-file">
|
|
2059 <li><a href="#{@src}"><xsl:value-of select="@src" /></a><xsl:if test="position()!=last()">,</xsl:if></li>
|
|
2060 </xsl:template>
|
8
|
2061
|
0
|
2062 <xsl:template name="give-file-copy">
|
|
2063 <xsl:for-each select="mod:file">
|
|
2064 <li><xsl:value-of select="@from" />
|
|
2065 <xsl:if test="position()!=last()">,
|
|
2066 </xsl:if>
|
|
2067 </li>
|
|
2068 </xsl:for-each>
|
|
2069 </xsl:template>
|
8
|
2070
|
0
|
2071 <xsl:template name="give-actions">
|
8
|
2072 <xsl:if test="count(mod:sql) > 0 or count(mod:copy) > 0 or count(mod:open) > 0">
|
|
2073 <hr />
|
|
2074 </xsl:if>
|
0
|
2075 <xsl:if test="count(mod:sql) > 0">
|
|
2076 <form method="post" action="" id="dbms-selector">
|
|
2077 <fieldset class="nobg">
|
|
2078 <label for="dbms"> <span id="lang-dbms">Select Database Type:</span> </label>
|
8
|
2079 <select id="dbms" name="dbms" onchange="change_dbms(this);">
|
0
|
2080 <option value="mysql_41" selected="selected">MySQL 41</option>
|
|
2081 <option value="mysql_40">MySQL 40</option>
|
|
2082 <option value="firebird">Firebird</option>
|
|
2083 <option value="mssql">MSSQL</option>
|
|
2084 <option value="oracle">Oracle</option>
|
|
2085 <option value="postgres">Postgres</option>
|
|
2086 <option value="sqllite">SQLLite</option>
|
|
2087 </select>
|
|
2088 </fieldset>
|
|
2089 </form>
|
|
2090 <h2 id="lang-sql">SQL</h2>
|
|
2091 <div id="sql" class="mod-about">
|
|
2092 <span class="corners-top"><span></span></span>
|
|
2093 <xsl:for-each select="mod:sql">
|
|
2094 <xsl:call-template name="give-sql"></xsl:call-template>
|
|
2095 </xsl:for-each>
|
8
|
2096 <span class="corners-bottom"><span></span></span>
|
|
2097 </div>
|
0
|
2098 </xsl:if>
|
|
2099 <xsl:if test="count(mod:copy) > 0">
|
|
2100 <xsl:for-each select="mod:copy">
|
|
2101 <xsl:call-template name="give-filez"></xsl:call-template>
|
|
2102 </xsl:for-each>
|
|
2103 </xsl:if>
|
8
|
2104 <xsl:if test="count(mod:delete) > 0">
|
|
2105 <xsl:for-each select="mod:delete">
|
|
2106 <xsl:call-template name="away-filez"></xsl:call-template>
|
|
2107 </xsl:for-each>
|
|
2108 </xsl:if>
|
0
|
2109 <xsl:if test="count(mod:open) > 0">
|
8
|
2110 <h2 id="lang-edts">Edits</h2>
|
|
2111 <p><span class="key">s</span><span class="key">w</span><span class="key">x</span><span id="lang-edtt">Use your keyboard to navigate the code boxes. You may also hit '<em>s</em>' on your keyboard to go to the first code box.</span></p>
|
|
2112 <div id="edits">
|
|
2113 <div class="inner">
|
|
2114 <xsl:for-each select="mod:open">
|
|
2115 <xsl:call-template name="give-fileo"></xsl:call-template>
|
|
2116 </xsl:for-each>
|
|
2117 </div>
|
0
|
2118 </div>
|
|
2119 </xsl:if>
|
8
|
2120 <xsl:if test="count(mod:php-installer) > 0">
|
|
2121 <h2 id="lang-installer-h2">PHP install file</h2>
|
|
2122 <div class="mod-about">
|
|
2123 <span class="corners-top"><span></span></span>
|
|
2124 <div class="mod-about-padding">
|
|
2125 <p>
|
|
2126 <span id="lang-installer-exp1">There is a PHP install file that needs to be run in order to complete the installation.</span>
|
|
2127 <br />
|
|
2128 <span id="lang-installer-exp2">To run it point your browser to, for example,</span><span dir="ltr"> domain.tld/phpBB3/<xsl:value-of select="mod:php-installer" /></span>
|
|
2129 </p>
|
|
2130 <div class="content">
|
|
2131 <div class="codebox">
|
|
2132 <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
|
2133 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="mod:php-installer" /></pre></div>
|
|
2134 </div>
|
|
2135 </div>
|
|
2136 </div>
|
|
2137 <span class="corners-bottom"><span></span></span>
|
|
2138 </div>
|
|
2139 </xsl:if>
|
|
2140 <xsl:call-template name="give-manual" />
|
0
|
2141 </xsl:template>
|
8
|
2142
|
0
|
2143 <xsl:template name="give-sql">
|
|
2144 <dbms type="{@dbms}">
|
8
|
2145 <div class="content" name="{@dbms}">
|
0
|
2146 <xsl:if test="@dbms != ''">
|
|
2147 <xsl:value-of select="@dbms" />:
|
|
2148 </xsl:if>
|
|
2149 <div class="codebox">
|
8
|
2150 <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select all</span></a></div>
|
|
2151 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
0
|
2152 </div>
|
|
2153 </div>
|
|
2154 </dbms>
|
|
2155 </xsl:template>
|
8
|
2156
|
0
|
2157 <xsl:template name="give-manual">
|
8
|
2158 <xsl:if test="count(mod:diy-instructions)">
|
|
2159 <h2 id="lang-diy">DIY instructions</h2>
|
0
|
2160 <div class="mod-about">
|
|
2161 <span class="corners-top"><span></span></span>
|
|
2162 <div class="mod-about-padding">
|
|
2163 <p><span id="lang-diyt">These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.</span></p>
|
|
2164 </div>
|
|
2165 <div id="diy">
|
|
2166 <xsl:for-each select="mod:diy-instructions">
|
|
2167 <div lang="{@lang}" style="margin:0;">
|
|
2168 <div class="content">
|
|
2169 <div class="codebox">
|
|
2170 <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
|
2171 <div class="codePre"><pre id="{generate-id()}"><xsl:value-of select="current()" /></pre></div>
|
|
2172 </div>
|
|
2173 </div>
|
|
2174 </div>
|
|
2175 </xsl:for-each>
|
|
2176 </div>
|
|
2177 <span class="corners-bottom"><span></span></span>
|
|
2178 </div>
|
|
2179 </xsl:if>
|
|
2180 </xsl:template>
|
8
|
2181
|
0
|
2182 <xsl:template name="give-fileo">
|
|
2183 <div class="mod-about">
|
|
2184 <span class="corners-top"><span></span></span>
|
|
2185 <div class="editFile">
|
|
2186 <h3><span id="lang-opn[{generate-id()}]">Open:</span> <a name="{@src}"><xsl:value-of select="@src" /></a></h3>
|
|
2187 <xsl:for-each select="mod:edit">
|
|
2188 <div class="mod-edit">
|
|
2189 <div class="mod-edit-contents">
|
|
2190 <xsl:if test="count(mod:comment) > 0">
|
|
2191 <div class="mod-comment" style="margin:0;">
|
|
2192 <h4 id="lang-cm-cmt[{generate-id()}]">Comments</h4>
|
|
2193 <dl id="mod-comment[{generate-id()}]">
|
|
2194 <xsl:for-each select="mod:comment">
|
|
2195 <dt><span>
|
|
2196 <xsl:if test="count(../mod:comment) > 1">
|
|
2197 <xsl:value-of select="@lang" />
|
|
2198 </xsl:if>
|
|
2199 </span></dt>
|
|
2200 <dd lang="{@lang}"><xsl:value-of select="current()" /></dd>
|
|
2201 </xsl:for-each>
|
|
2202 </dl>
|
|
2203 </div>
|
|
2204 </xsl:if>
|
8
|
2205 <xsl:for-each select="mod:find|mod:remove|mod:action|mod:inline-edit">
|
0
|
2206 <xsl:if test="name() = 'find'">
|
|
2207 <h4 id="lang-fnd[{generate-id()}]">Find</h4>
|
|
2208 <p><span id="lang-fndt[{generate-id()}]"><strong>Tip:</strong> This may be a partial find and not the whole line.</span>
|
|
2209 <xsl:if test="@type = 'regex'">
|
8
|
2210 <br /><em id="lang-regex[{generate-id()}]">This find contains an advanced feature known as regular expressions.</em>
|
0
|
2211 </xsl:if>
|
|
2212 </p>
|
|
2213 <div class="codebox">
|
|
2214 <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
8
|
2215 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
|
2216 </div>
|
|
2217 </xsl:if>
|
|
2218 <xsl:if test="name() = 'remove'">
|
|
2219 <h4 id="lang-remove[{generate-id()}]" style="color: #FF0FFF;">Find and Delete</h4>
|
|
2220 <p><span id="lang-removet[{generate-id()}]"><strong>Tip:</strong> Find and delete this code.</span></p>
|
|
2221 <div class="codebox">
|
|
2222 <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
|
2223 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
0
|
2224 </div>
|
|
2225 </xsl:if>
|
|
2226 <xsl:if test="name() = 'action'">
|
|
2227 <xsl:if test="@type = 'after-add'">
|
8
|
2228 <h4 id="lang-aft[{generate-id()}]" style="color: #009933;">Add after</h4>
|
0
|
2229 <p><span id="lang-aftt[{generate-id()}]"><strong>Tip:</strong> Add these lines on a new blank line after the preceding line(s) to find.</span></p>
|
|
2230 </xsl:if>
|
|
2231 <xsl:if test="@type = 'before-add'">
|
8
|
2232 <h4 id="lang-bef[{generate-id()}]" style="color: #AC1987;">Add before</h4>
|
0
|
2233 <p><span id="lang-beft[{generate-id()}]"><strong>Tip:</strong> Add these lines on a new blank line before the preceding line(s) to find.</span></p>
|
|
2234 </xsl:if>
|
|
2235 <xsl:if test="@type = 'replace-with'">
|
8
|
2236 <h4 id="lang-rplw[{generate-id()}]" style="color: #AE1616;">Replace with</h4>
|
0
|
2237 <p><span id="lang-rplwt[{generate-id()}]"><strong>Tip:</strong> Replace the preceding line(s) to find with the following lines.</span></p>
|
|
2238 </xsl:if>
|
|
2239 <xsl:if test="@type = 'operation'">
|
8
|
2240 <h4 id="lang-inc[{generate-id()}]" style="color: #333333;">Operation</h4>
|
|
2241 <p><span id="lang-inct[{generate-id()}]"><strong>Tip:</strong> This allows you to alter integers.</span></p>
|
0
|
2242 </xsl:if>
|
|
2243 <div class="codebox">
|
8
|
2244 <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select all</span></a></div>
|
|
2245 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
0
|
2246 </div>
|
|
2247 </xsl:if>
|
|
2248 <xsl:if test="name() = 'inline-edit'">
|
|
2249 <div class="mod-inlineedit">
|
8
|
2250 <xsl:for-each select="mod:inline-find|mod:inline-remove|mod:inline-action|mod:inline-comment">
|
0
|
2251 <xsl:if test="name() = 'inline-find'">
|
|
2252 <h5 id="lang-ifnd[{generate-id()}]">In-line Find</h5>
|
|
2253 <p><span id="lang-ifndt[{generate-id()}]"><strong>Tip:</strong> This is a partial match of a line for in-line operations.</span>
|
|
2254 <xsl:if test="@type = 'regex'">
|
8
|
2255 <br /><em id="lang-regex[{generate-id()}]">This find contains an advanced feature known as regular expressions.</em>
|
0
|
2256 </xsl:if>
|
|
2257 </p>
|
|
2258 <div class="codebox">
|
8
|
2259 <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select all</span></a></div>
|
|
2260 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
|
2261 </div>
|
|
2262 </xsl:if>
|
|
2263 <xsl:if test="name() = 'inline-remove'">
|
|
2264 <h5 id="lang-iremove[{generate-id()}]" style="color: #FF0FFF;">In-line Find and Delete</h5>
|
|
2265 <p><span id="lang-iremovet[{generate-id()}]"><strong>Tip:</strong> Find this code in the line and delete it.</span></p>
|
|
2266 <div class="codebox">
|
|
2267 <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select all</span></a></div>
|
|
2268 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
0
|
2269 </div>
|
|
2270 </xsl:if>
|
|
2271 <xsl:if test="name() = 'inline-action'">
|
|
2272 <xsl:if test="@type = 'after-add'">
|
8
|
2273 <h5 id="lang-iaft[{generate-id()}]" style="color: #009933;">In-line Add after</h5>
|
0
|
2274 <p><span id="lang-iaftt[{generate-id()}]"></span></p>
|
|
2275 </xsl:if>
|
|
2276 <xsl:if test="@type = 'before-add'">
|
8
|
2277 <h5 id="lang-ibef[{generate-id()}]" style="color: #AC1987;">In-line Add before</h5>
|
0
|
2278 <p><span id="lang-ibeft[{generate-id()}]"></span></p>
|
|
2279 </xsl:if>
|
|
2280 <xsl:if test="@type = 'replace-with'">
|
8
|
2281 <h5 id="lang-irplw[{generate-id()}]" style="color: #AE1616;">In-line Replace with</h5>
|
0
|
2282 <p><span id="lang-irplwt[{generate-id()}]"></span></p>
|
|
2283 </xsl:if>
|
|
2284 <xsl:if test="@type = 'operation'">
|
8
|
2285 <h5 id="lang-iinc[{generate-id()}]" style="color: #333333;">In-line Operation</h5>
|
|
2286 <p><span id="lang-iinct[{generate-id()}]"><strong>Tip:</strong> This allows you to alter integers.</span></p>
|
0
|
2287 </xsl:if>
|
|
2288 <div class="codebox">
|
|
2289 <div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
8
|
2290 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
0
|
2291 </div>
|
|
2292 </xsl:if>
|
|
2293 <xsl:if test="name() = 'inline-comment'">
|
|
2294 <dl id="comment[{generate-id()}]">
|
|
2295 <dt><span id="lang-cm-cmt[{generate-id()}]">Comments</span> <span><xsl:value-of select="@lang" /></span></dt>
|
|
2296 <dd lang="{@lang}"><xsl:value-of select="current()" /></dd>
|
|
2297 </dl>
|
|
2298 </xsl:if>
|
|
2299 </xsl:for-each>
|
|
2300 </div>
|
|
2301 </xsl:if>
|
|
2302 </xsl:for-each>
|
|
2303 </div>
|
|
2304 <a href="#" id="lang-edt-hide[{generate-id()}]" class="edit_toggle_link" rel="hide" onclick="return toggle_edit(this);"><< Hide</a>
|
|
2305 </div>
|
|
2306 </xsl:for-each>
|
|
2307 </div>
|
|
2308 <span class="corners-bottom"><span></span></span>
|
|
2309 </div>
|
|
2310 </xsl:template>
|
8
|
2311
|
0
|
2312 <xsl:template name="give-filez">
|
8
|
2313 <h2 id="lang-fca">File copy</h2>
|
0
|
2314 <ol id="file-copy">
|
|
2315 <xsl:for-each select="mod:file">
|
8
|
2316 <li>
|
|
2317 <dl>
|
0
|
2318 <dt><span id="lang-c-copy[{generate-id()}]">Copy:</span> <xsl:value-of select="@from" /></dt>
|
|
2319 <dd><span id="lang-c-to[{generate-id()}]">To:</span> <xsl:value-of select="@to" /></dd>
|
|
2320 </dl>
|
|
2321 </li>
|
|
2322 </xsl:for-each>
|
|
2323 </ol>
|
|
2324 </xsl:template>
|
8
|
2325
|
|
2326 <xsl:template name="away-filez">
|
|
2327 <xsl:choose>
|
|
2328 <xsl:when test="count(mod:file) > 1">
|
|
2329 <h2 id="lang-del-heads">Delete files</h2>
|
|
2330 </xsl:when>
|
|
2331 <xsl:otherwise>
|
|
2332 <h2 id="lang-del-head">Delete file</h2>
|
|
2333 </xsl:otherwise>
|
|
2334 </xsl:choose>
|
|
2335 <ol id="file-delete">
|
|
2336 <xsl:for-each select="mod:file">
|
|
2337 <li>
|
|
2338 <dl>
|
|
2339 <dt><span id="lang-del-file[{generate-id()}]">Delete:</span> <xsl:value-of select="@name" /></dt>
|
|
2340 </dl>
|
|
2341 </li>
|
|
2342 </xsl:for-each>
|
|
2343 </ol>
|
|
2344 </xsl:template>
|
|
2345
|
0
|
2346 <!-- add-line-breaks borrowed from http://www.stylusstudio.com/xsllist/200103/post40180.html -->
|
|
2347 <xsl:template name="add-line-breaks">
|
|
2348 <xsl:param name="string" select="." />
|
|
2349 <xsl:choose>
|
|
2350 <xsl:when test="contains($string, '
')">
|
|
2351 <xsl:value-of select="substring-before($string, '
')" /><br />
|
|
2352 <xsl:call-template name="add-line-breaks"><xsl:with-param name="string" select="substring-after($string, '
')" /></xsl:call-template>
|
|
2353 </xsl:when>
|
|
2354 <xsl:otherwise>
|
|
2355 <xsl:value-of select="$string" />
|
|
2356 </xsl:otherwise>
|
|
2357 </xsl:choose>
|
|
2358 </xsl:template>
|
8
|
2359
|
|
2360 <!-- replace function borrowed from http://www.dpawson.co.uk/xsl/sect2/replace.html#d9701e43 -->
|
|
2361 <xsl:template name="replaceCharsInString">
|
|
2362 <xsl:param name="stringIn"/>
|
|
2363 <xsl:param name="charsIn"/>
|
|
2364 <xsl:param name="charsOut"/>
|
|
2365 <xsl:choose>
|
|
2366 <xsl:when test="contains($stringIn,$charsIn)">
|
|
2367 <xsl:value-of select="concat(substring-before($stringIn,$charsIn),$charsOut)"/>
|
|
2368 <xsl:call-template name="replaceCharsInString">
|
|
2369 <xsl:with-param name="stringIn" select="substring-after($stringIn,$charsIn)"/>
|
|
2370 <xsl:with-param name="charsIn" select="$charsIn"/>
|
|
2371 <xsl:with-param name="charsOut" select="$charsOut"/>
|
|
2372 </xsl:call-template>
|
|
2373 </xsl:when>
|
|
2374 <xsl:otherwise>
|
|
2375 <xsl:value-of select="$stringIn"/>
|
|
2376 </xsl:otherwise>
|
|
2377 </xsl:choose>
|
|
2378 </xsl:template>
|
|
2379
|
|
2380 <!-- Replace some chars -->
|
|
2381 <xsl:template name="validate-username">
|
|
2382 <xsl:param name="string-in"/>
|
|
2383
|
|
2384 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2385 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2386 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2387
|
|
2388 <xsl:call-template name="replaceCharsInString">
|
|
2389 <xsl:with-param name="stringIn" select="string($string-in)"/>
|
|
2390 <xsl:with-param name="charsIn" select="'#'"/>
|
|
2391 <xsl:with-param name="charsOut" select="'%23'"/>
|
|
2392 </xsl:call-template>
|
|
2393
|
|
2394 </xsl:with-param><xsl:with-param name="charsIn" select="'&'"/><xsl:with-param name="charsOut" select="'%26'"/></xsl:call-template> <!-- & -->
|
|
2395 </xsl:with-param><xsl:with-param name="charsIn" select="'+'"/><xsl:with-param name="charsOut" select="'%2B'"/></xsl:call-template>
|
|
2396 </xsl:with-param><xsl:with-param name="charsIn" select="' '"/><xsl:with-param name="charsOut" select="'%20'"/></xsl:call-template> <!-- space -->
|
|
2397 </xsl:template>
|
|
2398
|
|
2399 <!-- This is only needed for Opera support, hiding it here at the bottom. -->
|
|
2400 <xsl:template name="validate-opera">
|
|
2401 <xsl:param name="string-in"/>
|
|
2402
|
|
2403 <!-- This doesn't follow any coding guidelines. But is easier to read this way -->
|
|
2404 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2405 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2406 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2407 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2408 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2409 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2410 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2411 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2412 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2413 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2414 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2415 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2416 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2417 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2418 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2419 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2420 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2421 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2422 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2423 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2424 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2425 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2426 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2427 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2428 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2429 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2430 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2431 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2432 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2433 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2434 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2435 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2436 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2437 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2438 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2439 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2440 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2441 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2442 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2443 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2444 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2445 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2446 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2447 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2448 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2449 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2450 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2451 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2452 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2453 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2454 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2455 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2456 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2457 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2458 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2459 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2460 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2461 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2462 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2463 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2464 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2465 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2466 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2467 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2468 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2469 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2470 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2471 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2472 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2473 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2474 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2475 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2476 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2477 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2478 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2479 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2480 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2481 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2482 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2483 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2484 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2485 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2486 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2487 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2488 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2489 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2490 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2491 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2492 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2493 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2494 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2495 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2496 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2497 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2498 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2499 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2500 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2501 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2502 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2503 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2504 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2505 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2506 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2507 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2508 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2509 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2510 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2511 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2512 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2513 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2514 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2515 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2516 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2517 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2518 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2519 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2520 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2521 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2522 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2523 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2524 <xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|
2525
|
|
2526 <xsl:call-template name="replaceCharsInString">
|
|
2527 <xsl:with-param name="stringIn" select="string($string-in)"/>
|
|
2528 <xsl:with-param name="charsIn" select="'é'"/>
|
|
2529 <xsl:with-param name="charsOut" select="'%C3%A9'"/>
|
|
2530 </xsl:call-template>
|
|
2531
|
|
2532 </xsl:with-param><xsl:with-param name="charsIn" select="'ÿ'"/><xsl:with-param name="charsOut" select="'%C3%BF'"/></xsl:call-template>
|
|
2533 </xsl:with-param><xsl:with-param name="charsIn" select="'þ'"/><xsl:with-param name="charsOut" select="'%C3%BE'"/></xsl:call-template>
|
|
2534 </xsl:with-param><xsl:with-param name="charsIn" select="'ý'"/><xsl:with-param name="charsOut" select="'%C3%BD'"/></xsl:call-template>
|
|
2535 </xsl:with-param><xsl:with-param name="charsIn" select="'ü'"/><xsl:with-param name="charsOut" select="'%C3%BC'"/></xsl:call-template>
|
|
2536 </xsl:with-param><xsl:with-param name="charsIn" select="'û'"/><xsl:with-param name="charsOut" select="'%C3%BB'"/></xsl:call-template>
|
|
2537 </xsl:with-param><xsl:with-param name="charsIn" select="'ú'"/><xsl:with-param name="charsOut" select="'%C3%BA'"/></xsl:call-template>
|
|
2538 </xsl:with-param><xsl:with-param name="charsIn" select="'ù'"/><xsl:with-param name="charsOut" select="'%C3%B9'"/></xsl:call-template>
|
|
2539 </xsl:with-param><xsl:with-param name="charsIn" select="'ø'"/><xsl:with-param name="charsOut" select="'%C3%B8'"/></xsl:call-template>
|
|
2540 </xsl:with-param><xsl:with-param name="charsIn" select="'÷'"/><xsl:with-param name="charsOut" select="'%C3%B7'"/></xsl:call-template>
|
|
2541 </xsl:with-param><xsl:with-param name="charsIn" select="'ö'"/><xsl:with-param name="charsOut" select="'%C3%B6'"/></xsl:call-template>
|
|
2542 </xsl:with-param><xsl:with-param name="charsIn" select="'õ'"/><xsl:with-param name="charsOut" select="'%C3%B5'"/></xsl:call-template>
|
|
2543 </xsl:with-param><xsl:with-param name="charsIn" select="'ô'"/><xsl:with-param name="charsOut" select="'%C3%B4'"/></xsl:call-template>
|
|
2544 </xsl:with-param><xsl:with-param name="charsIn" select="'ó'"/><xsl:with-param name="charsOut" select="'%C3%B3'"/></xsl:call-template>
|
|
2545 </xsl:with-param><xsl:with-param name="charsIn" select="'ò'"/><xsl:with-param name="charsOut" select="'%C3%B2'"/></xsl:call-template>
|
|
2546 </xsl:with-param><xsl:with-param name="charsIn" select="'ñ'"/><xsl:with-param name="charsOut" select="'%C3%B1'"/></xsl:call-template>
|
|
2547 </xsl:with-param><xsl:with-param name="charsIn" select="'ð'"/><xsl:with-param name="charsOut" select="'%C3%B0'"/></xsl:call-template>
|
|
2548 </xsl:with-param><xsl:with-param name="charsIn" select="'ï'"/><xsl:with-param name="charsOut" select="'%C3%AF'"/></xsl:call-template>
|
|
2549 </xsl:with-param><xsl:with-param name="charsIn" select="'î'"/><xsl:with-param name="charsOut" select="'%C3%AE'"/></xsl:call-template>
|
|
2550 </xsl:with-param><xsl:with-param name="charsIn" select="'í'"/><xsl:with-param name="charsOut" select="'%C3%AD'"/></xsl:call-template>
|
|
2551 </xsl:with-param><xsl:with-param name="charsIn" select="'ì'"/><xsl:with-param name="charsOut" select="'%C3%AC'"/></xsl:call-template>
|
|
2552 </xsl:with-param><xsl:with-param name="charsIn" select="'ë'"/><xsl:with-param name="charsOut" select="'%C3%AB'"/></xsl:call-template>
|
|
2553 </xsl:with-param><xsl:with-param name="charsIn" select="'ê'"/><xsl:with-param name="charsOut" select="'%C3%AA'"/></xsl:call-template>
|
|
2554 </xsl:with-param><xsl:with-param name="charsIn" select="'é'"/><xsl:with-param name="charsOut" select="'%C3%A9'"/></xsl:call-template>
|
|
2555 </xsl:with-param><xsl:with-param name="charsIn" select="'è'"/><xsl:with-param name="charsOut" select="'%C3%A8'"/></xsl:call-template>
|
|
2556 </xsl:with-param><xsl:with-param name="charsIn" select="'ç'"/><xsl:with-param name="charsOut" select="'%C3%A7'"/></xsl:call-template>
|
|
2557 </xsl:with-param><xsl:with-param name="charsIn" select="'æ'"/><xsl:with-param name="charsOut" select="'%C3%A6'"/></xsl:call-template>
|
|
2558 </xsl:with-param><xsl:with-param name="charsIn" select="'å'"/><xsl:with-param name="charsOut" select="'%C3%A5'"/></xsl:call-template>
|
|
2559 </xsl:with-param><xsl:with-param name="charsIn" select="'ä'"/><xsl:with-param name="charsOut" select="'%C3%A4'"/></xsl:call-template>
|
|
2560 </xsl:with-param><xsl:with-param name="charsIn" select="'ã'"/><xsl:with-param name="charsOut" select="'%C3%A3'"/></xsl:call-template>
|
|
2561 </xsl:with-param><xsl:with-param name="charsIn" select="'â'"/><xsl:with-param name="charsOut" select="'%C3%A2'"/></xsl:call-template>
|
|
2562 </xsl:with-param><xsl:with-param name="charsIn" select="'á'"/><xsl:with-param name="charsOut" select="'%C3%A1'"/></xsl:call-template>
|
|
2563 </xsl:with-param><xsl:with-param name="charsIn" select="'à'"/><xsl:with-param name="charsOut" select="'%C3%A0'"/></xsl:call-template>
|
|
2564 </xsl:with-param><xsl:with-param name="charsIn" select="'ß'"/><xsl:with-param name="charsOut" select="'%C3%9F'"/></xsl:call-template>
|
|
2565 </xsl:with-param><xsl:with-param name="charsIn" select="'Þ'"/><xsl:with-param name="charsOut" select="'%C3%9E'"/></xsl:call-template>
|
|
2566 </xsl:with-param><xsl:with-param name="charsIn" select="'Ý'"/><xsl:with-param name="charsOut" select="'%C3%9D'"/></xsl:call-template>
|
|
2567 </xsl:with-param><xsl:with-param name="charsIn" select="'Ü'"/><xsl:with-param name="charsOut" select="'%C3%9C'"/></xsl:call-template>
|
|
2568 </xsl:with-param><xsl:with-param name="charsIn" select="'Û'"/><xsl:with-param name="charsOut" select="'%C3%9B'"/></xsl:call-template>
|
|
2569 </xsl:with-param><xsl:with-param name="charsIn" select="'Ú'"/><xsl:with-param name="charsOut" select="'%C3%9A'"/></xsl:call-template>
|
|
2570 </xsl:with-param><xsl:with-param name="charsIn" select="'Ù'"/><xsl:with-param name="charsOut" select="'%C3%99'"/></xsl:call-template>
|
|
2571 </xsl:with-param><xsl:with-param name="charsIn" select="'Ø'"/><xsl:with-param name="charsOut" select="'%C3%98'"/></xsl:call-template>
|
|
2572 </xsl:with-param><xsl:with-param name="charsIn" select="'×'"/><xsl:with-param name="charsOut" select="'%C3%97'"/></xsl:call-template>
|
|
2573 </xsl:with-param><xsl:with-param name="charsIn" select="'Ö'"/><xsl:with-param name="charsOut" select="'%C3%96'"/></xsl:call-template>
|
|
2574 </xsl:with-param><xsl:with-param name="charsIn" select="'Õ'"/><xsl:with-param name="charsOut" select="'%C3%95'"/></xsl:call-template>
|
|
2575 </xsl:with-param><xsl:with-param name="charsIn" select="'Ô'"/><xsl:with-param name="charsOut" select="'%C3%94'"/></xsl:call-template>
|
|
2576 </xsl:with-param><xsl:with-param name="charsIn" select="'Ó'"/><xsl:with-param name="charsOut" select="'%C3%93'"/></xsl:call-template>
|
|
2577 </xsl:with-param><xsl:with-param name="charsIn" select="'Ò'"/><xsl:with-param name="charsOut" select="'%C3%92'"/></xsl:call-template>
|
|
2578 </xsl:with-param><xsl:with-param name="charsIn" select="'Ñ'"/><xsl:with-param name="charsOut" select="'%C3%91'"/></xsl:call-template>
|
|
2579 </xsl:with-param><xsl:with-param name="charsIn" select="'Ð'"/><xsl:with-param name="charsOut" select="'%C3%90'"/></xsl:call-template>
|
|
2580 </xsl:with-param><xsl:with-param name="charsIn" select="'Ï'"/><xsl:with-param name="charsOut" select="'%C3%8F'"/></xsl:call-template>
|
|
2581 </xsl:with-param><xsl:with-param name="charsIn" select="'Î'"/><xsl:with-param name="charsOut" select="'%C3%8E'"/></xsl:call-template>
|
|
2582 </xsl:with-param><xsl:with-param name="charsIn" select="'Í'"/><xsl:with-param name="charsOut" select="'%C3%8D'"/></xsl:call-template>
|
|
2583 </xsl:with-param><xsl:with-param name="charsIn" select="'Ì'"/><xsl:with-param name="charsOut" select="'%C3%8C'"/></xsl:call-template>
|
|
2584 </xsl:with-param><xsl:with-param name="charsIn" select="'Ë'"/><xsl:with-param name="charsOut" select="'%C3%8B'"/></xsl:call-template>
|
|
2585 </xsl:with-param><xsl:with-param name="charsIn" select="'Ê'"/><xsl:with-param name="charsOut" select="'%C3%8A'"/></xsl:call-template>
|
|
2586 </xsl:with-param><xsl:with-param name="charsIn" select="'É'"/><xsl:with-param name="charsOut" select="'%C3%89'"/></xsl:call-template>
|
|
2587 </xsl:with-param><xsl:with-param name="charsIn" select="'È'"/><xsl:with-param name="charsOut" select="'%C3%88'"/></xsl:call-template>
|
|
2588 </xsl:with-param><xsl:with-param name="charsIn" select="'Ç'"/><xsl:with-param name="charsOut" select="'%C3%87'"/></xsl:call-template>
|
|
2589 </xsl:with-param><xsl:with-param name="charsIn" select="'Æ'"/><xsl:with-param name="charsOut" select="'%C3%86'"/></xsl:call-template>
|
|
2590 </xsl:with-param><xsl:with-param name="charsIn" select="'Å'"/><xsl:with-param name="charsOut" select="'%C3%85'"/></xsl:call-template>
|
|
2591 </xsl:with-param><xsl:with-param name="charsIn" select="'Ä'"/><xsl:with-param name="charsOut" select="'%C3%84'"/></xsl:call-template>
|
|
2592 </xsl:with-param><xsl:with-param name="charsIn" select="'Ã'"/><xsl:with-param name="charsOut" select="'%C3%83'"/></xsl:call-template>
|
|
2593 </xsl:with-param><xsl:with-param name="charsIn" select="'Â'"/><xsl:with-param name="charsOut" select="'%C3%82'"/></xsl:call-template>
|
|
2594 </xsl:with-param><xsl:with-param name="charsIn" select="'Á'"/><xsl:with-param name="charsOut" select="'%C3%81'"/></xsl:call-template>
|
|
2595 </xsl:with-param><xsl:with-param name="charsIn" select="'À'"/><xsl:with-param name="charsOut" select="'%C3%80'"/></xsl:call-template>
|
|
2596 </xsl:with-param><xsl:with-param name="charsIn" select="'¿'"/><xsl:with-param name="charsOut" select="'%C2%BF'"/></xsl:call-template>
|
|
2597 </xsl:with-param><xsl:with-param name="charsIn" select="'¾'"/><xsl:with-param name="charsOut" select="'%C2%BE'"/></xsl:call-template>
|
|
2598 </xsl:with-param><xsl:with-param name="charsIn" select="'½'"/><xsl:with-param name="charsOut" select="'%C2%BD'"/></xsl:call-template>
|
|
2599 </xsl:with-param><xsl:with-param name="charsIn" select="'¼'"/><xsl:with-param name="charsOut" select="'%C2%BC'"/></xsl:call-template>
|
|
2600 </xsl:with-param><xsl:with-param name="charsIn" select="'»'"/><xsl:with-param name="charsOut" select="'%C2%BB'"/></xsl:call-template>
|
|
2601 </xsl:with-param><xsl:with-param name="charsIn" select="'º'"/><xsl:with-param name="charsOut" select="'%C2%BA'"/></xsl:call-template>
|
|
2602 </xsl:with-param><xsl:with-param name="charsIn" select="'¹'"/><xsl:with-param name="charsOut" select="'%C2%B9'"/></xsl:call-template>
|
|
2603 </xsl:with-param><xsl:with-param name="charsIn" select="'¸'"/><xsl:with-param name="charsOut" select="'%C2%B8'"/></xsl:call-template>
|
|
2604 </xsl:with-param><xsl:with-param name="charsIn" select="'·'"/><xsl:with-param name="charsOut" select="'%C2%B7'"/></xsl:call-template>
|
|
2605 </xsl:with-param><xsl:with-param name="charsIn" select="'¶'"/><xsl:with-param name="charsOut" select="'%C2%B6'"/></xsl:call-template>
|
|
2606 </xsl:with-param><xsl:with-param name="charsIn" select="'µ'"/><xsl:with-param name="charsOut" select="'%C2%B5'"/></xsl:call-template>
|
|
2607 </xsl:with-param><xsl:with-param name="charsIn" select="'´'"/><xsl:with-param name="charsOut" select="'%C2%B4'"/></xsl:call-template>
|
|
2608 </xsl:with-param><xsl:with-param name="charsIn" select="'³'"/><xsl:with-param name="charsOut" select="'%C2%B3'"/></xsl:call-template>
|
|
2609 </xsl:with-param><xsl:with-param name="charsIn" select="'²'"/><xsl:with-param name="charsOut" select="'%C2%B2'"/></xsl:call-template>
|
|
2610 </xsl:with-param><xsl:with-param name="charsIn" select="'±'"/><xsl:with-param name="charsOut" select="'%C2%B1'"/></xsl:call-template>
|
|
2611 </xsl:with-param><xsl:with-param name="charsIn" select="'°'"/><xsl:with-param name="charsOut" select="'%C2%B0'"/></xsl:call-template>
|
|
2612 </xsl:with-param><xsl:with-param name="charsIn" select="'¯'"/><xsl:with-param name="charsOut" select="'%C2%AF'"/></xsl:call-template>
|
|
2613 </xsl:with-param><xsl:with-param name="charsIn" select="'®'"/><xsl:with-param name="charsOut" select="'%C2%AE'"/></xsl:call-template>
|
|
2614 </xsl:with-param><xsl:with-param name="charsIn" select="'¬'"/><xsl:with-param name="charsOut" select="'%C2%AC'"/></xsl:call-template>
|
|
2615 </xsl:with-param><xsl:with-param name="charsIn" select="'«'"/><xsl:with-param name="charsOut" select="'%C2%AB'"/></xsl:call-template>
|
|
2616 </xsl:with-param><xsl:with-param name="charsIn" select="'ª'"/><xsl:with-param name="charsOut" select="'%C2%AA'"/></xsl:call-template>
|
|
2617 </xsl:with-param><xsl:with-param name="charsIn" select="'©'"/><xsl:with-param name="charsOut" select="'%C2%A9'"/></xsl:call-template>
|
|
2618 </xsl:with-param><xsl:with-param name="charsIn" select="'¨'"/><xsl:with-param name="charsOut" select="'%C2%A8'"/></xsl:call-template>
|
|
2619 </xsl:with-param><xsl:with-param name="charsIn" select="'§'"/><xsl:with-param name="charsOut" select="'%C2%A7'"/></xsl:call-template>
|
|
2620 </xsl:with-param><xsl:with-param name="charsIn" select="'¦'"/><xsl:with-param name="charsOut" select="'%C2%A6'"/></xsl:call-template>
|
|
2621 </xsl:with-param><xsl:with-param name="charsIn" select="'¥'"/><xsl:with-param name="charsOut" select="'%C2%A5'"/></xsl:call-template>
|
|
2622 </xsl:with-param><xsl:with-param name="charsIn" select="'¤'"/><xsl:with-param name="charsOut" select="'%C2%A4'"/></xsl:call-template>
|
|
2623 </xsl:with-param><xsl:with-param name="charsIn" select="'£'"/><xsl:with-param name="charsOut" select="'%C2%A3'"/></xsl:call-template>
|
|
2624 </xsl:with-param><xsl:with-param name="charsIn" select="'¢'"/><xsl:with-param name="charsOut" select="'%C2%A2'"/></xsl:call-template>
|
|
2625 </xsl:with-param><xsl:with-param name="charsIn" select="'¡'"/><xsl:with-param name="charsOut" select="'%C2%A1'"/></xsl:call-template>
|
|
2626 </xsl:with-param><xsl:with-param name="charsIn" select="'Ÿ'"/><xsl:with-param name="charsOut" select="'%C5%B8'"/></xsl:call-template>
|
|
2627 </xsl:with-param><xsl:with-param name="charsIn" select="'ž'"/><xsl:with-param name="charsOut" select="'%C5%BE'"/></xsl:call-template>
|
|
2628 </xsl:with-param><xsl:with-param name="charsIn" select="'œ'"/><xsl:with-param name="charsOut" select="'%C5%93'"/></xsl:call-template>
|
|
2629 </xsl:with-param><xsl:with-param name="charsIn" select="'›'"/><xsl:with-param name="charsOut" select="'%E2%80%BA'"/></xsl:call-template>
|
|
2630 </xsl:with-param><xsl:with-param name="charsIn" select="'š'"/><xsl:with-param name="charsOut" select="'%C5%A1'"/></xsl:call-template>
|
|
2631 </xsl:with-param><xsl:with-param name="charsIn" select="'™'"/><xsl:with-param name="charsOut" select="'%E2%84%A2'"/></xsl:call-template>
|
|
2632 </xsl:with-param><xsl:with-param name="charsIn" select="'˜'"/><xsl:with-param name="charsOut" select="'%CB%9C'"/></xsl:call-template>
|
|
2633 </xsl:with-param><xsl:with-param name="charsIn" select="'—'"/><xsl:with-param name="charsOut" select="'%E2%80%94'"/></xsl:call-template>
|
|
2634 </xsl:with-param><xsl:with-param name="charsIn" select="'–'"/><xsl:with-param name="charsOut" select="'%E2%80%93'"/></xsl:call-template>
|
|
2635 </xsl:with-param><xsl:with-param name="charsIn" select="'•'"/><xsl:with-param name="charsOut" select="'%E2%80%A2'"/></xsl:call-template>
|
|
2636 </xsl:with-param><xsl:with-param name="charsIn" select="'”'"/><xsl:with-param name="charsOut" select="'%E2%80%9D'"/></xsl:call-template>
|
|
2637 </xsl:with-param><xsl:with-param name="charsIn" select="'“'"/><xsl:with-param name="charsOut" select="'%E2%80%9C'"/></xsl:call-template>
|
|
2638 </xsl:with-param><xsl:with-param name="charsIn" select="'’'"/><xsl:with-param name="charsOut" select="'%E2%80%99'"/></xsl:call-template>
|
|
2639 </xsl:with-param><xsl:with-param name="charsIn" select="'‘'"/><xsl:with-param name="charsOut" select="'%E2%80%98'"/></xsl:call-template>
|
|
2640 </xsl:with-param><xsl:with-param name="charsIn" select="'Ž'"/><xsl:with-param name="charsOut" select="'%C5%BD'"/></xsl:call-template>
|
|
2641 </xsl:with-param><xsl:with-param name="charsIn" select="'Œ'"/><xsl:with-param name="charsOut" select="'%C5%92'"/></xsl:call-template>
|
|
2642 </xsl:with-param><xsl:with-param name="charsIn" select="'‹'"/><xsl:with-param name="charsOut" select="'%E2%80%B9'"/></xsl:call-template>
|
|
2643 </xsl:with-param><xsl:with-param name="charsIn" select="'Š'"/><xsl:with-param name="charsOut" select="'%C5%A0'"/></xsl:call-template>
|
|
2644 </xsl:with-param><xsl:with-param name="charsIn" select="'‰'"/><xsl:with-param name="charsOut" select="'%E2%80%B0'"/></xsl:call-template>
|
|
2645 </xsl:with-param><xsl:with-param name="charsIn" select="'ˆ'"/><xsl:with-param name="charsOut" select="'%CB%86'"/></xsl:call-template>
|
|
2646 </xsl:with-param><xsl:with-param name="charsIn" select="'‡'"/><xsl:with-param name="charsOut" select="'%E2%80%A1'"/></xsl:call-template>
|
|
2647 </xsl:with-param><xsl:with-param name="charsIn" select="'†'"/><xsl:with-param name="charsOut" select="'%E2%80%A0'"/></xsl:call-template>
|
|
2648 </xsl:with-param><xsl:with-param name="charsIn" select="'…'"/><xsl:with-param name="charsOut" select="'%E2%80%A6'"/></xsl:call-template>
|
|
2649 </xsl:with-param><xsl:with-param name="charsIn" select="'„'"/><xsl:with-param name="charsOut" select="'%E2%80%9E'"/></xsl:call-template>
|
|
2650 </xsl:with-param><xsl:with-param name="charsIn" select="'ƒ'"/><xsl:with-param name="charsOut" select="'%C6%92'"/></xsl:call-template>
|
|
2651 </xsl:with-param><xsl:with-param name="charsIn" select="'‚'"/><xsl:with-param name="charsOut" select="'%E2%80%9A'"/></xsl:call-template>
|
|
2652 </xsl:with-param><xsl:with-param name="charsIn" select="'€'"/><xsl:with-param name="charsOut" select="'%E2%82%AC'"/></xsl:call-template>
|
|
2653 </xsl:template>
|
|
2654
|
0
|
2655 </xsl:stylesheet> |