This repository has been archived by the owner on Apr 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modx.prosilver.en.xsl
2737 lines (2532 loc) · 108 KB
/
modx.prosilver.en.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!-- MODX by the phpBB MOD Team XSL file v1.2.4 copyright 2005-2010 the phpBB MOD Team.
This file is released under the GNU GPL version 2. See license.txt.
$Id: modx.prosilver.en.xsl 211 2010-02-27 20:05:11Z tumba25 $ -->
<!DOCTYPE xsl:stylesheet[
<!ENTITY nbsp " ">
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:mod="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
<xsl:variable name="version">
<xsl:for-each select="mod:mod/mod:header/mod:mod-version">
<xsl:value-of select="current()" />
</xsl:for-each>
</xsl:variable>
<xsl:template match="mod:mod">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
/* phpBB 3.0 Admin Style Sheet
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
Original author: subBlue ( http://www.subblue.com/ )
Copyright 2007 phpBB Group ( https://www.phpbb.com/ )
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*/
/* General markup styles
––––––––––––––––––––––––––––––*/
* {
/* Reset browsers default margin, padding and font sizes */
margin:0;
padding:0;
font-size:100%;
}
/*.rtl * {
text-align:right;
direction: rtl;
}*/
body, div, p, th, td, li, dd {
font-size:x-small;
voice-family:"\"}\"";
voice-family:inherit;
font-size:100%;
}
html>body, html>div, html>p, html>th, html>td, html>li, html>dd {
font-size:small
}
html {
color:#536482;
background:#DBD7D1;
/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-ie browsers */
height:100%;
margin-bottom:1px;
}
body {
/* Text-Sizing with ems:http://www.clagnut.com/blog/348/ */
font-family:"Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
color:#536482;
background:#DBD7D1;
font-size:82.5%; /* This sets the default font size to be equivalent to 10px */
margin:10px 15px;
}
img {
border:0;
}
h1 {
font-family:"Trebuchet MS", Helvetica, sans-serif;
font-size:1.70em;
font-weight:normal;
color:#333333;
}
h2, caption {
font-family:"Trebuchet MS", Helvetica, sans-serif;
font-size:1.40em;
font-weight:normal;
color:#115098;
text-align:left;
margin-top:25px;
}
.rtl h2, .rtl caption {
text-align:right;
}
h3, h4, h5 {
font-family:"Trebuchet MS", Helvetica, sans-serif;
font-size:1.20em;
text-decoration:none;
line-height:1.20em;
margin-top:10px;
}
p {
margin-bottom:0.7em;
line-height:1.40em;
font-size:1.0em;
}
ul {
list-style:disc;
margin:0 0 1em 2em;
}
.rtl ul {
margin:0 2em 1em 0;
}
hr {
border:0 none;
border-top:1px dashed #999999;
margin-bottom:5px;
padding-bottom:5px;
height:1px;
}
.small {
font-size:0.85em;
}
/* General links */
a:link, a:visited {
color:#105289;
text-decoration:none;
}
a:link:hover {
color:#BC2A4D;
text-decoration:underline;
}
a:active {
color:#368AD2;
text-decoration:none;
}
/* Main blocks
––––––––––––––––––––––––––––––––––––––––*/
#wrap {
padding:0 0 15px 0;
min-width:615px;
}
#page-header {
clear:both;
text-align:right;
background:url(data:image/gif;base64,R0lGODlhiwAwAPf/AMG+uerr7b66tf38/aWint3g4dbSzZaUkefs7+/u7a2qpuHf2tTQyrm2sc7T1bzBxKimoePi4djUz6Wkofb4+ubm5urv8evq6J2bmOjq7N3a1K6sqNDU1/L09rGuqo6MitDMx7m+wcLExejm4318ebS5vNTZ3Pr6+u7w8tbY2PHz9JKQjd/e3e3s69LOyKqopLSxrfj6+pyZlc7KxW1raezv8HV0coWDgeTn6NrW0MTFxeDl6NPW2OXo6np5duHg37a1srKvq8zQ08zOztrd3+no5/n7/JiWk76+vuDk5tbW1ubk4JCNiuXi3crO0KKgnHJxbuLk5t3f4cnNzsjEv+7w8bGxsL+9usXEwv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7FgH2gAL/cAAASmQBGmQCKmQC9mQDylrU7EKHLkKFBAKAMAAp0ALm8COHrAJAsAFnYBPt5IKpIBsKxkRUPSS/RCTG9mRH/8ZkiNZkhtwkikZkzLJAGcwA8jWD0bZD5/QCangRBMBRUNZlEeZlEt5UOHCClbJCjEAkv8ARSDwCZqADCDAACwZHvBylViplVzplWAplmRJllOBCnCJClkZaG35EG8Zl3NZl3oZKglQCn5ZCnm5l1LRl38ZmIKpl5pQDtAQC4xpBFp5mAghBorJmLHgmHQJmaLRCRBQAbLQmZaJmQdxCpvZmbLwmaBJlgzQAAcABkRQmmjQRqdJEKm5mq1pBK8Zm+FxCTOwi0+QB/sgAH6Im5S0mxDQm78ZnMJZGBIwA7RQBxsAA/SgjMK5nM35nNGZnMBxCQzQCZowAxCJnQKhndwI6Z0RCZ4YERAAOw==) top left no-repeat;
height:69px;
font-size:0.85em;
margin-bottom:10px;
}
.rtl #page-header {
text-align:left;
background:top right no-repeat;
}
#page-header h1 {
color:#767676;
font-family:"Trebuchet MS",Helvetica,sans-serif;
font-size:1.70em;
padding-top:10px;
}
#page-header p {
font-size:1.00em;
}
#page-body {
clear:both;
min-width:700px;
}
#page-footer {
clear:both;
font-size:0.75em;
text-align:center;
}
#content {
padding:0 10px 10px 10px;
position:relative;
}
#content h1 {
color:#115098;
line-height:1.2em;
margin-bottom:0;
}
#main {
width:100%;
margin:0;
min-height:350px;
}
.rtl #main {
float:right;
margin:0;
}
* html #main {
height:350px;
}
/* Main Panel
–––––––––––––––––––––––––––––––––––––––– */
#acp {
margin:4px 0;
padding:3px 1px;
min-width:550px;
background-color:#FFFFFF;
border:1px #999999 solid;
}
.panel {
background:#F3F3F3 url(data:image/gif;base64,R0lGODlhBQAiAfcAAPLy8t7h5Nzf4/Pz8+zt7vHx8uLk5+Xn6e3u79ve4u/v8PHx8d3f4/Dw8d/i5ejp693g4+nq7OPl6PDx8evs7ebo6uTm6N3g5Orr7dze4u/w8ODi5eHj5t/h5ers7fLz8+v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0T53OvwRPoa4A+DjjAj8Mf8scvP/t/2I/D+TyoXwMGqAH68aABB+SBAhGIAwU2AgcasMMAJ9CACVgQBwMcoAQtOMEKZpCCIKygHyawADBY8IQkLEADCjCBAizAhQtYACL8AAYYlrCFMXRhAVYQwxiC4YU7LIAOma+gwxzu8AoxfIMQAUBEIrqwB0KEIhQBAAA6FKAHVtzhAq6wgjesoAdfLAAAVrACAIixBz0YIxXHmAcqpnGNZVxjG+O4RhRQ0Y5rzCMAPgAAFBzhAyjgIyABqYUPABIAAxDDEVDAyCMMYAoD0MIAAHAERxpykQAQwyMHwEkUDOADkTzCFCT5yVJ+QAyA3CQkQcnJVnKSla4MCAA7) repeat-x top;
padding:0;
}
span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span {
font-size:1px;
line-height:1px;
display:block;
height:5px;
background-repeat:no-repeat;
}
span.corners-top, span.corners-bottom {
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==);
}
span.corners-top span, span.corners-bottom span {
background-image:url(data:image/gif;base64,R0lGODlhBgAMAMQWAP///9vX0fPz85mZmdzc3Jqamtvb28vIw7y6t62sqsvIxPX19bKysqmop/T09Pb29pycnJ+fnp2dnKCgn/n5+fr6+v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABYALAAAAAAGAAwAAAUs4DAlRxAADsEggfAAQqFYNGA0tLVQUi4AAx8w56hAcraGCyYDLFSsQYRkCgEAOw==);
}
span.corners-top {
background-position:0 0;
margin:-4px -2px 0;
}
span.corners-top span {
background-position:100% 0;
}
span.corners-bottom {
background-position:0 100%;
margin:0 -2px -4px;
clear:both;
}
span.corners-bottom span {
background-position:100% 100%;
}
/* General form styles
––––––––––––––––––––––––––––––––––––––––*/
fieldset {
margin:25px 0;
padding:1px 0;
border-top:1px solid #D7D7D7;
border-right:1px solid #CCCCCC;
border-bottom:1px solid #CCCCCC;
border-left:1px solid #D7D7D7;
background-color:#FFFFFF;
position:relative;
}
.rtl fieldset {
border-top:1px solid #D7D7D7;
border-right:1px solid #D7D7D7;
border-bottom:1px solid #CCCCCC;
border-left:1px solid #CCCCCC;
}
* html fieldset {
padding:0 10px 5px 10px;
}
fieldset p {
font-size:1.0em;
}
legend {
padding:1px 5px;
font-family:Tahoma,arial,Verdana,Sans-serif;
font-size:1.06em;
font-weight:bold;
color:#115098;
margin-top:-.4em;
position:relative;
/* text-transform:capitalize;*/
line-height:1.00em;
top:0;
vertical-align:middle;
}
/* Hide from macIE \*/
legend { top:-1.2em; }
/* end */
* html legend {
margin-bottom:-10px;
margin-left:-7px;
}
/* Holly hack, .rtl comes after html */
* html .rtl legend {
margin:0;
margin-right:-7px;
}
optgroup, select {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 0.85em;
font-weight: normal;
font-style: normal;
cursor: pointer;
vertical-align: middle;
width: auto;
}
optgroup {
font-size: 1.00em;
font-weight: bold;
}
option {
padding:0 1em 0 0;
}
.rtl option {
padding:0 0 0 1em;
}
fieldset.nobg {
margin:15px 0 0 0;
padding:0;
border:none;
background-color:transparent;
}
/* MOD-ABOUT STUFFS ~smithy_dll */
.mod-about {
background-color:#CADCEB;
/*width:100%;*/
}
.mod-about span.corners-top, .mod-about span.corners-bottom, .mod-about span.corners-top span, .mod-about span.corners-bottom span {
font-size:1px;
line-height:1px;
display:block;
height:5px;
background-repeat:no-repeat;
}
.mod-about span.corners-top, .mod-about span.corners-bottom {
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABVSURBVHjaYviPAD+BeDIQ2wMxGwNU8AkQGwAxAwwzQFXqIgvCJCajC8IkbLBJMIItYmD4xYAGmBhwAJCEMS6JcKxa8DkX5kFdbBKwIJkADRIGgAADAGtyotIvyqGpAAAAAElFTkSuQmCC);
}
.mod-about span.corners-top span, .mod-about span.corners-bottom span { background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABbSURBVHjaYvr//z8bENsD8WQg/vkfChjQsAEQPwFJMDGgggtA7AnEv9AlQOAyEM/CJgECK3FJnMIlwYZLQheXRDg2CV0gzmTCIrgd2Q4bIJ4AxGeAWBokABBgAE4XMoXm9S+UAAAAAElFTkSuQmCC);
}
.mod-about span.corners-top {
background-position:0 0;
margin:0 0;
}
.mod-about span.corners-top span {
background-position:100% 0;
}
.mod-about span.corners-bottom {
background-position:0 100%;
margin:0 0;
clear:both;
}
.mod-about span.corners-bottom span {
background-position:100% 100%;
}
.mod-about-padding { padding: 0 8px; }
.mod-about { margin:7px 4px 10px 4px; }
.mod-about dt { font-weight:bold; padding-right:4px; }
.rtl .mod-about dt { padding-left: 4px; }
.mod-about dl { margin:0 8px; }
.mod-about div { margin:3px 8px;}
/*div.inner .mod-about dl { margin:0; }*/
/*.nopadding { margin:0; }*/
.mod-history {font-size:82.5%; } /* Mod histories can get pretty long, so I'm making that font a bit smaller */
#language { width:130px; }
#modDisclaimer .mod-about, #other-notes.mod-about { background-color:#EECCCC; }
#other-notes.mod-about strong.red { color:#DD3333; }
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; }
.mod-edit { background-color:#D6E6F6; border:solid 1px #336699; margin:10px 0; padding:0 10px; }
.mod-inlineedit { background-color:#DDEEFF; border:solid 1px #6699CC; margin:10px 0; padding:0 10px; }
dl.author-info dd { margin-left:112px; margin-bottom:8px; }
.rtl dl.author-info dd { margin-left:112px; margin-bottom:8px; }
ol#file-copy, ol#file-delete { padding:5px; margin-left:20px; margin-right:20px; margin-bottom:10px; }
ol#file-copy li, ol#file-delete li { margin-left:30px; margin-right:30px; vertical-align:top;}
ol#file-copy span, ol#file-delete span { font-weight:bold; }
ol#file-copy dt, ol#file-delete dt {margin-right:5px; float:none !important }
ol#file-copy dl, ol#file-delete dl {width:100%}
h2#lang-fca, h2#lang-edts, h2#lang-diy, h2#lang-sql, h2#lang-installer-h2, h2#lang-del-head { margin-left:5px; }
/* Code block */
div.codebox {
padding:3px;
background-color:#FFFFFF;
border:1px solid #d8d8d8;
font-size:1em;
}
div.codebox div.codeHead {
text-transform:uppercase;
border-bottom:1px solid #CCCCCC;
margin-bottom:3px;
font-size:0.8em;
font-weight:bold;
display:block;
}
div.codebox div.codeHead a.codeSelect {
padding-left:5px;
}
blockquote div.codebox {
margin-left:0;
}
div.codebox pre {
/* Also see tweaks.css */
width:100%;
overflow-x:scroll;
display:block;
height:auto;
max-height:200px;
/*white-space:normal;*/
padding-top:5px;
font:0.9em Monaco, "Andale Mono","Courier New", Courier, mono;
line-height:1.3em;
color:#606060;
margin:2px 0;
}
/*.rtl div.codePre pre {
text-align: left !important;
direction: ltr !important;
}*/
dt {
float: left;
width:auto;
}
.rtl dt {
float: right !important;
text-align: right;
width:auto;
}
dd { color:#666666; }
dd + dd { padding-top: 5px; }
dt span { padding: 0 5px 0 0; }
.rtl dt span { padding: 0 0 0 5px; }
div.endMOD { padding:0 5px; }
#history_toggle_link {
display:block;
}
.edit_toggle_link {
display:block;
text-align:right;
margin-bottom:2px;
}
</style>
<title>phpBB MOD » <xsl:value-of select="$title" /></title>
<script type="text/javascript">
var i = 0;
/* passed from xslt */
<xsl:for-each select="mod:header">
<xsl:for-each select="mod:author-group">
var authors_ll = [];
<xsl:for-each select="mod:author">
authors_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
</xsl:for-each>
var mhes_ll = [];
var mhcls_ll = [];
<xsl:for-each select="mod:history/mod:entry">
mhes_ll.push('<xsl:value-of select="generate-id()"/>');
<xsl:if test="count(mod:changelog) > 1">
mhcls_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
</xsl:for-each>
var link_ll = [];
<xsl:for-each select="mod:link-group/mod:link">
link_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
</xsl:for-each>
var opens_ll = [];
<xsl:for-each select="mod:action-group/mod:open">
opens_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
var codes_ll = [];
<xsl:for-each select="mod:action-group/mod:sql">
codes_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
var edits_ll = [];
<xsl:for-each select="mod:action-group/mod:open/mod:edit">
edits_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
var finds_ll = [];
var removes_ll = [];
var regex_ll = [];
var ifinds_ll = [];
var iremoves_ll = [];
var iregex_ll = [];
var addafters_ll = [];
var iaddafters_ll = [];
var addbefores_ll = [];
var iaddbefores_ll = [];
var replacewiths_ll = [];
var ireplacewiths_ll = [];
var increments_ll = [];
var iincrements_ll = [];
var comments_ll = [];
<xsl:for-each select="mod:action-group/mod:open/mod:edit">
<xsl:for-each select="mod:find">
finds_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
<xsl:for-each select="mod:remove">
removes_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
<xsl:if test="count(mod:comment) > 0">
comments_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
<xsl:for-each select="mod:find|mod:action">
codes_ll.push('<xsl:value-of select="generate-id()"/>');
<xsl:if test="name() = 'action'">
<xsl:if test="@type = 'after-add'">
addafters_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
<xsl:if test="@type = 'before-add'">
addbefores_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
<xsl:if test="@type = 'replace-with'">
replacewiths_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
<xsl:if test="@type = 'operation'">
increments_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="mod:inline-edit">
<xsl:for-each select="mod:inline-find">
ifinds_ll.push('<xsl:value-of select="generate-id()"/>');
<xsl:if test="@type = 'regex'">
iregex_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
</xsl:for-each>
<xsl:for-each select="mod:inline-remove">
iremoves_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
<xsl:for-each select="mod:inline-find|mod:inline-action">
codes_ll.push('<xsl:value-of select="generate-id()"/>');
<xsl:if test="name() = 'inline-action'">
<xsl:if test="@type = 'after-add'">
iaddafters_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
<xsl:if test="@type = 'before-add'">
iaddbefores_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
<xsl:if test="@type = 'replace-with'">
ireplacewiths_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
<xsl:if test="@type = 'operation'">
iincrements_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
<xsl:for-each select="mod:action-group/mod:diy-instructions">
codes_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
var copies_ll = [];
<xsl:for-each select="mod:action-group/mod:copy/mod:file">
copies_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
var delete_ll = [];
<xsl:for-each select="mod:action-group/mod:delete/mod:file">
delete_ll.push('<xsl:value-of select="generate-id()"/>');
</xsl:for-each>
<xsl:text disable-output-escaping="yes">
<![CDATA[
// The following line from http://www.ryancooper.com/resources/keycode.asp
document.onkeydown = mod_do_keypress;
var host = "https://www.phpbb.com/mods/modx/i18n/";
var enStrings = "dir=ltr\n" +
"h1=Installation instructions for\n" +
"edt-show=Show >>\n" +
"edt-hide=<< Hide\n" +
"V=version\n" +
"t=Title:\n" +
"d=Description:\n" +
"aV=Version:\n" +
"mint=minutes\n" +
"it=Installation time:\n" +
"il=Installation level:\n" +
"ile=Easy\n" +
"ili=Intermediate\n" +
"ila=Advanced\n" +
"au=Author\n" +
"aus=Authors\n" +
"a-un=Username:\n" +
"a-e=Email:\n" +
"a-n=Name:\n" +
"a-h=WWW:\n" +
"a-git=Github:\n" +
"a-c=Contributions:\n" +
"a-c-f=From\n" +
"a-c-t=to\n" +
"a-c-s=Since\n" +
"fte=Files to edit\n" +
"icf=Included files\n" +
"icfn=No files have been included with this MOD.\n" +
"dcl=Disclaimer\n" +
"dclt=For security purposes, please check: <a href=\"https://www.phpbb.com/mods/\">https://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=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a>\n" +
"isp=and English support\n" +
"ispt=English support can be obtained at <a href=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a> for released MODs.\n" +
"ant=Author notes:\n" +
"lic=License\n" +
"lict=This MOD has been licensed under the following license:\n" +
"ont=and other notes\n" +
"ontt1=Before adding this MOD to your forum, you should back up all files and databases related to this MOD.\n" +
"ontt2=This MOD was designed for phpBB\n" +
"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" +
"onttq=This MOD is development quality. It is not recommended that you install it on a live forum.\n" +
"sql=SQL\n" +
"fca=File copy\n" +
"c-copy=Copy:\n" +
"c-to=To:\n" +
"cde-c=Code:\n" +
"cde-sa=Select all\n" +
"edts=Edits\n" +
"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" +
"opn=Open:\n" +
"cm-cmt=Comments\n" +
"fnd=Find\n" +
"fndt=<strong>Tip:</strong> This may be a partial find and not the whole line.\n" +
"remove=Find and Delete\n" +
"removet=<strong>Tip:</strong> Find and delete this code.\n" +
"rplw=Replace with\n" +
"rplwt=<strong>Tip:</strong> Replace the preceding line(s) to find with the following lines.\n" +
"aft=Add after\n" +
"aftt=<strong>Tip:</strong> Add these lines on a new blank line after the preceding line(s) to find.\n" +
"bef=Add before\n" +
"beft=<strong>Tip:</strong> Add these lines on a new blank line before the preceding line(s) to find.\n" +
"inc=Operation\n" +
"inct=<strong>Tip:</strong> This allows you to alter integers.\n" +
"ifnd=In-line Find\n" +
"ifndt=<strong>Tip:</strong> This is a partial match of a line for in-line operations.\n" +
"iremove=In-line Find and Delete\n" +
"iremovet=<strong>Tip:</strong> Find this code in the line and delete it.\n" +
"irplw=In-line Replace with\n" +
"irplwt=\n" +
"iaft=In-line Add after\n" +
"iaftt=\n" +
"ibef=In-line Add before\n" +
"ibeft=\n" +
"iinc=In-line Operation\n" +
"iinct=<strong>Tip:</strong> This allows you to alter integers.\n" +
"diy=DIY instructions\n" +
"diyt=These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.\n" +
"eom=Save all files. End of MOD.\n" +
"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" +
"slg=Select language:\n" +
"dbms=Select Database Type:\n" +
"foot=MOD UA XSLT File Copyright © 2007 The phpBB Group, this MOD is copyright to the authors listed above.\n" +
"regex=This find contains an advanced feature known as regular expressions.\n" +
"mhe-v=- Version\n" +
"mh=MOD history\n" +
"addtl-modx=Additional file(s)\n" +
"imn=This MOD has no additional file(s).\n" +
"link-c=Contrib\n" +
"link-d=Dependency\n" +
"link-l=Language\n" +
"link-p=Parent\n" +
"link-te=Template\n" +
"link-txt=Text file\n" +
"link-tl=Template lang\n" +
"link-un=Uninstall instructions\n" +
"installer-h2=PHP install file\n" +
"installer-exp1=There is a PHP install file that needs to be run in order to complete the installation.\n" +
"installer-exp2=To run it point your browser to, for example,\n" +
"ispt-int=Support in your language <strong>might</strong> be available at a <a href=\"https://www.phpbb.com/support/intl/\">international support site</a>.\n" +
"del-heads=Delete files\n" +
"del-head=Delete file\n" +
"del-file=Delete\n" +
"atm=About this MOD";
var box = codes_ll;
var currentLanguage = "en";
var languagesLoaded = false;
var languages = ['en'];
var arrClasCnt = [
['a-' , authors_ll ],
['c-' , copies_ll ],
['del-' , delete_ll ],
['cm-' , comments_ll ],
['opn' , opens_ll ],
['cde-' , codes_ll ],
['edt-' , edits_ll ],
['fnd' , finds_ll ],
['rem' , removes_ll ],
['regex', regex_ll ],
['rplw' , replacewiths_ll ],
['aft' , addafters_ll ],
['bef' , addbefores_ll ],
['inc' , increments_ll ],
['ifnd' , ifinds_ll ],
['irem' , iremoves_ll ],
['regex', iregex_ll ],
['irplw', ireplacewiths_ll ],
['iaft' , iaddafters_ll ],
['ibef' , iaddbefores_ll ],
['iinc' , iincrements_ll ],
['mhe' , mhes_ll ],
['link', link_ll]
];
function startup()
{
sql_dropdown();
change_dbms();
changeLanguage(currentLanguage);
document.getElementById('lang-selector').style.display = "block";
init_mod_history();
}
function changeLanguage(langCode)
{
langCode = langCode.toLowerCase();
currentLanguage = langCode.split('-')[0];
if (currentLanguage.toLowerCase() != 'en') // if change, only include up to first dash
{
load_language();
}
else
{
applyLanguage(enStrings.split("\n"));
}
xslLanguage(langCode);
show_title(langCode);
}
function load_languages()
{
if (languagesLoaded)
{
return;
}
languagesLoaded = true;
$divname = document.getElementById('language');
var loadingItem = document.createElement('option');
$divname.appendChild(loadingItem);
loadingItem.innerHTML = 'Loading...';
$divname.remove(0);
$output = 'load_languages';
cachernd = parseInt(Math.random() * 99999999); // cache
send('', host + 'languages.txt?rnd=' + cachernd);
}
function load_language()
{
$output = 'load_language';
cachernd = parseInt(Math.random() * 99999999); // cache
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
}
/**
* From http://stackoverflow.com/questions/1280903/javascript-ie-and-getelementsbyclassname-problems/8472488#8472488
*/
if (typeof document.getElementsByClassName != 'function')
{
document.getElementsByClassName = function()
{
var elms = document.getElementsByTagName('*');
var ei = new Array();
for (i = 0; i < elms.length; i++)
{
if (elms[i].getAttribute('class'))
{
ecl = elms[i].getAttribute('class').split(' ');
for (j = 0; j < ecl.length; j++)
{
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
{
ei.push(elms[i]);
}
}
}
else if (elms[i].className)
{
ecl = elms[i].className.split(' ');
for (j = 0; j < ecl.length; j++)
{
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
{
ei.push(elms[i]);
}
}
}
}
return ei;
}
}
function show_title(langCode)
{
var sel_title = document.getElementById('title-' + langCode);
if (sel_title == null)
{
// A title in English is required.
sel_title = document.getElementById('title-en')
if (sel_title == null)
{
// No title in English or the selected language.
return;
}
}
var hide_title = document.getElementsByClassName('hide-title');
for (var i = 0; i < hide_title.length; i++)
{
hide_title[i].style.display='none';
}
sel_title.style.display='inline';
document.title = "phpBB MOD » " + sel_title.innerHTML;
}
/*****************
* AJAX Functions *
*****************/
var $xmlhttp = http_object();
var $finished = 0;
var $send_queue = [];
var $running = false;
var $divname;
var $newform;
var $newurl;
var $output;
function http_object()
{
if (window.XMLHttpRequest)
{
return new XMLHttpRequest();
}
else if (window.ActiveXObject)
{
return new ActiveXObject("Microsoft.XMLHTTP");
}
}
function send($action, $url, $form, $div, $clear)
{
$newform = $form;
$newurl = $url;
$send_queue.push("handle_send($newurl, $newform)");
if (!$running)
{
run_ajax();
}
return;
}
function run_ajax()
{
$running = true;
for ($i = 0; $i < $send_queue.length; $i++)
{
if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0)
{
eval($send_queue[$i]);
}
else
{
$xmlhttp.onreadystatechange = check_state;
}
}
}
function check_state()
{
if ($xmlhttp.readyState == 4 || $xmlhtt.readyState == 0)
{
eval($send_queue[$finished]);
}
else
{
$xmlhttp.onreadystatechange = check_state;
}
}
function handle_send($url, $f)
{
if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0)
{
$param = '';
try
{
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
$allowed = true;
}
catch (e)
{}
try
{
$xmlhttp.open('POST', $url, true);
$xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
$xmlhttp.onreadystatechange = handle_return;
$xmlhttp.send($param);
}
catch (e)
{
$divname = document.getElementById('language');
var loadingItem = document.createElement('option');
$divname.appendChild(loadingItem);
loadingItem.innerHTML = 'Unavailable';
$divname.remove(0);
$divname.disabled = true;
}
}
return;
}
function handle_return()
{
if ($xmlhttp.readyState == 4)
{
ajax_output($xmlhttp.responseText);
$finished++;
if ($send_queue[$finished])
{
check_state();
}
else
{
$send_queue = [];
$finished = 0;
$running = false;
}
}
return;
}
/*********************