Mercurial > repos > phpBB-MODs > Multi_Race_Rank_Themes
annotate modx.prosilver.en.xsl @ 22:9151384c286e
* Rename "themes" folders to "theme" to match standard folders (even though it wasn't picked up in 1.2 release)
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 12 Feb 2010 20:28:00 +0000 |
parents | 51084c02e981 |
children | 536903c5733c |
rev | line source |
---|---|
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2 <!-- MODX by the phpBB MOD Team XSL file v1.2.3 copyright 2005-2009 the phpBB MOD Team. |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 This file is released under the GNU GPL version 2. See license.txt. |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
4 $Id: modx.prosilver.en.xsl 3407 2009-10-26 01:49:01Z Raimon $ --> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 <!DOCTYPE xsl:stylesheet[ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 <!ENTITY nbsp " "> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 ]> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
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.3.xsd"> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 <xsl:output method="html" omit-xml-declaration="no" indent="yes" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 <xsl:variable name="title" select="mod:mod/mod:header/mod:title" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 <xsl:variable name="version"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
12 <xsl:for-each select="mod:mod/mod:header/mod:mod-version"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
13 <xsl:value-of select="current()" /> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
14 </xsl:for-each> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 </xsl:variable> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
16 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 <xsl:template match="mod:mod"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 <html xmlns="http://www.w3.org/1999/xhtml"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 <head> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 <meta http-equiv="Content-Language" content="en" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 <style type="text/css"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 /* phpBB 3.0 Admin Style Sheet |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 Original author: subBlue ( http://www.subblue.com/ ) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 Copyright 2007 phpBB Group ( http://www.phpbb.com/ ) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 /* General markup styles |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 ––––––––––––––––––––––––––––––*/ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 * { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 /* Reset browsers default margin, padding and font sizes */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 margin:0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 padding:0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 font-size:100%; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
39 /*.rtl * { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
40 text-align:right; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
41 direction: rtl; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
42 }*/ |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
43 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 body, div, p, th, td, li, dd { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 font-size:x-small; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 voice-family:"\"}\""; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 voice-family:inherit; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 font-size:100%; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
49 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 html>body, html>div, html>p, html>th, html>td, html>li, html>dd { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 font-size:small |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 html { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 color:#536482; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 background:#DBD7D1; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-ie browsers */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 height:100%; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 margin-bottom:1px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
63 body { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 /* Text-Sizing with ems:http://www.clagnut.com/blog/348/ */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 font-family:"Lucida Grande", Verdana, Helvetica, Arial, sans-serif; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 color:#536482; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 background:#DBD7D1; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
68 font-size:82.5%; /* This sets the default font size to be equivalent to 10px */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 margin:10px 15px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
72 img { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 border:0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
75 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
76 h1 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
77 font-family:"Trebuchet MS", Helvetica, sans-serif; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
78 font-size:1.70em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
79 font-weight:normal; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
80 color:#333333; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
81 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
82 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
83 h2, caption { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
84 font-family:"Trebuchet MS", Helvetica, sans-serif; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
85 font-size:1.40em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
86 font-weight:normal; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 color:#115098; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 text-align:left; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 margin-top:25px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
92 .rtl h2, .rtl caption { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 text-align:right; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 h3, h4, h5 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 font-family:"Trebuchet MS", Helvetica, sans-serif; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
98 font-size:1.20em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 text-decoration:none; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 line-height:1.20em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
101 margin-top:10px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
102 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
104 p { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
105 margin-bottom:0.7em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
106 line-height:1.40em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
107 font-size:1.0em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
108 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
110 ul { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
111 list-style:disc; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
112 margin:0 0 1em 2em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
113 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
114 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
115 .rtl ul { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
116 margin:0 2em 1em 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
117 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
118 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
119 hr { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
120 border:0 none; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
121 border-top:1px dashed #999999; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
122 margin-bottom:5px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 padding-bottom:5px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 height:1px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
125 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
126 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
127 .small { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
128 font-size:0.85em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
129 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
130 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
131 /* General links */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
132 a:link, a:visited { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
133 color:#105289; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
134 text-decoration:none; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
135 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
136 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
137 a:link:hover { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
138 color:#BC2A4D; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
139 text-decoration:underline; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
140 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
141 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
142 a:active { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
143 color:#368AD2; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
144 text-decoration:none; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
145 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
146 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
147 /* Main blocks |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
148 ––––––––––––––––––––––––––––––––––––––––*/ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
149 #wrap { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
150 padding:0 0 15px 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
151 min-width:615px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
152 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
153 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
154 #page-header { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
155 clear:both; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
156 text-align:right; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
157 background:url(data:image/gif;base64,R0lGODlhiwAwAPf/AMG+uerr7b66tf38/aWint3g4dbSzZaUkefs7+/u7a2qpuHf2tTQyrm2sc7T1bzBxKimoePi4djUz6Wkofb4+ubm5urv8evq6J2bmOjq7N3a1K6sqNDU1/L09rGuqo6MitDMx7m+wcLExejm4318ebS5vNTZ3Pr6+u7w8tbY2PHz9JKQjd/e3e3s69LOyKqopLSxrfj6+pyZlc7KxW1raezv8HV0coWDgeTn6NrW0MTFxeDl6NPW2OXo6np5duHg37a1srKvq8zQ08zOztrd3+no5/n7/JiWk76+vuDk5tbW1ubk4JCNiuXi3crO0KKgnHJxbuLk5t3f4cnNzsjEv+7w8bGxsL+9usXEwvX08+zw8ubq7MfDvoiGg/T299jb3LW1tdza2MjFwNba3N3c2fX3+MbJytDNyMLBv9fTzYqJh9jX1IB/fKuqqNvf4cfEv/n5+PDy887R0rq4tMTBvLWyrvT09PLz9O/y9KCem3h3dNrZ19LU1s3LycrGweHj5Lq5uPf398vIw+br7unt8MbKzdHW2cLHyuXq7NPX2uPo68nN0L/Ex+Ln6tfc39/k593i5dne4drf4tbb3tzh5K+0t62ytdnV0LK2uezq5szJw7azrre8vs/MxqyxtM3JxOvw88nIxvz8+/Hv7c/LxvD1+K+xssvHwu/099PPyuzx9O3y9e7z9sfLzvr6+ff29cLAu/H2+fL3+bO3ur+8t+Dc17i9v8fMzvv8/G9ua8LGx9bU0OHm6bC1uPPy8M/U1bOwrMPIy9TX2t/i4+bp69/c18DFx8HGyM3KxOPm59XRy9XSzauws83R1MbCvdHV1/T4+unu8Ort783P0N/j5fTz8cTAu7a4uMTCwLy6uLu4s9PT0rCztLK0tbSysMvKyMvMzc7NzM3Q0M7Q0fb19NXT0dnW0MfGxNHOyNDOy9PU1ayrq4OBfre0sOPl5aqvsrG2ucnGwNjZ2fn498XCvfHx8NPQzLO4u8LCwsLDxK6ztqekoPj39szIw////9vX0SH5BAEAAP8ALAAAAACLADAAAAj/AP8JHEiwoMGD//wpdDWqFsKHECNKnEixosWLB9Mo3DigGMaPFDUsyTQqy4CNKLOMGqEhokiSJlFuVMkSZMVO/t69K/HLX5FUNoMWbOFKplGjo1oaJHq0qcKkQiH28+eJmVU+cBpEFXpJoZFkX+TogueprFlPuuQUMOJvQJOCXf19DTv2rNm0a9u+3Wpwqj5LgO/5U8DXZip/tgArXsxY8ReFewUeTty4smPIhQlO7VWpcy9/+zJ/nOGPc+fTqFOfnhLgxLKBpE2rnr269WvRU2dh2j3LHwHRGHPvHj6Lm6njproNX+7EXxgJAoUvL448+fLhzZ/j9leie3ffwC9O//XeXUcuGyTSk/DBZt0D8iWknKATnTt58+jVs3cPXz59hBqMUNJJ/rjiSyZKHTSVLZw0aAtoAjXhC4H8HOhQRQEOuNCBCfaFWIOcOMHCAcDUsckmdQQBwQFAmAEiJ8b4A0t9DDYoIokmoqgiiy6CGOOMBmmQCYFNIaigPyEkmaQ/XGiQhVNZXAiRkEQeZaSHSoYgxA8vkNIJCCB0MoMY7byQQpYh3HEFUFNluWWXX4Y5ZplnZqmmQQvAoRAOXzhwzAMPFMLDH7j488oCHgKqqD+7nFQFD38+4MSggbQ1AkR57tlnpIISaiiiBU2l6AMORACMQRKcIcAaToxaxRwz/P8jqqKlnlpQqqu2quir0A20gCj+RHELI8QWW+wtUfgjCqgDTWWMsXZU+oex1Eqh0KUH/RrssNQem+yyofrzLLEcmHrQJZqEUYCxVQDRj6ziFluurXClu26x7aYxUDHAEnHIvwAHDDAR/syTg2b+BBMwwf4KLLADxLhmEL/+NOywwAQbjLDC/yZi7kEu1DNMwFVMoAm8HB/iMb0FhTwywCXrK1A1/khRyM04t9IKzjxbWwTCO/PsAM9B83wzB/4soUxBNNtstM5G3+wz0DiP8bFBZPjzDM9FyMCmP0VbzTJBWW+Nc9cyLxDsImyzfc0HNORywwRTtM12D4w2648Tdrf/LcIBNuTiQx759L1IsmIQpHYUfb8d99x12433LnrzzfYXFZxy0BKixGF3IlZAcAm8li+CueYGce5526CL/k8OCdwhxOxC8PCCDysQoMA+B6ygBO2z3zHCGfU1A/zsgNigRh4vQCCDGjocL8QA9vQKu+y024677rz7frzwxMNr/OxEkDNSJuiTVFTNwIPTBQDF017++emPsr4U7b8vkDn+DOPA/w4ABxsgAItTnOINAoAAAdwBQAcMwx+Jg9cvGugAIvjgCQAQwynEAIAN5CEFFKwBGaiwv/41UIAENCACFchAAD4wglOZ4P9M4JQquKGBSLgBBJYmQQDSsCk2xKEO/3m4gAFw4IgcSMYRnjADAxxMAgzgQhDCMQYkcuAE6VjaVJ5hRSIEQQaCUMboLmGAfrQDCwWwYjIqIACBFFGNS2ziE6M4xSoiEYta1JoVxxCAPvoxGXY8ohmOwAYC9GN08OIiEvnoxz4C0oqDLOQh/3GJH8TBEJg0RAWY8AZEDiQNdJhDADJpCBFyAV6kLKUMtNGrgUggHg24ZCYhMY9TVVKWmNxkJwsCSlGS0pSoTKUwUwmJFpyjAf1o5VSGyUxMFvOYyRSIARIgjURYkwjhIIDMCoIOASTAmtbEARvhJQxwJuIEBwDBQZQBgAGYcwz+eME/plnNa2ZzmwTp5jfBKf/ONk6lnOYMqECt5Y8EHExvABWoQhNBUIMOhAEtSIIJJkoMNGwCIRJ4QxEkMVETJMEfp5pKRyfqjzy0kiCXEEMRRkrD30BUohS1KEY1ytGJfjSk/mCpCXQggp769BkjpYYKDJUgkbKUpz7tKVA7KlSiCuQM/tjBJKZagyvQ4iGf2INUpzoJf0AAXlydKngQookLbFWsv4HqWat6VYRk9axd/epUwjoJFEBBPenxgR5WMISw1sAfF9AbXe2K1/Xsta9c/Wtg/0EKfzjisY5AQTac8RAQrEEakHUEeKaSWc3+BiGkuAAvMguexmZWspRFiGUxC9nNOpa0HziRbGHgwSP/yCOzf6UcvDrrj9jKdhO0zYNtcZu3T/gjEsiNRAe+cUqEpGIPVUhuJFwr3el+9iAguAAOpAse40p3uc09yHOjm1zqchcDYEovKfoBC2BgY7vJ9QILYjWV6voDvekFwXrb+17pyjcHU5GEgCWBgj785yAMCAMKBiwJFoQmwAweK3Yv0IMI/wbCAi7wgQ2S4AUP2MHwYrAkJEyQNFChAR1gcADu4E9/iJjEnzxxige84jRMhRI4pgQeKgA/hEAUDzkmxg82AK8c4xjGBMkuMYzsWiPvuMcIbgGQcSxkIt+YydctiAHaaeQdDKbIWEbIlgfQZX+4YCqQSDMktuAPKBsk/xUn2IKat4AGnKo5zUgeSHblrGbX3pnNbi4InPm85jrD686QyDMloYroQDzYH4hW9CUYfedArNcfj8h0pv2xBk8WpBb+4IWmVeCNFmt601kuSHYRcGrXnvoRnPY0QUAt6kyT2tSt/ipCfoCLU/OCBXLFdK4fwmtfs0ATU9mBspWtAlzwsCA5yEIZlr2DMhwhccmmtqL/kd0AaPvCUaV2s59NkGhPe9nWxna4l+2P8BlkBP5QAbUDcAUPwIvaXnZ3QeAt72XTGxlTaYTABc5mcnRIIAnwhzQG3ohtyIAB8GJ4I7ad3Wgw3LUSL/jB/5HwhQ/c4RDvRwIkfgJRtKAJKP9vwkhe4Q8vbIHhHTjCVUVOcpOnXOWZYLnLYX4EEExFEUAPegeUlYkLNeFJXgi6IlBAAA+M7udKp/gFLBB1cCsd6EMXRdEjhHSlM93p/9AECwjhdad4AQFXP0c6wz72sjfl7Gk/AAOmgoi62x0RQzeKF+6OCCUwAYb+4LvUtXB31/K97nmXyd7v7vcIaqIPKuA7AjoQg8rHgAIdiMbhA9AFGEDn8ZG/++Qtf/nMb77zEpjKIFbP+tVHwwsEOgEeWj+IDBzhBQaIjh1oL3VVtN61tGf962M/+9bbHvcCIQUMfhD85gc/AyuQASmSv3znW3/10Jc+vBDAfe6ro/vgDz//ArTQhhWI4aBitwD4t02KNaBg/eAO//fFL37ym/+gBhDAC3BA//5zPwUfsALW0Cv5t3/+138AKIDQMRWE0ICEgAeAYAUo4IAU6IA9MAFd0ADb5Ad1UAMUuG2fAAN/8IHgRoEQKIEVWIEXmIHblAOfoAAHoAMpOIOEgAProAcHQAu5JxAuCIMySIMVaIM4qIP1YQFGaAEUgAQfsAEBcIROaAHi8AGdBxQDcQYegAH4UABGeF8PwQDtgAFgoIUWwIVT4YRJuIRN+IRGGIVTyEtUsAEr8AFWMA5i+IRDgAQYAAVdsA9cAHEl9oZxOId16IR3mId72Id6AwqKCAoUgAX7/4ABcigHitgD0wAGauADBzAHLuBpGaUAK+ADUJALbEAYGCUIQXAAbBCKowgvi8iIjgiJViCJoECJloiJmihr83QKDbAiN6AHoZgLwJgLUKAHN7ACEEALn7CDWqaLvOiLwQiMw1iMx5iMCKMK1qgKFHBMAKAAR8AOgQMFPtAFMuABXJAKuGgA8aANwLABG9AAnQARaaAJtEBb7fiOU3GN2KiN3OiNwhiO41iOuCgQEuACVCAA7RAE7JiQ7FgH2gAL/cAAASmQBGmQCKmQC9mQDylrU7EKHLkKFBAKAMAAp0ALm8COHrAJAsAFnYBPt5IKpIBsKxkRUPSS/RCTG9mRH/8ZkiNZkhtwkikZkzLJAGcwA8jWD0bZD5/QCangRBMBRUNZlEeZlEt5UOHCClbJCjEAkv8ARSDwCZqADCDAACwZHvBylViplVzplWAplmRJllOBCnCJClkZaG35EG8Zl3NZl3oZKglQCn5ZCnm5l1LRl38ZmIKpl5pQDtAQC4xpBFp5mAghBorJmLHgmHQJmaLRCRBQAbLQmZaJmQdxCpvZmbLwmaBJlgzQAAcABkRQmmjQRqdJEKm5mq1pBK8Zm+FxCTOwi0+QB/sgAH6Im5S0mxDQm78ZnMJZGBIwA7RQBxsAA/SgjMK5nM35nNGZnMBxCQzQCZowAxCJnQKhndwI6Z0RCZ4YERAAOw==) top left no-repeat; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
158 height:69px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
159 font-size:0.85em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
160 margin-bottom:10px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
161 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
162 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
163 .rtl #page-header { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
164 text-align:left; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
165 background:top right no-repeat; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
166 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
167 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
168 #page-header h1 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
169 color:#767676; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
170 font-family:"Trebuchet MS",Helvetica,sans-serif; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
171 font-size:1.70em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
172 padding-top:10px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
173 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
174 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
175 #page-header p { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
176 font-size:1.00em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
177 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
178 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
179 #page-body { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
180 clear:both; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
181 min-width:700px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
182 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
183 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
184 #page-footer { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
185 clear:both; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
186 font-size:0.75em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
187 text-align:center; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
188 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
189 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
190 #content { |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
191 padding:0 10px 10px 10px; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
192 position:relative; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
193 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
194 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
195 #content h1 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
196 color:#115098; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
197 line-height:1.2em; |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
198 margin-bottom:0; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
199 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
200 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
201 #main { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
202 width:100%; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
203 margin:0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
204 min-height:350px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
205 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
206 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
207 .rtl #main { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
208 float:right; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
209 margin:0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
210 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
211 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
212 * html #main { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
213 height:350px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
214 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
215 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
216 /* Main Panel |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
217 –––––––––––––––––––––––––––––––––––––––– */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
218 #acp { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
219 margin:4px 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
220 padding:3px 1px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
221 min-width:550px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
222 background-color:#FFFFFF; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
223 border:1px #999999 solid; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
224 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
225 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
226 .panel { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
227 background:#F3F3F3 url(data:image/gif;base64,R0lGODlhBQAiAfcAAPLy8t7h5Nzf4/Pz8+zt7vHx8uLk5+Xn6e3u79ve4u/v8PHx8d3f4/Dw8d/i5ejp693g4+nq7OPl6PDx8evs7ebo6uTm6N3g5Orr7dze4u/w8ODi5eHj5t/h5ers7fLz8+vs7u7u7+Dj5u7v8N7g5Ofo6uDi5ujq7PLy8+fp6+nr7PHy8t/h5O7v7+Xm6e3t7+Tm6dzf4uHk5+Hj5+bn6ufp6tvf4urr7O/w8ePl59zg4+Hk5vDw8PLx8ubn6ezs7uTl6OLl5+jp7Ojq69ze497h5evr7fPy8uXm6OXn6uDj5efo6+zt7+Pk5+7u8O/v8dve4+3t7uLk5vPz8urq7O3u7unq6/Hy8ebo6d3h5PPy8+Dh5ezu7uPm6O3v7+Ll6PDx8uvt7vLz8unr7d3f5Nzf5Ojo69/i5OLj5uTn6eHj5evt7ebo6+Hi5eTl6fLx8eLk6N/i5uXo6d7i5fLy8ezs7fDx8OLj597h4/Hy8+Pk6Ojp6u/u8N7g4/Hw8fDv8O7w8O7u7uDh5unp693f4uDk5urq7eTl5/Dw8ufn6uvs7OXm6uTn6O/x8ezu79vf4+Hi5uXo6u/v7+Xn6Ors7gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAFACIBAAj/ABPYSEAwQ4IMAwkWJALFYEGFCB8mhAKFoI2GFjM8EkgkQ8eOUATEiGHDhkGSGTIIgEIkRgaXNmKIlCmAiICaN1W2FHlTJIOeQHvGICTgpwAdEBjouPnTqI6lTZsWZUC1jI6qDCAcnar0KQMyZCCILXOBTFYdF7JCSCt2bdYLa+GSuEBXLQQSc+mKhdsnLok+AehmCYAXbgAIWdbiCbA4AGHHjkkQHiw5QJYihCtDjvzYMYvNRTAH6EA49GcWRVDPYfE5wOcOqDuc6TDHwWkWsDs4mK0btoMOunf/7rBFd/HiDhxs2ZC8Q5zkyeMIcsDcgYgN1auboL7BRHcl15V0//fuvTt2EUpMKFHSRo2J9xtEmBDBQbwJNRzii6APicP+NvTRZ4J/HBRIHwc7+FfIDjM0OIMMHMgwww5oJDgDGjNEiCCGEkohww4fyiDDHRPKYIABd+xggIceGqCiATOcaKIUK554YhA2NmEjjjjm+MUXBujRhI455ABHEDjmIEEOQTRxpAR6GPBFE0p+IcGSTC55pZZbdgHEkodIYMGVXloAhJdiSgDEmGKOaUEXMLhhwZxzAiHnmmvCMCcMfLqAhAt6WsDnJEjoicSfSDBS6AEuMHoADC6k4WihkTra6AGYXorpIo4m4UISmGLqQ6gH+JCED3IkQcMBNLRKgw9YlP8aKw0VREKDqnL4UEEFptKKRQVY0KprIrtWQGsFJSCrrLIlsFHCs8mmUEENS7BRQwrUlpCCtNAuUcIS1FK7xx41mJGCGTVci+0DNTzg7gPmbvsuu+5um8IQ8+L7gBDunvDACfzuO4QVQgwxBL8GD3JCBENEIMQJ/gphhRUQPxwBxBFYcbHGC18cgccfqxCByB+XrMLJI0dwwxgqUEFFy4acrMINGKjAMgY30HyDyyvjjHPOGHgQNAY+e2AE0R4ILbQRQiOttAeKGEGB0R5QYMTRVU+dtREgUNA1BRRQAgIIWX8Nttdje01BHV0T0PUPIITxw9xruA0C2wSEAQIBa/z/QAABP4Tx99x/F2744X9HQcALf7/AhSNc/M0E40xEEUXlTFThOAFVIPDCC55PzgUCTCBQRRSef9655wi07nrnISAQCAKxux5C7F7U7jrtIYzgRO+5I+DFCC20cPsIXhg/AvG/396CEy3w0fvz1PsevQItKKC9AiNIwj3xI2Af/vbaA6KABtujz/0T53OvwRPoa4A+DjjAj8Mf8scvP/t/2I/D+TyoXwMGqAH68aABB+SBAhGIAwU2AgcasMMAJ9CACVgQBwMcoAQtOMEKZpCCIKygHyawADBY8IQkLEADCjCBAizAhQtYACL8AAYYlrCFMXRhAVYQwxiC4YU7LIAOma+gwxzu8AoxfIMQAUBEIrqwB0KEIhQBAAA6FKAHVtzhAq6wgjesoAdfLAAAVrACAIixBz0YIxXHmAcqpnGNZVxjG+O4RhRQ0Y5rzCMAPgAAFBzhAyjgIyABqYUPABIAAxDDEVDAyCMMYAoD0MIAAHAERxpykQAQwyMHwEkUDOADkTzCFCT5yVJ+QAyA3CQkQcnJVnKSla4MCAA7) repeat-x top; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
228 padding:0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
229 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
230 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
231 span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
232 font-size:1px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
233 line-height:1px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
234 display:block; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
235 height:5px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
236 background-repeat:no-repeat; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
237 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
238 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
239 span.corners-top, span.corners-bottom { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
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==); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
241 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
242 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
243 span.corners-top span, span.corners-bottom span { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
244 background-image:url(data:image/gif;base64,R0lGODlhBgAMAMQWAP///9vX0fPz85mZmdzc3Jqamtvb28vIw7y6t62sqsvIxPX19bKysqmop/T09Pb29pycnJ+fnp2dnKCgn/n5+fr6+v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABYALAAAAAAGAAwAAAUs4DAlRxAADsEggfAAQqFYNGA0tLVQUi4AAx8w56hAcraGCyYDLFSsQYRkCgEAOw==); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
245 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
246 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
247 span.corners-top { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
248 background-position:0 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
249 margin:-4px -2px 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
250 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
251 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
252 span.corners-top span { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
253 background-position:100% 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
254 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
255 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
256 span.corners-bottom { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
257 background-position:0 100%; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
258 margin:0 -2px -4px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
259 clear:both; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
260 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
261 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
262 span.corners-bottom span { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
263 background-position:100% 100%; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
264 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
265 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
266 /* General form styles |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
267 ––––––––––––––––––––––––––––––––––––––––*/ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
268 fieldset { |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
269 margin:25px 0; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
270 padding:1px 0; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
271 border-top:1px solid #D7D7D7; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
272 border-right:1px solid #CCCCCC; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
273 border-bottom:1px solid #CCCCCC; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
274 border-left:1px solid #D7D7D7; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
275 background-color:#FFFFFF; |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
276 position:relative; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
277 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
278 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
279 .rtl fieldset { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
280 border-top:1px solid #D7D7D7; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
281 border-right:1px solid #D7D7D7; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
282 border-bottom:1px solid #CCCCCC; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
283 border-left:1px solid #CCCCCC; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
284 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
285 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
286 * html fieldset { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
287 padding:0 10px 5px 10px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
288 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
289 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
290 fieldset p { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
291 font-size:1.0em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
292 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
293 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
294 legend { |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
295 padding:1px 5px; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
296 font-family:Tahoma,arial,Verdana,Sans-serif; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
297 font-size:1.06em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
298 font-weight:bold; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
299 color:#115098; |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
300 margin-top:-.4em; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
301 position:relative; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
302 /* text-transform:capitalize;*/ |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
303 line-height:1.00em; |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
304 top:0; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
305 vertical-align:middle; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
306 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
307 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
308 /* Hide from macIE \*/ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
309 legend { top:-1.2em; } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
310 /* end */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
311 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
312 * html legend { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
313 margin-bottom:-10px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
314 margin-left:-7px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
315 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
316 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
317 /* Holly hack, .rtl comes after html */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
318 * html .rtl legend { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
319 margin:0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
320 margin-right:-7px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
321 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
322 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
323 optgroup, select { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
324 font-family: Verdana, Helvetica, Arial, sans-serif; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
325 font-size: 0.85em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
326 font-weight: normal; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
327 font-style: normal; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
328 cursor: pointer; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
329 vertical-align: middle; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
330 width: auto; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
331 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
332 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
333 optgroup { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
334 font-size: 1.00em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
335 font-weight: bold; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
336 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
337 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
338 option { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
339 padding:0 1em 0 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
340 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
341 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
342 .rtl option { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
343 padding:0 0 0 1em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
344 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
345 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
346 fieldset.nobg { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
347 margin:15px 0 0 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
348 padding:0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
349 border:none; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
350 background-color:transparent; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
351 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
352 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
353 /* MOD-ABOUT STUFFS ~smithy_dll */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
354 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
355 .mod-about { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
356 background-color:#CADCEB; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
357 /*width:100%;*/ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
358 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
359 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
360 .mod-about span.corners-top, .mod-about span.corners-bottom, .mod-about span.corners-top span, .mod-about span.corners-bottom span { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
361 font-size:1px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
362 line-height:1px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
363 display:block; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
364 height:5px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
365 background-repeat:no-repeat; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
366 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
367 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
368 .mod-about span.corners-top, .mod-about span.corners-bottom { |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
369 background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABVSURBVHjaYviPAD+BeDIQ2wMxGwNU8AkQGwAxAwwzQFXqIgvCJCajC8IkbLBJMIItYmD4xYAGmBhwAJCEMS6JcKxa8DkX5kFdbBKwIJkADRIGgAADAGtyotIvyqGpAAAAAElFTkSuQmCC); |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
370 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
371 |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
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); |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
373 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
374 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
375 .mod-about span.corners-top { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
376 background-position:0 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
377 margin:0 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
378 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
379 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
380 .mod-about span.corners-top span { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
381 background-position:100% 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
382 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
383 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
384 .mod-about span.corners-bottom { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
385 background-position:0 100%; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
386 margin:0 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
387 clear:both; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
388 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
389 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
390 .mod-about span.corners-bottom span { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
391 background-position:100% 100%; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
392 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
393 |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
394 .mod-about-padding { padding: 0 8px; } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
395 .mod-about { margin:7px 4px 10px 4px; } |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
396 .mod-about dt { font-weight:bold; padding-right:4px; } |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
397 .rtl .mod-about dt { padding-left: 4px; } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
398 .mod-about dl { margin:0 8px; } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
399 .mod-about div { margin:3px 8px;} |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
400 /*div.inner .mod-about dl { margin:0; }*/ |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
401 /*.nopadding { margin:0; }*/ |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
402 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
403 .mod-history {font-size:82.5%; } /* Mod histories can get pretty long, so I'm making that font a bit smaller */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
404 #language { width:130px; } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
405 #modDisclaimer .mod-about, #other-notes.mod-about { background-color:#EECCCC; } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
406 #other-notes.mod-about strong.red { color:#DD3333; } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
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; } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
408 .mod-edit { background-color:#D6E6F6; border:solid 1px #336699; margin:10px 0; padding:0 10px; } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
409 .mod-inlineedit { background-color:#DDEEFF; border:solid 1px #6699CC; margin:10px 0; padding:0 10px; } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
410 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
411 dl.author-info dd { margin-left:112px; margin-bottom:8px; } |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
412 .rtl dl.author-info dd { margin-left:112px; margin-bottom:8px; } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
413 ol#file-copy { padding:5px; margin-left:20px; margin-right:20px; margin-bottom:10px; } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
414 ol#file-copy li { margin-left:30px; margin-right:30px; vertical-align:top;} |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
415 ol#file-copy span { font-weight:bold; } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
416 ol#file-copy dt {margin-right:5px; float:none !important } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
417 ol#file-copy dl {width:100%} |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
418 h2#lang-fca, h2#lang-edts, h2#lang-diy, h2#lang-sql { margin-left:5px; } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
419 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
420 /* Code block */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
421 div.codebox { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
422 padding:3px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
423 background-color:#FFFFFF; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
424 border:1px solid #d8d8d8; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
425 font-size:1em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
426 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
427 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
428 div.codebox div.codeHead { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
429 text-transform:uppercase; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
430 border-bottom:1px solid #CCCCCC; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
431 margin-bottom:3px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
432 font-size:0.8em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
433 font-weight:bold; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
434 display:block; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
435 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
436 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
437 div.codebox div.codeHead a.codeSelect { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
438 padding-left:5px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
439 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
440 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
441 blockquote div.codebox { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
442 margin-left:0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
443 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
444 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
445 div.codebox pre { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
446 /* Also see tweaks.css */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
447 width:100%; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
448 overflow-x:scroll; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
449 display:block; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
450 height:auto; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
451 max-height:200px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
452 /*white-space:normal;*/ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
453 padding-top:5px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
454 font:0.9em Monaco, "Andale Mono","Courier New", Courier, mono; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
455 line-height:1.3em; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
456 color:#606060; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
457 margin:2px 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
458 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
459 |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
460 /*.rtl div.codePre pre { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
461 text-align: left !important; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
462 direction: ltr !important; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
463 }*/ |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
464 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
465 dt { |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
466 float: left; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
467 width:auto; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
468 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
469 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
470 .rtl dt { |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
471 float: right !important; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
472 text-align: right; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
473 width:auto; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
474 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
475 |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
476 dd { color:#666666; } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
477 dd + dd { padding-top: 5px; } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
478 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
479 dt span { padding: 0 5px 0 0; } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
480 .rtl dt span { padding: 0 0 0 5px; } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
481 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
482 div.endMOD { padding:0 5px; } |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
483 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
484 #history_toggle_link { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
485 display:block; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
486 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
487 .edit_toggle_link { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
488 display:block; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
489 text-align:right; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
490 margin-bottom:2px; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
491 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
492 </style> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
493 <title>phpBB MOD » <xsl:value-of select="$title" /></title> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
494 <script type="text/javascript"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
495 var i = 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
496 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
497 /* passed from xslt */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
498 <xsl:for-each select="mod:header"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
499 <xsl:for-each select="mod:author-group"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
500 var authors_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
501 <xsl:for-each select="mod:author"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
502 authors_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
503 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
504 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
505 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
506 var mhes_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
507 var mhcls_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
508 <xsl:for-each select="mod:history/mod:entry"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
509 mhes_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
510 <xsl:if test="count(mod:changelog) > 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
511 mhcls_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
512 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
513 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
514 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
515 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
516 var opens_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
517 <xsl:for-each select="mod:action-group/mod:open"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
518 opens_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
519 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
520 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
521 var codes_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
522 <xsl:for-each select="mod:action-group/mod:sql"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
523 codes_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
524 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
525 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
526 var edits_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
527 <xsl:for-each select="mod:action-group/mod:open/mod:edit"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
528 edits_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
529 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
530 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
531 var finds_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
532 var regex_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
533 var ifinds_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
534 var iregex_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
535 var addafters_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
536 var iaddafters_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
537 var addbefores_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
538 var iaddbefores_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
539 var replacewiths_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
540 var ireplacewiths_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
541 var increments_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
542 var iincrements_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
543 var comments_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
544 <xsl:for-each select="mod:action-group/mod:open/mod:edit"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
545 <xsl:for-each select="mod:find"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
546 finds_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
547 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
548 <xsl:if test="count(mod:comment) > 0"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
549 comments_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
550 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
551 <xsl:for-each select="mod:find|mod:action"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
552 codes_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
553 <xsl:if test="name() = 'action'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
554 <xsl:if test="@type = 'after-add'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
555 addafters_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
556 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
557 <xsl:if test="@type = 'before-add'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
558 addbefores_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
559 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
560 <xsl:if test="@type = 'replace-with'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
561 replacewiths_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
562 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
563 <xsl:if test="@type = 'operation'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
564 increments_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
565 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
566 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
567 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
568 <xsl:for-each select="mod:inline-edit"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
569 <xsl:for-each select="mod:inline-find"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
570 ifinds_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
571 <xsl:if test="@type = 'regex'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
572 iregex_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
573 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
574 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
575 <xsl:for-each select="mod:inline-find|mod:inline-action"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
576 codes_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
577 <xsl:if test="name() = 'inline-action'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
578 <xsl:if test="@type = 'after-add'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
579 iaddafters_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
580 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
581 <xsl:if test="@type = 'before-add'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
582 iaddbefores_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
583 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
584 <xsl:if test="@type = 'replace-with'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
585 ireplacewiths_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
586 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
587 <xsl:if test="@type = 'operation'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
588 iincrements_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
589 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
590 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
591 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
592 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
593 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
594 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
595 <xsl:for-each select="mod:action-group/mod:diy-instructions"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
596 codes_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
597 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
598 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
599 var copies_ll = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
600 <xsl:for-each select="mod:action-group/mod:copy/mod:file"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
601 copies_ll.push('<xsl:value-of select="generate-id()"/>'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
602 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
603 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
604 <xsl:text disable-output-escaping="yes"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
605 <![CDATA[ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
606 // The following line from http://www.ryancooper.com/resources/keycode.asp |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
607 document.onkeydown = mod_do_keypress; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
608 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
609 var host = "http://www.phpbb.com/mods/modx/i18n/"; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
610 |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
611 var enStrings = "dir=ltr\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
612 "h1=Installation instructions for\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
613 "edt-show=Show >>\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
614 "edt-hide=<< Hide\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
615 "V=version\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
616 "t=Title:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
617 "d=Description:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
618 "aV=Version:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
619 "mint=minutes\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
620 "it=Installation time:\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
621 "il=Installation level:\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
622 "ile=Easy\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
623 "ili=Intermediate\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
624 "ila=Advanced\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
625 "au=Author\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
626 "aus=Authors\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
627 "a-un=Username:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
628 "a-e=Email:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
629 "a-n=Name:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
630 "a-h=WWW:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
631 "a-c=Contributions:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
632 "a-c-f=From\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
633 "a-c-t=to\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
634 "a-c-s=Since\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
635 "fte=Files to edit\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
636 "icf=Included files\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
637 "icfn=No files have been included with this MOD.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
638 "dcl=Disclaimer\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
639 "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" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
640 "isp=and English support\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
641 "ispt=English support can be obtained at <a href=\"http://www.phpbb.com/mods/\">http://www.phpbb.com/mods/</a> for released MODs.\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
642 "ant=Author notes:\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
643 "lic=License\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
644 "lict=This MOD has been licensed under the following license:\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
645 "ont=and other notes\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
646 "ontt1=Before adding this MOD to your forum, you should back up all files related to this MOD.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
647 "ontt2=This MOD was designed for phpBB\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
648 "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" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
649 "onttq=This MOD is development quality. It is not recommended that you install it on a live forum.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
650 "sql=SQL\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
651 "fca=File copy\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
652 "c-copy=Copy:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
653 "c-to=To:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
654 "cde-c=Code:\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
655 "cde-sa=Select all\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
656 "edts=Edits\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
657 "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" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
658 "opn=Open:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
659 "cm-cmt=Comments\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
660 "fnd=Find\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
661 "fndt=<strong>Tip:</strong> This may be a partial find and not the whole line.\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
662 "rplw=Replace with\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
663 "rplwt=<strong>Tip:</strong> Replace the preceding line(s) to find with the following lines.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
664 "aft=Add after\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
665 "aftt=<strong>Tip:</strong> Add these lines on a new blank line after the preceding line(s) to find.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
666 "bef=Add before\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
667 "beft=<strong>Tip:</strong> Add these lines on a new blank line before the preceding line(s) to find.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
668 "inc=Increment\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
669 "inct=<strong>Tip:</strong> This allows you to alter integers. For help on what each operator means, click here.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
670 "ifnd=In-line Find\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
671 "ifndt=<strong>Tip:</strong> This is a partial match of a line for in-line operations.\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
672 "irplw=In-line Replace with\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
673 "irplwt=\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
674 "iaft=In-line Add after\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
675 "iaftt=\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
676 "ibef=In-line Add before\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
677 "ibeft=\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
678 "iinc=In-line Increment\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
679 "iinct=<strong>Tip:</strong> This allows you to alter integers. For help on what each operator means, click here.\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
680 "diy=DIY instructions\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
681 "diyt=These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
682 "eom=Save all files. End of MOD.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
683 "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" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
684 "slg=Select language:\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
685 "dbms=Select Database Type:\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
686 "foot=MOD UA XSLT File Copyright © 2007 The phpBB Group, this MOD is copyright to the authors listed above.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
687 "regex=This find contains an advanced feature known as regular expressions, click here to learn more.\n" + |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
688 "mhe-v=- Version\n" + |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
689 "mh=MOD history\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
690 "addtl-modx=Additional MODX files\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
691 "imn=This MOD has no additional MODX files.\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
692 "link-c=Contrib\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
693 "link-d=Dependency\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
694 "link-l=Language\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
695 "link-p=Parent\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
696 "link-te=Template\n" + |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
697 "link-tl=Template lang\n" + |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
698 "atm=About this MOD"; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
699 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
700 var box = codes_ll; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
701 var currentLanguage = "en"; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
702 var languagesLoaded = false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
703 var languages = ['en']; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
704 var arrClasCnt = [ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
705 ['a-' , authors_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
706 ['c-' , copies_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
707 ['cm-' , comments_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
708 ['opn' , opens_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
709 ['cde-' , codes_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
710 ['edt-' , edits_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
711 ['fnd' , finds_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
712 ['regex', regex_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
713 ['rplw' , replacewiths_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
714 ['aft' , addafters_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
715 ['bef' , addbefores_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
716 ['inc' , increments_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
717 ['ifnd' , ifinds_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
718 ['regex', iregex_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
719 ['irplw', ireplacewiths_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
720 ['iaft' , iaddafters_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
721 ['ibef' , iaddbefores_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
722 ['iinc' , iincrements_ll ], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
723 ['mhe' , mhes_ll ] |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
724 ]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
725 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
726 function startup() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
727 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
728 sql_dropdown(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
729 change_dbms(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
730 changeLanguage(currentLanguage); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
731 document.getElementById('lang-selector').style.display = "block"; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
732 init_mod_history(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
733 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
734 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
735 function changeLanguage(langCode) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
736 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
737 langCode = langCode.toLowerCase(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
738 currentLanguage = langCode.split('-')[0]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
739 if (currentLanguage.toLowerCase() != 'en') // if change, only include up to first dash |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
740 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
741 load_language(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
742 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
743 else |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
744 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
745 applyLanguage(enStrings.split("\n")); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
746 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
747 xslLanguage(langCode); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
748 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
749 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
750 function load_languages() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
751 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
752 if (languagesLoaded) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
753 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
754 return; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
755 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
756 languagesLoaded = true; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
757 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
758 $divname = document.getElementById('language'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
759 var loadingItem = document.createElement('option'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
760 $divname.appendChild(loadingItem); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
761 loadingItem.innerHTML = 'Loading...'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
762 $divname.remove(0); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
763 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
764 $output = 'load_languages'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
765 cachernd = parseInt(Math.random() * 99999999); // cache |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
766 send('', host + 'languages.txt?rnd=' + cachernd); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
767 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
768 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
769 function load_language() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
770 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
771 $output = 'load_language'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
772 cachernd = parseInt(Math.random() * 99999999); // cache |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
773 send('', host + currentLanguage + '.txt?rnd=' + cachernd); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
774 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
775 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
776 /***************** |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
777 * AJAX Functions * |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
778 *****************/ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
779 var $xmlhttp = http_object(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
780 var $finished = 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
781 var $send_queue = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
782 var $running = false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
783 var $divname; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
784 var $newform; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
785 var $newurl; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
786 var $output; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
787 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
788 function http_object() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
789 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
790 if (window.XMLHttpRequest) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
791 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
792 return new XMLHttpRequest(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
793 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
794 else if (window.ActiveXObject) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
795 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
796 return new ActiveXObject("Microsoft.XMLHTTP"); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
797 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
798 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
799 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
800 function send($action, $url, $form, $div, $clear) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
801 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
802 $newform = $form; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
803 $newurl = $url; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
804 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
805 $send_queue.push("handle_send($newurl, $newform)"); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
806 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
807 if (!$running) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
808 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
809 run_ajax(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
810 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
811 return; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
812 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
813 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
814 function run_ajax() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
815 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
816 $running = true; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
817 for ($i = 0; $i < $send_queue.length; $i++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
818 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
819 if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
820 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
821 eval($send_queue[$i]); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
822 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
823 else |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
824 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
825 $xmlhttp.onreadystatechange = check_state; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
826 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
827 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
828 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
829 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
830 function check_state() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
831 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
832 if ($xmlhttp.readyState == 4 || $xmlhtt.readyState == 0) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
833 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
834 eval($send_queue[$finished]); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
835 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
836 else |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
837 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
838 $xmlhttp.onreadystatechange = check_state; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
839 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
840 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
841 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
842 function handle_send($url, $f) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
843 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
844 if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
845 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
846 $param = ''; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
847 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
848 try |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
849 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
850 netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
851 $allowed = true; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
852 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
853 catch (e) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
854 {} |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
855 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
856 try |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
857 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
858 $xmlhttp.open('POST', $url, true); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
859 $xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
860 $xmlhttp.onreadystatechange = handle_return; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
861 $xmlhttp.send($param); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
862 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
863 catch (e) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
864 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
865 $divname = document.getElementById('language'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
866 var loadingItem = document.createElement('option'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
867 $divname.appendChild(loadingItem); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
868 loadingItem.innerHTML = 'Unavailable'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
869 $divname.remove(0); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
870 $divname.disabled = true; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
871 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
872 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
873 return; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
874 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
875 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
876 function handle_return() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
877 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
878 if ($xmlhttp.readyState == 4) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
879 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
880 ajax_output($xmlhttp.responseText); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
881 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
882 $finished++; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
883 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
884 if ($send_queue[$finished]) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
885 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
886 check_state(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
887 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
888 else |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
889 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
890 $send_queue = []; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
891 $finished = 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
892 $running = false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
893 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
894 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
895 return; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
896 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
897 /********************* |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
898 * END AJAX Functions * |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
899 *********************/ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
900 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
901 function ajax_output($response) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
902 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
903 switch ($output) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
904 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
905 case 'load_language': |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
906 var texts = $response.replace("\r\n", "\n").split("\n"); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
907 applyLanguage(texts); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
908 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
909 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
910 case 'load_languages': |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
911 languages = $response.replace("\r", "").split("\n"); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
912 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
913 var i, l, s = 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
914 for (i in languages) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
915 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
916 languages[i] = languages[i].replace("\r", ""); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
917 languages[i] = languages[i].split("="); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
918 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
919 var langItem = document.createElement('option'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
920 $divname.appendChild(langItem); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
921 langItem.value = languages[i][0]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
922 var iso = languages[i][0].split('-'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
923 langItem.innerHTML = languages[i][1]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
924 if (iso.length == 2) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
925 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
926 langItem.innerHTML += ' [' + iso[1].toUpperCase() + ']'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
927 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
928 if (languages[i][0] == currentLanguage) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
929 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
930 $divname.selectedIndex = s; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
931 $divname.text = languages[i][1]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
932 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
933 s++; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
934 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
935 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
936 $divname.focus(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
937 $divname.onchange = |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
938 function() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
939 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
940 changeLanguage(this.value.replace(" ", "")); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
941 }; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
942 $divname.remove(0); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
943 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
944 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
945 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
946 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
947 function xslLangEl(langCode, obj_id) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
948 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
949 var i, c, a, k, m = [], show = [], o = document.getElementById(obj_id); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
950 var lang_c = langCode.replace('_','-'), lang_s = langCode.substr(0, 2); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
951 var nodes = (o && o.childNodes) ? o.childNodes : ''; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
952 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
953 for (i = 0; i < nodes.length; i++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
954 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
955 c = nodes[i]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
956 if (c.nodeType != 1) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
957 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
958 continue; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
959 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
960 a = (obj_id == 'link-group') ? c.getElementsByTagName('a') : null; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
961 k = (a && a[0].href) ? a[0].href : c.tagName; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
962 if (!c.lang || m[k] === true) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
963 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
964 c.style.display = 'none'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
965 continue; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
966 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
967 c.lang = c.lang.replace('_', '-').toLowerCase(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
968 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
969 if (m[k]) // Already have a partial match |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
970 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
971 if (c.lang != lang_c) // This isn't an exact match |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
972 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
973 c.style.display = 'none'; // So hide it and keep looking |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
974 continue; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
975 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
976 m[k] = true; // An exact match |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
977 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
978 else |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
979 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
980 m[k] = (c.lang == lang_c) ? true : (c.lang.substr(0, 2) == lang_s ? 1 : false); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
981 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
982 if (!show[k] || m[k] || c.lang == 'en') |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
983 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
984 if (show[k]) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
985 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
986 show[k].style.display = 'none'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
987 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
988 show[k] = c; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
989 c.style.display = ''; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
990 if (a) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
991 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
992 c.getElementsByTagName('span')[0].style.display = 'none'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
993 //c.firstChild.style.display = 'none'; // This line doesn't work in Safari |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
994 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
995 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
996 else |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
997 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
998 c.style.display = 'none'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
999 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1000 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1001 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1002 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1003 function xslLanguage(langCode) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1004 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1005 i18nedEls = new Array('title','description','author-notes','diy','link-group'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1006 var c, h, i; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1007 for (c in comments_ll) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1008 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1009 i18nedEls.push('mod-comment[' + comments_ll[c] + ']'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1010 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1011 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1012 for (h in mhcls_ll) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1013 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1014 i18nedEls.push('mhcl[' + mhcls_ll[h] + ']'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1015 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1016 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1017 for (i in i18nedEls) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1018 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1019 xslLangEl(langCode, i18nedEls[i]); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1020 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1021 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1022 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1023 function in_array(array, value, position) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1024 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1025 for (var i = 0; i < array.length; i++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1026 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1027 // Matches identical (===), not just similar (==). |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1028 if (array[i] === value) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1029 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1030 return (position ? i : true); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1031 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1032 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1033 return false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1034 }; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1035 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1036 function applyLanguage(texts) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1037 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1038 var i; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1039 for (i in texts) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1040 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1041 var lang = texts[i].split("=", 2), done = 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1042 if (lang.length == 2 && (lang[0] == 'edt-show' || lang[0] == 'edt-hide')) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1043 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1044 toggle_strings[lang[0].replace('edt-', '')] = lang[1]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1045 if (++done >= 2) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1046 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1047 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1048 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1049 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1050 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1051 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1052 for (i in texts) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1053 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1054 var lang = texts[i].split("="); |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1055 if(lang[0] == 'dir') |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1056 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1057 set_dir(lang[1]); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1058 } |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1059 if (lang.length < 2) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1060 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1061 continue; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1062 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1063 try |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1064 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1065 var jflag = false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1066 for (var j = 0; j < arrClasCnt.length; j++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1067 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1068 var sw = '-' + lang[0]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1069 if (sw.match('-' + arrClasCnt[j][0])) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1070 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1071 for (var k = 0; k < arrClasCnt[j][1].length; k++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1072 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1073 try |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1074 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1075 var o = document.getElementById('lang-' + lang[0] + '[' + arrClasCnt[j][1][k] + ']'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1076 o.innerHTML = lang[1]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1077 if (o.rel && (o.rel == 'show' || o.rel == 'hide') && (lang[0] == 'edt-show' || lang[0] == 'edt-hide')) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1078 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1079 o.innerHTML = toggle_strings[o.rel]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1080 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1081 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1082 catch (e){} |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1083 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1084 jflag = true; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1085 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1086 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1087 if (!jflag) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1088 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1089 var append = ''; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1090 for (var p = 1; p < lang.length; p++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1091 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1092 append += (p > 1 ? '=' : '') + lang[p]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1093 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1094 document.getElementById('lang-' + lang[0]).innerHTML = append; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1095 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1096 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1097 catch (o){} |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1098 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1099 try |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1100 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1101 document.getElementById('history_toggle_link').innerHTML = toggle_strings[(document.getElementById('mod_history_content').style.display == '' ? 'hide' : 'show')]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1102 } catch(o) {} |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1103 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1104 |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1105 function set_dir(direction) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1106 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1107 direction = (direction == 'rtl') ? 'rtl' : 'ltr'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1108 document.body.style.direction=direction; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1109 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1110 var ie = /*@cc_on!@*/false; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1111 var dts = document.getElementsByTagName('dt'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1112 var uls = document.getElementsByTagName('ul'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1113 var h2s = document.getElementsByTagName('h2'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1114 var mod_dt = document.getElementsByName('left4px'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1115 var author_dd = document.getElementsByName('author-dd'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1116 var ltr_spec = document.getElementsByName('ltr-spec'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1117 var rtl_spec = document.getElementsByName('rtl-spec'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1118 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1119 var rtl_float = (ie) ? 'styleFloat' : 'cssFloat'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1120 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1121 //alert(rtl_spec.length); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1122 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1123 if(direction == 'rtl') |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1124 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1125 for(j = 0; j < dts.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1126 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1127 if(ie) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1128 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1129 dts[j].style.styleFloat='right'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1130 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1131 else |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1132 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1133 dts[j].style.cssFloat='right'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1134 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1135 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1136 for(j = 0; j < h2s.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1137 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1138 h2s[j].style.textAlign='right'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1139 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1140 for(j = 0; j < uls.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1141 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1142 uls[j].style.margin='0 2em 1em 0'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1143 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1144 for(j = 0; j < ltr_spec.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1145 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1146 ltr_spec[j].style.display='none'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1147 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1148 for(j = 0; j < rtl_spec.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1149 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1150 rtl_spec[j].style.display='inherit'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1151 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1152 for(j = 0; j < author_dd.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1153 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1154 author_dd[j].style.marginRight='115px'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1155 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1156 for(j = 0; j < mod_dt.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1157 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1158 mod_dt[j].style.paddingRight='0'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1159 mod_dt[j].style.paddingLeft='4px'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1160 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1161 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1162 else |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1163 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1164 for(j = 0; j < dts.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1165 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1166 if(ie) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1167 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1168 dts[j].style.styleFloat='left'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1169 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1170 else |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1171 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1172 dts[j].style.cssFloat='left'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1173 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1174 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1175 for(j = 0; j < h2s.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1176 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1177 h2s[j].style.textAlign='left'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1178 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1179 for(j = 0; j < uls.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1180 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1181 uls[j].style.margin='0 0 1em 2em'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1182 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1183 for(j = 0; j < ltr_spec.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1184 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1185 ltr_spec[j].style.display='inherit'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1186 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1187 for(j = 0; j < rtl_spec.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1188 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1189 rtl_spec[j].style.display='none'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1190 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1191 for(j = 0; j < author_dd.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1192 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1193 author_dd[j].style.marginleft='112px'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1194 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1195 for(j = 0; j < mod_dt.length; j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1196 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1197 mod_dt[j].style.paddingRight='4px'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1198 mod_dt[j].style.paddingLeft='0'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1199 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1200 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1201 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1202 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1203 function select_code(a) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1204 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1205 // Get ID of code block |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1206 var e = a.parentNode.parentNode.getElementsByTagName('PRE')[0]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1207 select_text(e.id); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1208 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1209 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1210 var selectedElement = -1; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1211 var boxes = box.length; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1212 var pre_count = 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1213 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1214 function select_text(id) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1215 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1216 var o = document.getElementById(id); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1217 if(!o) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1218 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1219 return; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1220 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1221 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1222 // Not IE |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1223 if (window.getSelection) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1224 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1225 var s = window.getSelection(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1226 // Safari |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1227 if (s.setBaseAndExtent) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1228 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1229 s.setBaseAndExtent(o, 0, o, o.innerText.length - 1); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1230 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1231 // Firefox and Opera |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1232 else |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1233 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1234 var r = document.createRange(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1235 r.selectNodeContents(o); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1236 s.removeAllRanges(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1237 s.addRange(r); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1238 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1239 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1240 // Some older browsers |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1241 else if (document.getSelection) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1242 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1243 var s = document.getSelection(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1244 var r = document.createRange(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1245 r.selectNodeContents(o); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1246 s.removeAllRanges(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1247 s.addRange(r); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1248 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1249 // IE |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1250 else if (document.selection) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1251 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1252 var r = document.body.createTextRange(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1253 r.moveToElementText(o); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1254 r.select(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1255 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1256 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1257 for(x = 0; x < box.length; x++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1258 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1259 if (box[x] == id) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1260 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1261 selectedElement = x; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1262 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1263 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1264 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1265 return o; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1266 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1267 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1268 /** |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1269 * Determines if an object is hidden. If a class is specified, checking will stop when that class is encountered. |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1270 */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1271 function is_hidden(o, className) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1272 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1273 o = typeof(o) == 'String' ? document.getElementById(o) : o; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1274 while (o) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1275 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1276 if (o.style && o.style.display == 'none') |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1277 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1278 return true; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1279 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1280 o = (o.parentNode && !(className && o.className == className)) ? o.parentNode : null; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1281 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1282 return false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1283 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1284 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1285 // function findPosY taken from http://www.quirksmode.org/js/findpos.html |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1286 function findPosY(obj) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1287 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1288 var curtop = 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1289 if (obj.offsetParent) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1290 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1291 while (obj.offsetParent) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1292 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1293 curtop += obj.offsetTop |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1294 obj = obj.offsetParent; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1295 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1296 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1297 else if (obj.y) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1298 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1299 curtop += obj.y; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1300 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1301 return curtop; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1302 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1303 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1304 function selectBox() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1305 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1306 obj = select_text(box[selectedElement]); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1307 window.scrollTo(0, findPosY(obj) - 100); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1308 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1309 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1310 function selectNextBox() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1311 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1312 // Find the next box that is not hidden |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1313 for (var i = 0; i < boxes; i++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1314 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1315 selectedElement = (selectedElement + 1 >= boxes) ? 0 : selectedElement + 1; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1316 if (!is_hidden(document.getElementById(box[selectedElement]), 'mod-edit-contents')) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1317 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1318 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1319 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1320 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1321 selectBox(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1322 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1323 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1324 function selectPrevBox() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1325 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1326 // Find the previos box that is not hidden |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1327 for (var i = 0; i < boxes; i++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1328 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1329 selectedElement = (selectedElement - 1 < 0) ? boxes - 1 : selectedElement - 1; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1330 if (!is_hidden(document.getElementById(box[selectedElement]), 'mod-edit-contents')) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1331 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1332 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1333 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1334 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1335 selectBox(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1336 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1337 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1338 function selectFirstBox() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1339 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1340 // Find the first box that is not hidden |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1341 for (selectedElement = 0; selectedElement < boxes; selectedElement++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1342 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1343 if (!is_hidden(document.getElementById(box[selectedElement]), 'mod-edit-contents')) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1344 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1345 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1346 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1347 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1348 selectBox(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1349 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1350 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1351 function mod_do_keypress(e) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1352 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1353 var key = (window.event && !window.event.ctrlKey) ? window.event.keyCode : ((e && !e.ctrlKey) ? e.which : null); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1354 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1355 switch (key) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1356 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1357 case 88: // X |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1358 case 187: // plus (+) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1359 case 190: // period/greater-than (.>) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1360 selectNextBox(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1361 return false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1362 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1363 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1364 case 87: // W |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1365 case 189: // minus (-) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1366 case 188: // comma/less-than (,<) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1367 selectPrevBox(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1368 return false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1369 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1370 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1371 case 83: // S |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1372 case 37: |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1373 selectFirstBox(); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1374 return false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1375 break; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1376 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1377 return true; // true allows browser to take care of any further key press combinations such as (ctrl|cmd) + c |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1378 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1379 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1380 /** |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1381 * Update the MODX with the selected dbms |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1382 * |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1383 */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1384 function change_dbms($form) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1385 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1386 $type = [ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1387 '', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1388 'mysql', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1389 'mysql_41', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1390 'mysql_40', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1391 'firebird', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1392 'mssql', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1393 'oracle', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1394 'postgres', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1395 'sqllite' |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1396 ]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1397 $exists = 0; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1398 $tags = document.getElementsByTagName('dbms'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1399 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1400 if ($form) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1401 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1402 sql_display($form.value); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1403 return; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1404 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1405 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1406 if ($tags.length > 0) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1407 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1408 for ($i = 0; $i < $tags.length; $i++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1409 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1410 if (!($dbms = $tags[$i].attributes['type'].nodeValue)) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1411 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1412 continue; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1413 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1414 $position = in_array($type, $dbms, true); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1415 if ($position !== false) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1416 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1417 $exists = (($exists > 0 && $position < $exists) || $exists == 0) ? $position : $exists; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1418 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1419 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1420 if ($exists > 0) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1421 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1422 sql_display($type[$exists]); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1423 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1424 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1425 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1426 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1427 /** |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1428 * Display the dbms specific sql data with the dbms we have selected |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1429 */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1430 function sql_display($value) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1431 { |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1432 var $ie = /*@cc_on!@*/false; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1433 var $tags = document.getElementsByTagName('dbms'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1434 if($ie) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1435 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1436 var $div_list = document.getElementsByTagName('div'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1437 } |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1438 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1439 // show the dbms of type we have selected, hide all others except for non dbms specific |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1440 for ($i = 0; $i < $tags.length; $i++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1441 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1442 if (!($dbms = $tags[$i].attributes['type'].nodeValue)) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1443 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1444 continue; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1445 } |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1446 if(!$ie) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1447 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1448 $tags[$i].style.display = ($dbms == $value) ? '' : 'none'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1449 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1450 else |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1451 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1452 for($j = 0; $j < $div_list.length; $j++) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1453 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1454 if($div_list[$j].name == $dbms) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1455 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1456 $div_list[$j].style.display = ($dbms == $value) ? '' : 'none'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1457 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1458 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1459 } |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1460 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1461 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1462 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1463 /** |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1464 * Load the sql dropdown with all the database types supported by this MODX file |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1465 */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1466 function sql_dropdown() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1467 { |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1468 var $ie = /*@cc_on!@*/false; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1469 var $dbms_element = document.getElementById('dbms'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1470 var $dbms_selector = document.getElementById('dbms-selector'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1471 if (!$dbms_element || !$dbms_selector) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1472 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1473 return; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1474 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1475 |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1476 /* if($ie) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1477 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1478 $dbms_selector.style.display = 'none'; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1479 return; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1480 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1481 */ |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1482 $type = [ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1483 'mysql', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1484 'mysql_41', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1485 'mysql_40', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1486 'firebird', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1487 'mssql', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1488 'oracle', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1489 'postgres', |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1490 'sqllite' |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1491 ]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1492 $options = []; |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1493 $ie_options = []; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1494 $ie_count = 0; |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1495 $tags = document.getElementsByTagName('dbms'); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1496 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1497 // Show the dbms of type we have selected, hide all others except for non dbms specific |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1498 for ($i = 0; $i < $tags.length; $i++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1499 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1500 if (!($dbms = $tags[$i].attributes['type'].nodeValue)) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1501 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1502 continue; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1503 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1504 if (($position = in_array($type, $dbms, true)) !== false) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1505 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1506 $options[$position] = '<option value=' + $dbms + '>' + $dbms + '</option>'; |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1507 if($ie) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1508 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1509 if(!in_array($ie_options, $dbms, false)) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1510 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1511 $ie_options[$ie_count++] = $dbms; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1512 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1513 } |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1514 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1515 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1516 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1517 if ($options.length > 0) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1518 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1519 $selects = ''; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1520 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1521 // sort options and output in the correct order |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1522 for ($i = 0; $i < $type.length; $i++) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1523 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1524 if ($options[$i]) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1525 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1526 $selects += $options[$i]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1527 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1528 } |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1529 $dbms_element.innerHTML=$selects; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1530 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1531 if($ie) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1532 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1533 for($i in $ie_options) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1534 { |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1535 $ie_option = document.createElement('option'); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1536 $ie_option.text = $ie_options[$i]; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1537 $ie_option.value = $ie_options[$i]; |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1538 $dbms_element.add($ie_option); |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1539 } |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1540 } |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1541 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1542 else |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1543 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1544 $dbms_selector.style.display = 'none'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1545 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1546 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1547 //-->]]> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1548 </xsl:text> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1549 /** |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1550 * Toggle the visibility of certain sections. |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1551 */ |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1552 var toggle_strings = { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1553 'show' : (enStrings.match(/^|\n(?:edt-show=)([^\n]*)\n|$/))[1], |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1554 'hide' : (enStrings.match(/^|\n(?:edt-hide=)([^\n]*)\n|$/))[1] |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1555 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1556 function init_mod_history() |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1557 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1558 <xsl:if test="count(mod:header/mod:history/mod:entry) > 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1559 document.getElementById('mod_history_content').style.display = 'none'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1560 document.getElementById('history_toggle_area').style.display = ''; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1561 document.getElementById('history_toggle_link').innerHTML = toggle_strings['show']; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1562 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1563 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1564 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1565 function toggle_display(o, n) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1566 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1567 var v = o.rel == 'hide'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1568 n.style.display = n.style.display == '' ? 'none' : ''; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1569 o.rel = v ? 'show' : 'hide'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1570 o.innerHTML = toggle_strings[o.rel]; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1571 if (o.id.indexOf('lang-edt-') == 0) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1572 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1573 o.style.textAlign = v ? 'left' : 'right'; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1574 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1575 return false; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1576 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1577 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1578 function toggle_history(o) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1579 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1580 return toggle_display(o, document.getElementById("mod_history_content")); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1581 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1582 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1583 function toggle_edit(o) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1584 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1585 var s = o.previousSibling; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1586 while (s.nodeType != 1) |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1587 { |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1588 s = s.previousSibling; |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1589 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1590 return toggle_display(o, s); |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1591 } |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1592 </script> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1593 </head> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1594 <body onload="startup()"> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1595 <div id="debug"></div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1596 <div id="wrap"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1597 <div id="page-header"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1598 <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> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1599 <form method="post" action="" id="lang-selector" style="display: none;"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1600 <fieldset class="nobg"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1601 <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> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1602 </fieldset> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1603 </form> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1604 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1605 <div id="page-body"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1606 <div id="acp"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1607 <div class="panel"><span class="corners-top"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1608 <div id="content"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1609 <div id="main"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1610 <xsl:for-each select="mod:header"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1611 <xsl:call-template name="give-header"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1612 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1613 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1614 <div class="permissions" id="Fieldset1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1615 <xsl:for-each select="mod:action-group"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1616 <xsl:call-template name="give-actions"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1617 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1618 <hr style="margin-bottom:0;" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1619 <div class="endMOD"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1620 <h2 id="lang-eom">Save all files. End of MOD.</h2> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1621 <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> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1622 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1623 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1624 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1625 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1626 <span class="corners-bottom"><span></span></span></div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1627 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1628 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1629 <div id="page-footer"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1630 <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> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1631 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1632 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1633 </body> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1634 </html> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1635 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1636 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1637 <xsl:template name="give-header"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1638 <fieldset> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1639 <legend id="lang-atm">About this MOD</legend> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1640 <div class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1641 <span class="corners-top"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1642 <dl> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1643 <dt id="lang-t" name="left4px">Title:</dt> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1644 <dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1645 <xsl:if test="count(mod:title) > 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1646 <dl id="title" class="nopadding"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1647 <xsl:for-each select="mod:title"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1648 <dt><xsl:value-of select="@lang" /></dt> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1649 <dd style='white-space:pre;' lang="{@lang}"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1650 <p><xsl:value-of select="current()" /></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1651 </dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1652 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1653 </dl> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1654 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1655 <xsl:if test="count(mod:title) = 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1656 <p lang="{@lang}" style='white-space:pre;'><xsl:value-of select="mod:title" /></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1657 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1658 </dd> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1659 <dt id="lang-d" name="left4px">Description:</dt> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1660 <dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1661 <xsl:if test="count(mod:description) > 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1662 <dl id="description" class="nopadding"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1663 <xsl:for-each select="mod:description"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1664 <dt><xsl:value-of select="@lang" /></dt> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1665 <dd lang="{@lang}"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1666 <p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1667 <xsl:call-template name="add-line-breaks"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1668 <xsl:with-param name="string"><xsl:value-of select="current()" /></xsl:with-param> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1669 </xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1670 </p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1671 </dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1672 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1673 </dl> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1674 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1675 <xsl:if test="count(mod:description) = 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1676 <p lang="{@lang}"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1677 <xsl:call-template name="add-line-breaks"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1678 <xsl:with-param name="string"><xsl:value-of select="mod:description" /></xsl:with-param> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1679 </xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1680 </p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1681 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1682 </dd> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1683 <dt id="lang-aV" name="left4px">Version:</dt> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1684 <dd class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1685 <p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1686 <xsl:for-each select="mod:mod-version"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1687 <xsl:value-of select="$version" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1688 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1689 </p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1690 </dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1691 <xsl:for-each select="mod:installation"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1692 <xsl:call-template name="give-installation"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1693 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1694 <xsl:if test="mod:author-notes != 'N/A' and mod:author-notes != 'n/a' and mod:author-notes != ''"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1695 <dt id="lang-ant" name="left4px">Author notes:</dt> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1696 <dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1697 <xsl:if test="count(mod:author-notes) > 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1698 <dl id="author-notes" class="nopadding"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1699 <xsl:for-each select="mod:author-notes"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1700 <dt><xsl:value-of select="@lang" /></dt> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1701 <dd lang="{@lang}"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1702 <p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1703 <xsl:call-template name="add-line-breaks"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1704 <xsl:with-param name="string"><xsl:value-of select="current()" /></xsl:with-param> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1705 </xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1706 </p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1707 </dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1708 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1709 </dl> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1710 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1711 <xsl:if test="count(mod:author-notes) = 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1712 <p lang="{@lang}"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1713 <xsl:call-template name="add-line-breaks"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1714 <xsl:with-param name="string"><xsl:value-of select="mod:author-notes" /></xsl:with-param> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1715 </xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1716 </p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1717 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1718 </dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1719 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1720 </dl> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1721 <span class="corners-bottom"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1722 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1723 </fieldset> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1724 <fieldset> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1725 <xsl:for-each select="mod:author-group"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1726 <xsl:if test="count(mod:author) > 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1727 <legend id="lang-aus">Authors</legend> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1728 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1729 <xsl:if test="count(mod:author) = 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1730 <legend id="lang-au">Author</legend> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1731 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1732 <xsl:call-template name="give-authors"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1733 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1734 </fieldset> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1735 <xsl:if test="count(../mod:action-group/mod:open) > 0"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1736 <h3 id="lang-fte">Files to edit</h3> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1737 <xsl:for-each select="../mod:action-group"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1738 <xsl:call-template name="give-files-to-edit"></xsl:call-template> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1739 </xsl:for-each> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1740 </xsl:if> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1741 <h3 id="lang-icf">Included files</h3> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1742 <xsl:if test="count(../mod:action-group/mod:copy/mod:file) = 0"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1743 <p id="lang-icfn">No files have been included with this MOD.</p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1744 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1745 <xsl:for-each select="../mod:action-group"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1746 <xsl:call-template name="give-files-included"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1747 </xsl:for-each> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1748 <h3 id="lang-addtl-modx">Additional MODX files</h3> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1749 <xsl:if test="count(mod:link-group/mod:link) = 0"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1750 <p id="lang-imn">This MOD has no additional MODX files.</p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1751 </xsl:if> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1752 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1753 <ul class="link-group" id="link-group"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1754 <xsl:for-each select="mod:link-group/mod:link"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1755 <li lang="{@lang}"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1756 <span class="link-group-lang"><xsl:value-of select="@lang" /> </span><strong> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1757 <xsl:if test="@type = 'dependency'"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1758 <span id="lang-link-d">Dependency</span>: |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1759 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1760 <xsl:if test="@type = 'template'"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1761 <span id="lang-link-te">Template</span>: |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1762 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1763 <xsl:if test="@type = 'contrib'"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1764 <span id="lang-link-c">Contrib</span>: |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1765 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1766 <xsl:if test="@type = 'language'"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1767 <span id="lang-link-l">Language</span>: |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1768 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1769 <xsl:if test="@type = 'template-lang'"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1770 <span id="lang-link-tl">Template lang</span>: |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1771 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1772 <xsl:if test="@type = 'parent'"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1773 <span id="lang-link-p">Parent</span>: |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1774 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1775 </strong> <a href="{@href}"><xsl:value-of select="current()" /></a> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1776 </li> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1777 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1778 </ul> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1779 <hr /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1780 <div id="modDisclaimer"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1781 <h3><span id="lang-dcl">Disclaimer</span> <span id="lang-ont">and other notes</span></h3> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1782 <div class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1783 <span class="corners-top"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1784 <div class="mod-about-padding"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1785 <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> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1786 <p><span id="lang-ontt1">Before adding this MOD to your forum, you should back up all files related to this MOD.</span></p> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1787 <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> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1788 <xsl:for-each select="./mod:mod-version"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1789 <xsl:if test="substring-before(current(), '.') = 0"> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1790 <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> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1791 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1792 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1793 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1794 <span class="corners-bottom"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1795 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1796 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1797 <div> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1798 <h3><span id="lang-lic">License</span> <span id="lang-isp">and English support</span></h3> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1799 <div class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1800 <span class="corners-top"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1801 <div class="mod-about-padding"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1802 <p><span id="lang-lict">This MOD has been licensed under the following license:</span></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1803 <p style='white-space:pre;'><a href="license.txt"><xsl:value-of select="mod:license" /></a></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1804 <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> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1805 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1806 <span class="corners-bottom"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1807 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1808 <xsl:for-each select="mod:history"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1809 <xsl:call-template name="give-mod-history"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1810 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1811 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1812 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1813 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1814 <xsl:template name="give-authors"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1815 <xsl:for-each select="mod:author"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1816 <div class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1817 <span class="corners-top"><span></span></span> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1818 <dl class="author-info"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1819 <dt id="lang-a-un[{generate-id()}]" name="left4px">Username:</dt> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1820 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1821 <xsl:variable name="authorname" select="mod:username" /> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1822 <xsl:for-each select="mod:username"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1823 <xsl:choose> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1824 <xsl:when test="@phpbbcom = 'no' or @phpbbcom = 'No' or @phpbbcom = 'NO'"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1825 <dd name="author-dd"><span dir="ltr"><xsl:value-of select="$authorname" /></span></dd> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1826 </xsl:when> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1827 <xsl:otherwise> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1828 <xsl:variable name="authortemp"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1829 <xsl:call-template name="replaceCharsInString"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1830 <xsl:with-param name="stringIn" select="string($authorname)"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1831 <xsl:with-param name="charsIn" select="'#'"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1832 <xsl:with-param name="charsOut" select="'%23'"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1833 </xsl:call-template> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1834 </xsl:variable> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1835 <xsl:variable name="authorurl"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1836 <xsl:call-template name="replaceCharsInString"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1837 <xsl:with-param name="stringIn" select="string($authortemp)"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1838 <xsl:with-param name="charsIn" select="' '"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1839 <xsl:with-param name="charsOut" select="'%20'"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1840 </xsl:call-template> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1841 </xsl:variable> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1842 <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> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1843 </xsl:otherwise> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1844 </xsl:choose> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1845 </xsl:for-each> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1846 <xsl:if test="mod:email != 'N/A' and mod:email != 'n/a' and mod:email != ''"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1847 <dt id="lang-a-e[{generate-id()}]">Email:</dt> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1848 <dd name="author-dd"><a href="mailto:{mod:email}"><xsl:value-of select="mod:email" /></a></dd> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1849 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1850 <xsl:if test="mod:realname != 'N/A' and mod:realname != 'n/a' and mod:realname != ''"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1851 <dt id="lang-a-n[{generate-id()}]">Name:</dt> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1852 <dd name="author-dd"><xsl:value-of select="mod:realname" /></dd> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1853 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1854 <xsl:if test="mod:homepage != 'N/A' and mod:homepage != 'n/a' and mod:homepage!=''"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1855 <dt id="lang-a-h[{generate-id()}]">WWW:</dt> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1856 <dd name="author-dd"><a href="{mod:homepage}" dir="ltr"><xsl:value-of select="mod:homepage" /></a></dd> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1857 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1858 <xsl:if test="count(mod:contributions-group) > 0"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1859 <dt id="lang-a-c[{generate-id()}]">Contributions:</dt> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1860 <xsl:for-each select="mod:contributions-group/mod:contributions"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1861 <dd name="author-dd"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1862 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1863 <span name="rtl-spec" style="display: none"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1864 <xsl:if test="@status = 'past' and @from != 'N/A' and @from != 'n/a' and @from!=''"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1865 <xsl:if test="@to != 'N/A' and @to != 'n/a' and @to!=''"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1866 <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" /> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1867 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1868 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1869 <xsl:if test="@status = 'current' and @from != 'N/A' and @from != 'n/a' and @from!=''"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1870 <span id="lang-a-c-s[{generate-id()}]]">Since</span>: <xsl:value-of select="@from" /> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1871 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1872 <strong style="text-transform: capitalize;"><xsl:value-of select="@position" /></strong> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1873 </span> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1874 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1875 <span name="ltr-spec"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1876 <strong style="text-transform: capitalize;"><xsl:value-of select="@position" /></strong> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1877 <xsl:if test="@status = 'past' and @from != 'N/A' and @from != 'n/a' and @from!=''"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1878 <xsl:if test="@to != 'N/A' and @to != 'n/a' and @to!=''"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1879 (<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" />) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1880 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1881 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1882 <xsl:if test="@status = 'current' and @from != 'N/A' and @from != 'n/a' and @from!=''"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1883 (<span id="lang-a-c-s[{generate-id()}]]">Since</span>: <xsl:value-of select="@from" />) |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1884 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1885 </span> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1886 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1887 </dd> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1888 </xsl:for-each> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1889 </xsl:if> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1890 </dl> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1891 <span class="corners-bottom"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1892 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1893 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1894 </xsl:template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1895 |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1896 <xsl:template name="give-installation"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1897 <dt id="lang-il" name="left4px">Installation level:</dt> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1898 <dd class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1899 <div class="inner"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1900 <xsl:if test="mod:level='easy'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1901 <p id="lang-ile">Easy</p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1902 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1903 <xsl:if test="mod:level='intermediate'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1904 <p id="lang-ili">Intermediate</p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1905 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1906 <xsl:if test="mod:level='advanced'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1907 <p id="lang-ila">Advanced</p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1908 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1909 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1910 </dd> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1911 <dt id="lang-it" name="left4px">Installation time:</dt> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1912 <dd class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1913 <div class="inner"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1914 <p>~<xsl:value-of select="floor(mod:time div 60)" /> <span id="lang-mint">minutes</span></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1915 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1916 </dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1917 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1918 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1919 <xsl:template name="give-mod-history"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1920 <xsl:if test="count(mod:entry) > 0"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1921 <fieldset> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1922 <legend id="lang-mh">MOD history</legend> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1923 <div class="mod-about" id="history_toggle_area" style="display:none;"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1924 <span class="corners-top"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1925 <div class="mod-about-padding"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1926 <a href="#" id="history_toggle_link" rel="show" onclick="return toggle_history(this);"></a> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1927 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1928 <span class="corners-bottom"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1929 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1930 <div id="mod_history_content"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1931 <xsl:for-each select="mod:entry"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1932 <xsl:call-template name="give-history-entry"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1933 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1934 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1935 </fieldset> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1936 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1937 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1938 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1939 <xsl:template name="give-history-entry"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1940 <div class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1941 <span class="corners-top"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1942 <dl class="mod-history"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1943 <dt> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1944 <p><strong><xsl:value-of select="substring(mod:date,1,10)" /> <span id="lang-mhe-v[{generate-id()}]">- Version</span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1945 <xsl:for-each select="mod:rev-version"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1946 <xsl:value-of select="current()" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1947 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1948 </strong></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1949 </dt> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1950 <dd><br clear="all" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1951 <xsl:if test="count(mod:changelog) > 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1952 <dl id="mhcl[{generate-id()}]"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1953 <xsl:for-each select="mod:changelog"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1954 <xsl:call-template name="give-history-entry-changelog"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1955 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1956 </dl> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1957 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1958 <xsl:if test="count(mod:changelog) = 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1959 <xsl:for-each select="mod:changelog"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1960 <xsl:call-template name="give-history-entry-changelog-single"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1961 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1962 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1963 </dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1964 </dl> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1965 <span class="corners-bottom"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1966 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1967 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1968 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1969 <xsl:template name="give-history-entry-changelog"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1970 <dt><xsl:value-of select="@lang" /></dt> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1971 <dd lang="{@lang}"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1972 <ul> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1973 <xsl:for-each select="mod:change"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1974 <li> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1975 <p><xsl:value-of select="current()" /></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1976 </li> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1977 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1978 </ul> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1979 </dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1980 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1981 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1982 <xsl:template name="give-history-entry-changelog-single"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1983 <ul> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1984 <xsl:for-each select="mod:change"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1985 <li> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1986 <p><xsl:value-of select="current()" /></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1987 </li> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1988 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1989 </ul> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1990 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1991 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1992 <xsl:template name="give-files-to-edit"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1993 <ul> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1994 <xsl:for-each select="mod:open"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1995 <xsl:call-template name="give-file"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1996 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1997 </ul> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1998 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
1999 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2000 <xsl:template name="give-files-included"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2001 <ul> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2002 <xsl:for-each select="mod:copy"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2003 <xsl:call-template name="give-file-copy"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2004 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2005 </ul> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2006 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2007 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2008 <xsl:template name="give-file"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2009 <li><a href="#{@src}"><xsl:value-of select="@src" /></a><xsl:if test="position()!=last()">,</xsl:if></li> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2010 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2011 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2012 <xsl:template name="give-file-copy"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2013 <xsl:for-each select="mod:file"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2014 <li><xsl:value-of select="@from" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2015 <xsl:if test="position()!=last()">, |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2016 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2017 </li> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2018 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2019 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2020 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2021 <xsl:template name="give-actions"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2022 <xsl:if test="count(mod:sql) > 0 or count(mod:copy) > 0 or count(mod:open) > 0"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2023 <hr /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2024 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2025 <xsl:if test="count(mod:sql) > 0"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2026 <form method="post" action="" id="dbms-selector"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2027 <fieldset class="nobg"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2028 <label for="dbms"> <span id="lang-dbms">Select Database Type:</span> </label> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2029 <select id="dbms" name="dbms" onchange="change_dbms(this);"> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2030 <option value="mysql_41" selected="selected">MySQL 41</option> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2031 <option value="mysql_40">MySQL 40</option> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2032 <option value="firebird">Firebird</option> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2033 <option value="mssql">MSSQL</option> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2034 <option value="oracle">Oracle</option> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2035 <option value="postgres">Postgres</option> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2036 <option value="sqllite">SQLLite</option> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2037 </select> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2038 </fieldset> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2039 </form> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2040 <h2 id="lang-sql">SQL</h2> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2041 <div id="sql" class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2042 <span class="corners-top"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2043 <xsl:for-each select="mod:sql"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2044 <xsl:call-template name="give-sql"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2045 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2046 <span class="corners-bottom"><span></span></span></div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2047 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2048 <xsl:if test="count(mod:copy) > 0"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2049 <xsl:for-each select="mod:copy"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2050 <xsl:call-template name="give-filez"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2051 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2052 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2053 <xsl:if test="count(mod:open) > 0"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2054 <h2 id="lang-edts">Edits</h2> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2055 <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> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2056 <div id="edits"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2057 <div class="inner"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2058 <xsl:for-each select="mod:open"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2059 <xsl:call-template name="give-fileo"></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2060 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2061 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2062 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2063 </xsl:if> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2064 <xsl:call-template name="give-manual" /> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2065 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2066 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2067 <xsl:template name="give-sql"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2068 <dbms type="{@dbms}"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2069 <div class="content" name="{@dbms}"> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2070 <xsl:if test="@dbms != ''"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2071 <xsl:value-of select="@dbms" />: |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2072 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2073 <div class="codebox"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2074 <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> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2075 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2076 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2077 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2078 </dbms> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2079 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2080 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2081 <xsl:template name="give-manual"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2082 <xsl:if test="count(mod:diy-instructions)"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2083 <h2 id="lang-diy">DIY instructions</h2> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2084 <div class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2085 <span class="corners-top"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2086 <div class="mod-about-padding"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2087 <p><span id="lang-diyt">These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.</span></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2088 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2089 <div id="diy"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2090 <xsl:for-each select="mod:diy-instructions"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2091 <div lang="{@lang}" style="margin:0;"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2092 <div class="content"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2093 <div class="codebox"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2094 <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> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2095 <div class="codePre"><pre id="{generate-id()}"><xsl:value-of select="current()" /></pre></div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2096 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2097 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2098 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2099 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2100 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2101 <span class="corners-bottom"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2102 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2103 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2104 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2105 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2106 <xsl:template name="give-fileo"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2107 <div class="mod-about"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2108 <span class="corners-top"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2109 <div class="editFile"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2110 <h3><span id="lang-opn[{generate-id()}]">Open:</span> <a name="{@src}"><xsl:value-of select="@src" /></a></h3> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2111 <xsl:for-each select="mod:edit"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2112 <div class="mod-edit"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2113 <div class="mod-edit-contents"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2114 <xsl:if test="count(mod:comment) > 0"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2115 <div class="mod-comment" style="margin:0;"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2116 <h4 id="lang-cm-cmt[{generate-id()}]">Comments</h4> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2117 <dl id="mod-comment[{generate-id()}]"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2118 <xsl:for-each select="mod:comment"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2119 <dt><span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2120 <xsl:if test="count(../mod:comment) > 1"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2121 <xsl:value-of select="@lang" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2122 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2123 </span></dt> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2124 <dd lang="{@lang}"><xsl:value-of select="current()" /></dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2125 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2126 </dl> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2127 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2128 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2129 <xsl:for-each select="mod:find|mod:action|mod:inline-edit"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2130 <xsl:if test="name() = 'find'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2131 <h4 id="lang-fnd[{generate-id()}]">Find</h4> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2132 <p><span id="lang-fndt[{generate-id()}]"><strong>Tip:</strong> This may be a partial find and not the whole line.</span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2133 <xsl:if test="@type = 'regex'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2134 <br /><em id="lang-regex[{generate-id()}]">This find contains an advanced feature known as regular expressions, click here to learn more.</em> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2135 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2136 </p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2137 <div class="codebox"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2138 <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> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2139 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2140 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2141 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2142 <xsl:if test="name() = 'action'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2143 <xsl:if test="@type = 'after-add'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2144 <h4 id="lang-aft[{generate-id()}]">Add after</h4> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2145 <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> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2146 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2147 <xsl:if test="@type = 'before-add'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2148 <h4 id="lang-bef[{generate-id()}]">Add before</h4> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2149 <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> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2150 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2151 <xsl:if test="@type = 'replace-with'"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2152 <h4 id="lang-rplw[{generate-id()}]">Replace with</h4> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2153 <p><span id="lang-rplwt[{generate-id()}]"><strong>Tip:</strong> Replace the preceding line(s) to find with the following lines.</span></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2154 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2155 <xsl:if test="@type = 'operation'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2156 <h4 id="lang-inc[{generate-id()}]">Increment</h4> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2157 <p><span id="lang-inct[{generate-id()}]"><strong>Tip:</strong> This allows you to alter integers. For help on what each operator means, click here.</span></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2158 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2159 <div class="codebox"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2160 <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> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2161 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2162 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2163 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2164 <xsl:if test="name() = 'inline-edit'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2165 <div class="mod-inlineedit"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2166 <xsl:for-each select="mod:inline-find|mod:inline-action|mod:inline-comment"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2167 <xsl:if test="name() = 'inline-find'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2168 <h5 id="lang-ifnd[{generate-id()}]">In-line Find</h5> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2169 <p><span id="lang-ifndt[{generate-id()}]"><strong>Tip:</strong> This is a partial match of a line for in-line operations.</span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2170 <xsl:if test="@type = 'regex'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2171 <br /><em id="lang-regex[{generate-id()}]">This find contains an advanced feature known as regular expressions, click here to learn more.</em> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2172 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2173 </p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2174 <div class="codebox"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2175 <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> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2176 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2177 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2178 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2179 <xsl:if test="name() = 'inline-action'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2180 <xsl:if test="@type = 'after-add'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2181 <h5 id="lang-iaft[{generate-id()}]">In-line Add after</h5> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2182 <p><span id="lang-iaftt[{generate-id()}]"></span></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2183 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2184 <xsl:if test="@type = 'before-add'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2185 <h5 id="lang-ibef[{generate-id()}]">In-line Add before</h5> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2186 <p><span id="lang-ibeft[{generate-id()}]"></span></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2187 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2188 <xsl:if test="@type = 'replace-with'"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2189 <h5 id="lang-irplw[{generate-id()}]">In-line Replace with</h5> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2190 <p><span id="lang-irplwt[{generate-id()}]"></span></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2191 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2192 <xsl:if test="@type = 'operation'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2193 <h5 id="lang-iinc[{generate-id()}]">In-line Increment</h5> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2194 <p><span id="lang-iinct[{generate-id()}]"><strong>Tip:</strong> This allows you to alter integers. For help on what each operator means, click here.</span></p> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2195 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2196 <div class="codebox"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2197 <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> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2198 <div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2199 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2200 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2201 <xsl:if test="name() = 'inline-comment'"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2202 <dl id="comment[{generate-id()}]"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2203 <dt><span id="lang-cm-cmt[{generate-id()}]">Comments</span> <span><xsl:value-of select="@lang" /></span></dt> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2204 <dd lang="{@lang}"><xsl:value-of select="current()" /></dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2205 </dl> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2206 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2207 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2208 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2209 </xsl:if> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2210 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2211 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2212 <a href="#" id="lang-edt-hide[{generate-id()}]" class="edit_toggle_link" rel="hide" onclick="return toggle_edit(this);"><< Hide</a> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2213 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2214 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2215 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2216 <span class="corners-bottom"><span></span></span> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2217 </div> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2218 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2219 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2220 <xsl:template name="give-filez"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2221 <h2 id="lang-fca">File copy</h2> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2222 <ol id="file-copy"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2223 <xsl:for-each select="mod:file"> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2224 <li> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2225 <dl> |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2226 <dt><span id="lang-c-copy[{generate-id()}]">Copy:</span> <xsl:value-of select="@from" /></dt> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2227 <dd><span id="lang-c-to[{generate-id()}]">To:</span> <xsl:value-of select="@to" /></dd> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2228 </dl> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2229 </li> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2230 </xsl:for-each> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2231 </ol> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2232 </xsl:template> |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2233 |
1
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2234 <!-- add-line-breaks borrowed from http://www.stylusstudio.com/xsllist/200103/post40180.html --> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2235 <xsl:template name="add-line-breaks"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2236 <xsl:param name="string" select="." /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2237 <xsl:choose> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2238 <xsl:when test="contains($string, '
')"> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2239 <xsl:value-of select="substring-before($string, '
')" /><br /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2240 <xsl:call-template name="add-line-breaks"><xsl:with-param name="string" select="substring-after($string, '
')" /></xsl:call-template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2241 </xsl:when> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2242 <xsl:otherwise> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2243 <xsl:value-of select="$string" /> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2244 </xsl:otherwise> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2245 </xsl:choose> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2246 </xsl:template> |
d5536d233ec1
Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2247 |
20
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2248 <!-- replace function borrowed from http://www.dpawson.co.uk/xsl/sect2/replace.html#d9701e43 --> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2249 <xsl:template name="replaceCharsInString"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2250 <xsl:param name="stringIn"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2251 <xsl:param name="charsIn"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2252 <xsl:param name="charsOut"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2253 <xsl:choose> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2254 <xsl:when test="contains($stringIn,$charsIn)"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2255 <xsl:value-of select="concat(substring-before($stringIn,$charsIn),$charsOut)"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2256 <xsl:call-template name="replaceCharsInString"> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2257 <xsl:with-param name="stringIn" select="substring-after($stringIn,$charsIn)"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2258 <xsl:with-param name="charsIn" select="$charsIn"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2259 <xsl:with-param name="charsOut" select="$charsOut"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2260 </xsl:call-template> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2261 </xsl:when> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2262 <xsl:otherwise> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2263 <xsl:value-of select="$stringIn"/> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2264 </xsl:otherwise> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2265 </xsl:choose> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2266 </xsl:template> |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2267 |
51084c02e981
* Fix bad logic (<= instead of <)
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
2268 </xsl:stylesheet> |