annotate modx.prosilver.en.xsl @ 13:7ef9cdf7b325 1.3.1

Re #1: * Update to v1.3.1 (hide rank theme selection for users with a special rank)
author IBBoard <dev@ibboard.co.uk>
date Sun, 07 Jun 2009 18:43:44 +0000
parents d5536d233ec1
children 51084c02e981
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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"?>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 <!-- MODX by the phpBB MOD Team XSL file v1.2.2 copyright 2005-2009 the phpBB MOD Team.
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.
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 $Id: modx.prosilver.en.xsl 2937 2009-04-28 00:13:55Z jelly_doughnut $ -->
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 "&#160;">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 ]>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
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.2.xsd">
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">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 <xsl:for-each select="mod:mod/mod:header/mod:mod-version">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 <xsl:value-of select="current()" />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 </xsl:variable>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 <xsl:template match="mod:mod">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <html xmlns="http://www.w3.org/1999/xhtml">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <head>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <meta http-equiv="Content-Language" content="en" />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 <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
21 <style type="text/css">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 /* phpBB 3.0 Admin Style Sheet
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 Original author: subBlue ( http://www.subblue.com/ )
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 Copyright 2007 phpBB Group ( http://www.phpbb.com/ )
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
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 /* General markup styles
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 ––––––––––––––––––––––––––––––*/
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 /* Reset browsers default margin, padding and font sizes */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 margin:0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 padding:0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 font-size:100%;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 }
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 body, div, p, th, td, li, dd {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 font-size:x-small;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 voice-family:"\"}\"";
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 voice-family:inherit;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 font-size:100%;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 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
46 font-size:small
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 html {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 color:#536482;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 background:#DBD7D1;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 /* 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
53 height:100%;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 margin-bottom:1px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 body {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 /* 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
59 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
60 color:#536482;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 background:#DBD7D1;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 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
63 margin:10px 15px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 img {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 border:0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 h1 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 font-family:"Trebuchet MS", Helvetica, sans-serif;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 font-size:1.70em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 font-weight:normal;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 color:#333333;
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 h2, caption {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 font-family:"Trebuchet MS", Helvetica, sans-serif;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 font-size:1.40em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 font-weight:normal;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 color:#115098;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 text-align:left;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 margin-top:25px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 .rtl h2, .rtl caption {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 text-align:right;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 h3, h4, h5 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 font-family:"Trebuchet MS", Helvetica, sans-serif;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 font-size:1.20em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 text-decoration:none;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 line-height:1.20em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 margin-top:10px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 p {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 margin-bottom:0.7em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 line-height:1.40em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 font-size:1.0em;
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 ul {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 list-style:disc;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 margin:0 0 1em 2em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 }
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 .rtl ul {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 margin:0 2em 1em 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 hr {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 border:0 none;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 border-top:1px dashed #999999;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 margin-bottom:5px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
117 padding-bottom:5px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 height:1px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 .small {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 font-size:0.85em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 /* General links */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126 a:link, a:visited {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 color:#105289;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 text-decoration:none;
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 a:link:hover {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 color:#BC2A4D;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 text-decoration:underline;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
134 }
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 a:active {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 color:#368AD2;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138 text-decoration:none;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 }
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 /* Main blocks
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 ––––––––––––––––––––––––––––––––––––––––*/
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
143 #wrap {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 padding:0 0 15px 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 min-width:615px;
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148 #page-header {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
149 clear:both;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
150 text-align:right;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
151 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
152 height:69px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
153 font-size:0.85em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
154 margin-bottom:10px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
155 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
156
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157 .rtl #page-header {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
158 text-align:left;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
159 background:top right no-repeat;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
160 }
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 #page-header h1 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
163 color:#767676;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
164 font-family:"Trebuchet MS",Helvetica,sans-serif;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
165 font-size:1.70em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
166 padding-top:10px;
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
169 #page-header p {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 font-size:1.00em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
172
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
173 #page-body {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
174 clear:both;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
175 min-width:700px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
176 }
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 #page-footer {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
179 clear:both;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
180 font-size:0.75em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
181 text-align:center;
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 #content {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
185 padding:0px 10px 10px 10px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
186 position:relative;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
187 }
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 #content h1 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
190 color:#115098;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
191 line-height:1.2em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
192 margin-bottom:0px;
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 #main {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
196 width:100%;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
197 margin:0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
198 min-height:350px;
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 .rtl #main {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
202 float:right;
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 }
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 * html #main {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
207 height:350px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
208 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
209
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 /* Main Panel
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 #acp {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
213 margin:4px 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
214 padding:3px 1px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
215 min-width:550px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
216 background-color:#FFFFFF;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
217 border:1px #999999 solid;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
218 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
219
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
220 .panel {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
221 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
222 padding:0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
223 }
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 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
226 font-size:1px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
227 line-height:1px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
228 display:block;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
229 height:5px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
230 background-repeat:no-repeat;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
231 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
232
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
233 span.corners-top, span.corners-bottom {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 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
235 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
237 span.corners-top span, span.corners-bottom span {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238 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
239 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
240
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
241 span.corners-top {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
242 background-position:0 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
243 margin:-4px -2px 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
244 }
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 span.corners-top span {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
247 background-position:100% 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
248 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
249
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
250 span.corners-bottom {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
251 background-position:0 100%;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
252 margin:0 -2px -4px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
253 clear:both;
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 span {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
257 background-position:100% 100%;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
258 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
259
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
260 /* General form styles
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 fieldset {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
263 margin:15px 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
264 padding:1px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
265 border-top:1px solid #D7D7D7;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
266 border-right:1px solid #CCCCCC;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
267 border-bottom:1px solid #CCCCCC;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
268 border-left:1px solid #D7D7D7;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
269 background-color:#FFFFFF;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
270 /*position:relative;*/
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
271 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
272
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
273 .rtl fieldset {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
274 border-top:1px solid #D7D7D7;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
275 border-right:1px solid #D7D7D7;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
276 border-bottom:1px solid #CCCCCC;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
277 border-left:1px solid #CCCCCC;
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
280 * html fieldset {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
281 padding:0 10px 5px 10px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
282 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
283
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
284 fieldset p {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
285 font-size:1.0em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
286 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
287
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
288 legend {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
289 padding:1px 3px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
290 font-family:Tahoma,arial,Verdana,Sans-serif;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
291 font-size:1.06em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
292 font-weight:bold;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
293 color:#115098;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
294 /* position:relative;*/
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
295 text-transform:capitalize;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
296 line-height:1.00em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
297 top:0em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
298 vertical-align:middle;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
299 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
300
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
301 /* Hide from macIE \*/
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
302 legend { top:-1.2em; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
303 /* end */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
304
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
305 * html legend {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
306 margin-bottom:-10px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
307 margin-left:-7px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
308 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
309
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
310 /* Holly hack, .rtl comes after html */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
311 * html .rtl legend {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
312 margin:0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
313 margin-right:-7px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
314 }
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 optgroup, select {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
317 font-family: Verdana, Helvetica, Arial, sans-serif;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
318 font-size: 0.85em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
319 font-weight: normal;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
320 font-style: normal;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
321 cursor: pointer;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
322 vertical-align: middle;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
323 width: auto;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
324 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
325
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
326 optgroup {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
327 font-size: 1.00em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
328 font-weight: bold;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
329 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
330
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
331 option {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
332 padding:0 1em 0 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
333 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
334
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
335 .rtl option {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
336 padding:0 0 0 1em;
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
339 fieldset.nobg {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
340 margin:15px 0 0 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
341 padding:0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
342 border:none;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
343 background-color:transparent;
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 /* MOD-ABOUT STUFFS ~smithy_dll */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
347
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
348 .mod-about {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
349 background-color:#CADCEB;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
350 /*width:100%;*/
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 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
354 font-size:1px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
355 line-height:1px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
356 display:block;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
357 height:5px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
358 background-repeat:no-repeat;
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
361 .mod-about span.corners-top, .mod-about span.corners-bottom {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
362 background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABVSURBVHjaYviPAD+BeDIQ2wMxGwNU8AkQGwAxAwwzQFXqIgvCJCajC8IkbLBJMIItYmD4xYAGmBhwAJCEMS6JcKxa8DkX5kFdbBKwIJkADRIGgAADAGtyotIvyqGpAAAAAElFTkSuQmCC);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
363 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
364
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
365 .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
366 background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABbSURBVHjaYvr//z8bENsD8WQg/vkfChjQsAEQPwFJMDGgggtA7AnEv9AlQOAyEM/CJgECK3FJnMIlwYZLQheXRDg2CV0gzmTCIrgd2Q4bIJ4AxGeAWBokABBgAE4XMoXm9S+UAAAAAElFTkSuQmCC);
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
369 .mod-about span.corners-top {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
370 background-position:0 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
371 margin:0 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
372 }
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 .mod-about span.corners-top span {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
375 background-position:100% 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
376 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
377
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
378 .mod-about span.corners-bottom {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
379 background-position:0 100%;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
380 margin:0 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
381 clear:both;
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 span {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
385 background-position:100% 100%;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
386 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
387
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
388 .mod-about-padding { 0px 8px; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
389 .mod-about { margin:10px 4px; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
390 .mod-about dt { font-weight:bold; padding-right:4px; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
391 .mod-about dl { margin:0px 8px; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
392 .mod-about div { margin:3px 8px; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
393 /*div.inner .mod-about dl { margin:0px 0px; }*/
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
394 /*.nopadding { margin:0px 0px; }*/
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
395
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
396 .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
397 #language { width:130px; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
398 #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
399 #other-notes.mod-about strong.red { color:#DD3333; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
400 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
401 .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
402 .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
403
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
404 dl.author-info dd { margin-left:112px; margin-bottom:8px; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
405 ol#file-copy { padding:5px; margin-left:20px; margin-bottom:10px; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
406 ol#file-copy li { margin-left:30px; vertical-align:top;}
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
407 ol#file-copy span { font-weight:bold; }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
408 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
409 ol#file-copy dl {width:100%}
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
410 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
411
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
412 /* Code block */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
413 div.codebox {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
414 padding:3px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
415 background-color:#FFFFFF;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
416 border:1px solid #d8d8d8;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
417 font-size:1em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
418 }
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 div.codebox div.codeHead {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
421 text-transform:uppercase;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
422 border-bottom:1px solid #CCCCCC;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
423 margin-bottom:3px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
424 font-size:0.8em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
425 font-weight:bold;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
426 display:block;
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
429 div.codebox div.codeHead a.codeSelect {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
430 padding-left:5px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
431 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
432
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
433 blockquote div.codebox {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
434 margin-left:0;
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 pre {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
438 /* Also see tweaks.css */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
439 width:100%;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
440 overflow-x:scroll;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
441 display:block;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
442 height:auto;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
443 max-height:200px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
444 /*white-space:normal;*/
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
445 padding-top:5px;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
446 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
447 line-height:1.3em;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
448 color:#606060;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
449 margin:2px 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
450 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
451
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
452 dt {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
453 float:left;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
454 width:auto;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
455 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
456
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
457 .rtl dt {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
458 float:right;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
459 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
460
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
461 dd {color:#666666;}
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
462 dd + dd {padding-top:5px;}
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
463 dt span {padding:0 5px 0 0;}
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
464 .rtl dt span {padding:0 0 0 5px;}
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
465 div.endMOD {padding:0 5px;}
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
466
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
467 #history_toggle_link {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
468 display:block;
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 .edit_toggle_link {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
471 display:block;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
472 text-align:right;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
473 margin-bottom:2px;
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 </style>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
476 <title>phpBB MOD &#187; <xsl:value-of select="$title" /></title>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
477 <script type="text/javascript">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
478 var i = 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
479
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
480 /* passed from xslt */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
481 <xsl:for-each select="mod:header">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
482 <xsl:for-each select="mod:author-group">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
483 var authors_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
484 <xsl:for-each select="mod:author">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
485 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
486 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
487 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
488
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
489 var mhes_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
490 var mhcls_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
491 <xsl:for-each select="mod:history/mod:entry">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
492 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
493 <xsl:if test="count(mod:changelog) > 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
494 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
495 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
496 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
497 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
498
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
499 var opens_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
500 <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
501 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
502 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
503
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
504 var codes_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
505 <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
506 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
507 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
508
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
509 var edits_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
510 <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
511 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
512 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
513
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
514 var finds_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
515 var regex_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
516 var ifinds_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
517 var iregex_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
518 var addafters_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
519 var iaddafters_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
520 var addbefores_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
521 var iaddbefores_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
522 var replacewiths_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
523 var ireplacewiths_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
524 var increments_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
525 var iincrements_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
526 var comments_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 <xsl:for-each select="mod:find">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
529 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
530 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
531 <xsl:if test="count(mod:comment) > 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
532 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
533 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
534 <xsl:for-each select="mod:find|mod:action">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
535 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
536 <xsl:if test="name() = 'action'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
537 <xsl:if test="@type = 'after-add'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
538 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
539 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
540 <xsl:if test="@type = 'before-add'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
541 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
542 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
543 <xsl:if test="@type = 'replace-with'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
544 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
545 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
546 <xsl:if test="@type = 'operation'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
547 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
548 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
549 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
550 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
551 <xsl:for-each select="mod:inline-edit">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
552 <xsl:for-each select="mod:inline-find">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
553 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
554 <xsl:if test="@type = 'regex'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
555 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
556 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
557 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
558 <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
559 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
560 <xsl:if test="name() = 'inline-action'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
561 <xsl:if test="@type = 'after-add'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
562 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
563 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
564 <xsl:if test="@type = 'before-add'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
565 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
566 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
567 <xsl:if test="@type = 'replace-with'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
568 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
569 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
570 <xsl:if test="@type = 'operation'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
571 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
572 </xsl:if>
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>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
576 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
577
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
578 <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
579 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
580 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
581
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
582 var copies_ll = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
583 <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
584 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
585 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
586
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
587 <xsl:text disable-output-escaping="yes">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
588 <![CDATA[
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
589 // 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
590 document.onkeydown = mod_do_keypress;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
591
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
592 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
593
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
594 var enStrings = "h1=Installation Instructions for\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
595 "edt-show=Show&nbsp;&gt;&gt;\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
596 "edt-hide=&lt;&lt;&nbsp;Hide\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
597 "V=Version\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
598 "t=Title:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
599 "d=Description:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
600 "aV=Version:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
601 "mint=minutes\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
602 "it=Installation Time:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
603 "il=Installation Level:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
604 "ile=Easy\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
605 "ili=Intermediate\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
606 "ila=Advanced\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
607 "au=Author\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
608 "aus=Authors\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
609 "a-un=Username:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
610 "a-e=Email:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
611 "a-n=Name:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
612 "a-h=WWW:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
613 "a-c=Contributions:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
614 "a-c-f=From\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
615 "a-c-t=to\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
616 "a-c-s=Since\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
617 "fte=Files to Edit\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
618 "icf=Included Files\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
619 "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
620 "dcl=Disclaimer\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
621 "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" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
622 "isp=English Support\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
623 "ispt=English support can be obtained at <a href=\"http://www.phpbb.com/mods/\">http://www.phpbb.com/mods/</a> for released MODs.\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
624 "ant=Author Notes:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
625 "lic=License\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
626 "lict=This MOD has been licensed under the following license:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
627 "ont=Other Notes\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
628 "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
629 "ontt2=This MOD was designed for phpBB\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
630 "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
631 "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
632 "sql=SQL\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
633 "fca=File Copy\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
634 "c-copy=Copy:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
635 "c-to=To:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
636 "cde-c=Code:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
637 "cde-sa=Select All\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
638 "edts=Edits\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
639 "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
640 "opn=Open:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
641 "cm-cmt=Comments\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
642 "fnd=Find\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
643 "fndt=<strong>Tip:</strong> This may be a partial find and not the whole line.\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
644 "rplw=Replace With\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
645 "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
646 "aft=Add after\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
647 "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
648 "bef=Add before\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
649 "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
650 "inc=Increment\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
651 "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
652 "ifnd=In-line Find\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
653 "ifndt=<strong>Tip:</strong> This is a partial match of a line for in-line operations.\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
654 "irplw=In-line Replace With\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
655 "irplwt=\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
656 "iaft=In-line Add after\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
657 "iaftt=\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
658 "ibef=In-line Add before\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
659 "ibeft=\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
660 "iinc=In-line Increment\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
661 "iinct=<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
662 "diy=DIY Instructions\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
663 "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
664 "eom=Save all files. End of MOD.\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
665 "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" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
666 "slg=Select Language:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
667 "dbms=Select Database Type:\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
668 "foot=MOD UA XSLT File Copyright &#169; 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
669 "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
670 "mhe-v=- Version\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
671 "mh=MOD History\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
672 "addtl-modx=Additional MODX Files\n" +
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
673 "imn=This MOD has no additional MODX files.\n"+
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
674 "atm=About this MOD";
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
675
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
676 var box = codes_ll;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
677 var currentLanguage = "en";
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
678 var languagesLoaded = false;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
679 var languages = ['en'];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
680 var arrClasCnt = [
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
681 ['a-' , authors_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
682 ['c-' , copies_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
683 ['cm-' , comments_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
684 ['opn' , opens_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
685 ['cde-' , codes_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
686 ['edt-' , edits_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
687 ['fnd' , finds_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
688 ['regex', regex_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
689 ['rplw' , replacewiths_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
690 ['aft' , addafters_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
691 ['bef' , addbefores_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
692 ['inc' , increments_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
693 ['ifnd' , ifinds_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
694 ['regex', iregex_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
695 ['irplw', ireplacewiths_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
696 ['iaft' , iaddafters_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
697 ['ibef' , iaddbefores_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
698 ['iinc' , iincrements_ll ],
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
699 ['mhe' , mhes_ll ]
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
700 ];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
701
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
702 function startup()
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
703 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
704 sql_dropdown();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
705 change_dbms();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
706 changeLanguage(currentLanguage);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
707 document.getElementById('lang-selector').style.display = "block";
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
708 init_mod_history();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
709 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
710
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
711 function changeLanguage(langCode)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
712 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
713 langCode = langCode.toLowerCase();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
714 currentLanguage = langCode.split('-')[0];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
715 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
716 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
717 load_language();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
718 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
719 else
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
720 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
721 applyLanguage(enStrings.split("\n"));
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
722 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
723 xslLanguage(langCode);
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 load_languages()
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 if (languagesLoaded)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
729 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
730 return;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
731 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
732 languagesLoaded = true;
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 $divname = document.getElementById('language');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
735 var loadingItem = document.createElement('option');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
736 $divname.appendChild(loadingItem);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
737 loadingItem.innerHTML = 'Loading...';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
738 $divname.remove(0);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
739
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
740 $output = 'load_languages';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
741 cachernd = parseInt(Math.random() * 99999999); // cache
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
742 send('', host + 'languages.txt?rnd=' + cachernd);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
743 }
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 function load_language()
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 $output = 'load_language';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
748 cachernd = parseInt(Math.random() * 99999999); // cache
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
749 send('', host + currentLanguage + '.txt?rnd=' + cachernd);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
750 }
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 /*****************
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
753 * AJAX Functions *
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
754 *****************/
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
755 var $xmlhttp = http_object();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
756 var $finished = 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
757 var $send_queue = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
758 var $running = false;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
759 var $divname;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
760 var $newform;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
761 var $newurl;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
762 var $output;
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 function http_object()
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
765 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
766 if (window.XMLHttpRequest)
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 return new XMLHttpRequest();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
769 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
770 else if (window.ActiveXObject)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
771 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
772 return new ActiveXObject("Microsoft.XMLHTTP");
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
773 }
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 function send($action, $url, $form, $div, $clear)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
777 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
778 $newform = $form;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
779 $newurl = $url;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
780
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
781 $send_queue.push("handle_send($newurl, $newform)");
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
782
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
783 if (!$running)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
784 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
785 run_ajax();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
786 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
787 return;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
788 }
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 function run_ajax()
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 $running = true;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
793 for ($i = 0; $i < $send_queue.length; $i++)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
794 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
795 if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
796 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
797 eval($send_queue[$i]);
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 else
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
800 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
801 $xmlhttp.onreadystatechange = check_state;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
802 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
803 }
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
806 function check_state()
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
807 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
808 if ($xmlhttp.readyState == 4 || $xmlhtt.readyState == 0)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
809 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
810 eval($send_queue[$finished]);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
811 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
812 else
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 $xmlhttp.onreadystatechange = check_state;
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 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
817
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
818 function handle_send($url, $f)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
819 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
820 if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
821 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
822 $param = '';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
823
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
824 try
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
825 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
826 netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
827 $allowed = true;
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 catch (e)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
830 {}
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 try
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 $xmlhttp.open('POST', $url, true);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
835 $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
836 $xmlhttp.onreadystatechange = handle_return;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
837 $xmlhttp.send($param);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
838 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
839 catch (e)
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 $divname = document.getElementById('language');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
842 var loadingItem = document.createElement('option');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
843 $divname.appendChild(loadingItem);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
844 loadingItem.innerHTML = 'Unavailable';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
845 $divname.remove(0);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
846 $divname.disabled = true;
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 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
849 return;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
850 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
851
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
852 function handle_return()
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
853 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
854 if ($xmlhttp.readyState == 4)
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 ajax_output($xmlhttp.responseText);
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 $finished++;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
859
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
860 if ($send_queue[$finished])
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
861 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
862 check_state();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
863 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
864 else
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
865 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
866 $send_queue = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
867 $finished = 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
868 $running = false;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
869 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
870 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
871 return;
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 /*********************
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
874 * END AJAX Functions *
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
877 function ajax_output($response)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
878 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
879 switch ($output)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
880 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
881 case 'load_language':
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
882 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
883 applyLanguage(texts);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
884 break;
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 case 'load_languages':
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
887 languages = $response.replace("\r", "").split("\n");
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
888
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
889 var i, l, s = 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
890 for (i in languages)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
891 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
892 languages[i] = languages[i].replace("\r", "");
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
893 languages[i] = languages[i].split("=");
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 var langItem = document.createElement('option');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
896 $divname.appendChild(langItem);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
897 langItem.value = languages[i][0];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
898 var iso = languages[i][0].split('-');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
899 langItem.innerHTML = languages[i][1];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
900 if (iso.length == 2)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
901 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
902 langItem.innerHTML += ' [' + iso[1].toUpperCase() + ']';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
903 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
904 if (languages[i][0] == currentLanguage)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
905 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
906 $divname.selectedIndex = s;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
907 $divname.text = languages[i][1];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
908 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
909 s++;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
910 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
911
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
912 $divname.focus();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
913 $divname.onchange =
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
914 function()
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 changeLanguage(this.value.replace(" ", ""));
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
917 };
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
918 $divname.remove(0);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
919 break;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
920 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
921 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
922
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
923 function xslLangEl(langCode, obj_id)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
924 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
925 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
926 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
927 var nodes = (o && o.childNodes) ? o.childNodes : '';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
928
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
929 for (i = 0; i < nodes.length; i++)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
930 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
931 c = nodes[i];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
932 if (c.nodeType != 1)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
933 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
934 continue;
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 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
937 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
938 if (!c.lang || m[k] === true)
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 c.style.display = 'none';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
941 continue;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
942 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
943 c.lang = c.lang.replace('_', '-').toLowerCase();
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 if (m[k]) // Already have a partial match
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 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
948 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
949 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
950 continue;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
951 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
952 m[k] = true; // An exact match
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
953 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
954 else
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
955 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
956 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
957 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
958 if (!show[k] || m[k] || c.lang == 'en')
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 if (show[k])
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
961 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
962 show[k].style.display = 'none';
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 show[k] = c;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
965 c.style.display = '';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
966 if (a)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
967 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
968 c.getElementsByTagName('span')[0].style.display = 'none';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
969 //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
970 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
971 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
972 else
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
973 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
974 c.style.display = 'none';
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 }
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
979 function xslLanguage(langCode)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
980 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
981 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
982 var c, h, i;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
983 for (c in comments_ll)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
984 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
985 i18nedEls.push('mod-comment[' + comments_ll[c] + ']');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
986 }
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 for (h in mhcls_ll)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
989 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
990 i18nedEls.push('mhcl[' + mhcls_ll[h] + ']');
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
993 for (i in i18nedEls)
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 xslLangEl(langCode, i18nedEls[i]);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
996 }
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
999 function in_array(array, value, position)
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 for (var i = 0; i < array.length; i++)
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 // Matches identical (===), not just similar (==).
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1004 if (array[i] === value)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1005 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1006 return (position ? i : true);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1007 }
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 return false;
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 function applyLanguage(texts)
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 var i;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1015 for (i in texts)
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 var lang = texts[i].split("=", 2), done = 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1018 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
1019 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1020 toggle_strings[lang[0].replace('edt-', '')] = lang[1];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1021 if (++done >= 2)
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 break;
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 }
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1028 for (i in texts)
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 var lang = texts[i].split("=");
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1031 if (lang.length < 2)
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 continue;
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 try
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1036 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1037 var jflag = false;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1038 for (var j = 0; j < arrClasCnt.length; j++)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1039 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1040 var sw = '-' + lang[0];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1041 if (sw.match('-' + arrClasCnt[j][0]))
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1042 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1043 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
1044 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1045 try
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 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
1048 o.innerHTML = lang[1];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1049 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
1050 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1051 o.innerHTML = toggle_strings[o.rel];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1052 }
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 catch (e){}
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1055 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1056 jflag = true;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1057 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1058 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1059 if (!jflag)
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 var append = '';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1062 for (var p = 1; p < lang.length; p++)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1063 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1064 append += (p > 1 ? '=' : '') + lang[p];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1065 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1066 document.getElementById('lang-' + lang[0]).innerHTML = append;
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 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1069 catch (o){}
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 try
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 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
1074 } catch(o) {}
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1075 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1076
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1077 function select_code(a)
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 // Get ID of code block
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1080 var e = a.parentNode.parentNode.getElementsByTagName('PRE')[0];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1081 select_text(e.id);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1082 }
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 var selectedElement = -1;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1085 var boxes = box.length;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1086 var pre_count = 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1087
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1088 function select_text(id)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1089 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1090 var o = document.getElementById(id);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1091 if(!o)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1092 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1093 return;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1094 }
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 // Not IE
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1097 if (window.getSelection)
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 var s = window.getSelection();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1100 // Safari
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1101 if (s.setBaseAndExtent)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1102 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1103 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
1104 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1105 // Firefox and Opera
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1106 else
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1107 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1108 var r = document.createRange();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1109 r.selectNodeContents(o);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1110 s.removeAllRanges();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1111 s.addRange(r);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1112 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1113 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1114 // Some older browsers
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1115 else if (document.getSelection)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1116 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1117 var s = document.getSelection();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1118 var r = document.createRange();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1119 r.selectNodeContents(o);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1120 s.removeAllRanges();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1121 s.addRange(r);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1122 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1123 // IE
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1124 else if (document.selection)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1125 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1126 var r = document.body.createTextRange();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1127 r.moveToElementText(o);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1128 r.select();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1129 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1130
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1131 for(x = 0; x < box.length; x++)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1132 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1133 if (box[x] == id)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1134 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1135 selectedElement = x;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1136 break;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1137 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1138 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1139 return o;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1140 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1141
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1142 /**
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1143 * 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
1144 */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1145 function is_hidden(o, className)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1146 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1147 o = typeof(o) == 'String' ? document.getElementById(o) : o;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1148 while (o)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1149 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1150 if (o.style && o.style.display == 'none')
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1151 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1152 return true;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1153 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1154 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
1155 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1156 return false;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1157 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1158
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1159 // 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
1160 function findPosY(obj)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1161 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1162 var curtop = 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1163 if (obj.offsetParent)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1164 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1165 while (obj.offsetParent)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1166 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1167 curtop += obj.offsetTop
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1168 obj = obj.offsetParent;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1169 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1170 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1171 else if (obj.y)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1172 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1173 curtop += obj.y;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1174 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1175 return curtop;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1176 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1177
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1178 function selectBox()
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1179 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1180 obj = select_text(box[selectedElement]);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1181 window.scrollTo(0, findPosY(obj) - 100);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1182 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1183
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1184 function selectNextBox()
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1185 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1186 // Find the next box that is not hidden
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1187 for (var i = 0; i < boxes; i++)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1188 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1189 selectedElement = (selectedElement + 1 >= boxes) ? 0 : selectedElement + 1;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1190 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
1191 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1192 break;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1193 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1194 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1195 selectBox();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1196 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1197
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1198 function selectPrevBox()
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1199 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1200 // Find the previos box that is not hidden
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1201 for (var i = 0; i < boxes; i++)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1202 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1203 selectedElement = (selectedElement - 1 < 0) ? boxes - 1 : selectedElement - 1;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1204 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
1205 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1206 break;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1207 }
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 selectBox();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1210 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1211
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1212 function selectFirstBox()
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 // Find the first box that is not hidden
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1215 for (selectedElement = 0; selectedElement < boxes; selectedElement++)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1216 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1217 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
1218 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1219 break;
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 selectBox();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1223 }
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 function mod_do_keypress(e)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1226 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1227 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
1228
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1229 switch (key)
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 case 88: // X
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1232 case 187: // plus (+)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1233 case 190: // period/greater-than (.>)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1234 selectNextBox();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1235 return false;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1236 break;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1237
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1238 case 87: // W
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1239 case 189: // minus (-)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1240 case 188: // comma/less-than (,<)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1241 selectPrevBox();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1242 return false;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1243 break;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1244
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1245 case 83: // S
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1246 case 37:
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1247 selectFirstBox();
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1248 return false;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1249 break;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1250 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1251 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
1252 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1253
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1254 /**
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1255 * Update the MODX with the selected dbms
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 */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1258 function change_dbms($form)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1259 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1260 $type = [
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1261 '',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1262 'mysql',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1263 'mysql_41',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1264 'mysql_40',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1265 'firebird',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1266 'mssql',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1267 'oracle',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1268 'postgres',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1269 'sqllite'
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 $exists = 0;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1272 $tags = document.getElementsByTagName('dbms');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1273
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1274 if ($form)
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 sql_display($form.value);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1277 return;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1278 }
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 if ($tags.length > 0)
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 for ($i = 0; $i < $tags.length; $i++)
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 if (!($dbms = $tags[$i].attributes['type'].nodeValue))
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1285 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1286 continue;
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 $position = in_array($type, $dbms, true);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1289 if ($position !== false)
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 $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
1292 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1293 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1294 if ($exists > 0)
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 sql_display($type[$exists]);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1297 }
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 }
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 /**
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1302 * 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
1303 */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1304 function sql_display($value)
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 $tags = document.getElementsByTagName('dbms');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1307
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1308 // 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
1309 for ($i = 0; $i < $tags.length; $i++)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1310 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1311 if (!($dbms = $tags[$i].attributes['type'].nodeValue))
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1312 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1313 continue;
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 $tags[$i].style.display = ($dbms == $value) ? '' : 'none';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1316 }
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
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 * 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
1321 */
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1322 function sql_dropdown()
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 var $dbms_element = document.getElementById('dbms');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1325 var $dbms_selector = document.getElementById('dbms-selector');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1326 if (!$dbms_element || !$dbms_selector)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1327 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1328 return;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1329 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1330
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1331 $type = [
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1332 'mysql',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1333 'mysql_41',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1334 'mysql_40',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1335 'firebird',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1336 'mssql',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1337 'oracle',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1338 'postgres',
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1339 'sqllite'
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1340 ];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1341 $options = [];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1342 $tags = document.getElementsByTagName('dbms');
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1343
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1344 // 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
1345 for ($i = 0; $i < $tags.length; $i++)
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 if (!($dbms = $tags[$i].attributes['type'].nodeValue))
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1348 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1349 continue;
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 if (($position = in_array($type, $dbms, true)) !== false)
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 $options[$position] = '<option value=' + $dbms + '>' + $dbms + '</option>';
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 }
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 if ($options.length > 0)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1358 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1359 $selects = '';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1360
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1361 // sort options and output in the correct order
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1362 for ($i = 0; $i < $type.length; $i++)
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 if ($options[$i])
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1365 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1366 $selects += $options[$i];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1367 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1368 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1369 $dbms_element.innerHTML = $selects;
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 else
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1372 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1373 $dbms_selector.style.display = 'none';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1374 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1375 }
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 </xsl:text>
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 * Toggle the visibility of certain sections.
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 var toggle_strings = {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1382 '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
1383 '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
1384 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1385 function init_mod_history()
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1386 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1387 <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
1388 document.getElementById('mod_history_content').style.display = 'none';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1389 document.getElementById('history_toggle_area').style.display = '';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1390 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
1391 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1392 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1393
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1394 function toggle_display(o, n)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1395 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1396 var v = o.rel == 'hide';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1397 n.style.display = n.style.display == '' ? 'none' : '';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1398 o.rel = v ? 'show' : 'hide';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1399 o.innerHTML = toggle_strings[o.rel];
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1400 if (o.id.indexOf('lang-edt-') == 0)
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 o.style.textAlign = v ? 'left' : 'right';
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1403 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1404 return false;
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
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1407 function toggle_history(o)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1408 {
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1409 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
1410 }
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 function toggle_edit(o)
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 var s = o.previousSibling;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1415 while (s.nodeType != 1)
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 s = s.previousSibling;
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 return toggle_display(o, s);
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1420 }
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1421 </script>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1422 </head>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1423 <body class="ltr" onload="startup()">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1424 <div id="debug"></div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1425 <div id="wrap">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1426 <div id="page-header">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1427 <h1><span id="lang-h1">Installation Instructions for</span> '<xsl:value-of select="$title" />' <span id="lang-V">Version</span>&nbsp;<xsl:value-of select="$version" /></h1>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1428 <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
1429 <fieldset class="nobg">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1430 <label for="language"><span id="lang-slg">Select Language:</span></label>&nbsp;<select id="language" name="language" onclick="load_languages()"><option value="en" selected="selected">English</option></select>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1431 </fieldset>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1432 </form>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1433 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1434 <div id="page-body">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1435 <div id="acp">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1436 <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
1437 <div id="content">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1438 <div id="main">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1439 <xsl:for-each select="mod:header">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1440 <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
1441 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1442
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1443 <div class="permissions" id="Fieldset1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1444 <xsl:for-each select="mod:action-group">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1445 <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
1446 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1447 <hr style="margin-bottom:0;" />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1448 <div class="endMOD">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1449 <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
1450 <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
1451 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1452 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1453 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1454 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1455 <span class="corners-bottom"><span></span></span></div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1456 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1457 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1458 <div id="page-footer">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1459 <p class="copyright" style="text-align: center; font-size: 10px;" id="lang-foot">MOD UA XSLT File Copyright &#169; 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
1460 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1461 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1462 </body>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1463 </html>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1464 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1465 <xsl:template name="give-header">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1466 <fieldset>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1467 <legend id="lang-atm">About this MOD</legend>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1468 <div class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1469 <span class="corners-top"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1470 <dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1471 <dt id="lang-t">Title:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1472 <dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1473 <xsl:if test="count(mod:title) > 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1474 <dl id="title" class="nopadding">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1475 <xsl:for-each select="mod:title">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1476 <dt><xsl:value-of select="@lang" /></dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1477 <dd style='white-space:pre;' lang="{@lang}">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1478 <p><xsl:value-of select="current()" /></p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1479 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1480 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1481 </dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1482 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1483 <xsl:if test="count(mod:title) = 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1484 <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
1485 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1486 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1487 <dt id="lang-d">Description:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1488 <dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1489 <xsl:if test="count(mod:description) > 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1490 <dl id="description" class="nopadding">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1491 <xsl:for-each select="mod:description">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1492 <dt><xsl:value-of select="@lang" /></dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1493 <dd lang="{@lang}">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1494 <p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1495 <xsl:call-template name="add-line-breaks">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1496 <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
1497 </xsl:call-template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1498 </p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1499 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1500 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1501 </dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1502 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1503 <xsl:if test="count(mod:description) = 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1504 <p lang="{@lang}">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1505 <xsl:call-template name="add-line-breaks">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1506 <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
1507 </xsl:call-template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1508 </p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1509 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1510 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1511 <dt id="lang-aV">Version:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1512 <dd class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1513 <p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1514 <xsl:for-each select="mod:mod-version">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1515 <xsl:value-of select="$version" />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1516 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1517 </p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1518 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1519 <xsl:for-each select="mod:installation">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1520 <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
1521 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1522 <xsl:if test="mod:author-notes != 'N/A' and mod:author-notes != 'n/a' and mod:author-notes != ''">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1523 <dt id="lang-ant">Author Notes:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1524 <dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1525 <xsl:if test="count(mod:author-notes) > 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1526 <dl id="author-notes" class="nopadding">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1527 <xsl:for-each select="mod:author-notes">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1528 <dt><xsl:value-of select="@lang" /></dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1529 <dd lang="{@lang}">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1530 <p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1531 <xsl:call-template name="add-line-breaks">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1532 <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
1533 </xsl:call-template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1534 </p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1535 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1536 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1537 </dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1538 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1539 <xsl:if test="count(mod:author-notes) = 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1540 <p lang="{@lang}">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1541 <xsl:call-template name="add-line-breaks">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1542 <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
1543 </xsl:call-template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1544 </p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1545 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1546 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1547 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1548 </dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1549 <span class="corners-bottom"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1550 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1551 </fieldset>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1552 <fieldset>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1553 <xsl:for-each select="mod:author-group">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1554 <xsl:if test="count(mod:author) > 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1555 <legend id="lang-aus">Authors</legend>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1556 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1557 <xsl:if test="count(mod:author) = 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1558 <legend id="lang-au">Author</legend>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1559 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1560 <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
1561 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1562 </fieldset>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1563 <xsl:if test="count(../mod:action-group/mod:open) > 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1564 <h3 id="lang-fte">Files to Edit</h3>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1565 <xsl:for-each select="../mod:action-group">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1566 <xsl:call-template name="give-files-to-edit"></xsl:call-template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1567 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1568 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1569 <h3 id="lang-icf">Included Files</h3>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1570 <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
1571 <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
1572 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1573 <xsl:for-each select="../mod:action-group">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1574 <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
1575 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1576 <h3 id="lang-addtl-modx">Additional MODX Files</h3>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1577 <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
1578 <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
1579 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1580 <ul class="link-group" id="link-group">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1581 <xsl:for-each select="mod:link-group/mod:link">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1582 <li lang="{@lang}"><span class="link-group-lang"><xsl:value-of select="@lang" />&nbsp;</span><strong style="text-transform: capitalize;"><xsl:value-of select="@type" />:</strong>&nbsp;<a href="{@href}"><xsl:value-of select="current()" /></a></li>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1583 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1584 </ul>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1585 <hr />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1586 <div id="modDisclaimer">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1587 <h3><span id="lang-dcl">Disclaimer</span> &amp; <span id="lang-ont">Other Notes</span></h3>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1588 <div class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1589 <span class="corners-top"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1590 <div class="mod-about-padding">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1591 <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
1592 <p><span id="lang-ontt1">Before adding this MOD to your forum, you should back up all files related to this MOD.</span></p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1593 <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>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1594 <xsl:for-each select="./mod:mod-version">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1595 <xsl:if test="substring-before(substring-after(current(), '.'), '.') mod 2 != 0 or substring-before(current(), '.') = 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1596 <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
1597 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1598 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1599 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1600 <span class="corners-bottom"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1601 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1602 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1603 <div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1604 <h3><span id="lang-lic">License</span> &amp; <span id="lang-isp">English Support</span></h3>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1605 <div class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1606 <span class="corners-top"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1607 <div class="mod-about-padding">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1608 <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
1609 <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
1610 <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
1611 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1612 <span class="corners-bottom"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1613 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1614 <xsl:for-each select="mod:history">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1615 <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
1616 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1617 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1618 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1619 <xsl:template name="give-authors">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1620 <xsl:for-each select="mod:author">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1621 <div class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1622 <span class="corners-top"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1623 <xsl:call-template name="give-author"></xsl:call-template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1624 <span class="corners-bottom"><span></span></span>
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 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1627 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1628 <xsl:template name="give-author">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1629 <dl class="author-info">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1630 <dt id="lang-a-un[{generate-id()}]">Username:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1631 <dd><a href="http://www.phpbb.com/phpBB/profile.php?mode=viewprofile&amp;un={translate(mod:username, ' ', '+')}"><xsl:value-of select="mod:username" /></a></dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1632 <xsl:if test="mod:email != 'N/A' and mod:email != 'n/a' and mod:email != ''">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1633 <dt id="lang-a-e[{generate-id()}]">Email:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1634
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1635 <dd><a href="mailto:{mod:email}"><xsl:value-of select="mod:email" /></a></dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1636 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1637 <xsl:if test="mod:realname != 'N/A' and mod:realname != 'n/a' and mod:realname != ''">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1638 <dt id="lang-a-n[{generate-id()}]">Name:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1639 <dd><xsl:value-of select="mod:realname" /></dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1640 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1641 <xsl:if test="mod:homepage != 'N/A' and mod:homepage != 'n/a' and mod:homepage!=''">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1642 <dt id="lang-a-h[{generate-id()}]">WWW:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1643
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1644 <dd><a href="{mod:homepage}"><xsl:value-of select="mod:homepage" /></a></dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1645 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1646
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1647 <xsl:if test="count(mod:contributions-group) > 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1648 <dt id="lang-a-c[{generate-id()}]">Contributions:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1649 <xsl:for-each select="mod:contributions-group/mod:contributions">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1650 <dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1651 <strong style="text-transform: capitalize;"><xsl:value-of select="@position" /></strong>&nbsp;
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1652 <xsl:if test="@status = 'past' and @from != 'N/A' and @from != 'n/a' and @from!=''">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1653 <xsl:if test="@to != 'N/A' and @to != 'n/a' and @to!=''">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1654 (<span id="lang-a-c-f[{generate-id()}]]">From</span>:&nbsp;<xsl:value-of select="@from" />&nbsp;<span id="lang-a-c-t[{generate-id()}]]">to</span>:&nbsp;<xsl:value-of select="@to" />)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1655 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1656
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 <xsl:if test="@status = 'current' and @from != 'N/A' and @from != 'n/a' and @from!=''">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1659 (<span id="lang-a-c-s[{generate-id()}]]">Since</span>:&nbsp;<xsl:value-of select="@from" />)
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1660 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1661 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1662 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1663 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1664 </dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1665 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1666 <xsl:template name="give-installation">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1667 <dt id="lang-il">Installation Level:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1668 <dd class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1669 <div class="inner">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1670 <xsl:if test="mod:level='easy'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1671 <p id="lang-ile">Easy</p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1672 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1673 <xsl:if test="mod:level='intermediate'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1674 <p id="lang-ili">Intermediate</p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1675 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1676 <xsl:if test="mod:level='advanced'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1677 <p id="lang-ila">Advanced</p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1678 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1679 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1680 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1681 <dt id="lang-it">Installation Time:</dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1682 <dd class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1683 <div class="inner">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1684 <p>~<xsl:value-of select="floor(mod:time div 60)" />&nbsp;<span id="lang-mint">minutes</span></p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1685 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1686 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1687 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1688 <xsl:template name="give-mod-history">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1689 <xsl:if test="count(mod:entry) > 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1690 <fieldset>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1691 <legend id="lang-mh">MOD History</legend>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1692 <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
1693 <span class="corners-top"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1694 <div class="mod-about-padding">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1695 <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
1696 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1697 <span class="corners-bottom"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1698 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1699 <div id="mod_history_content">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1700 <xsl:for-each select="mod:entry">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1701 <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
1702 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1703 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1704 </fieldset>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1705 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1706 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1707 <xsl:template name="give-history-entry">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1708 <div class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1709 <span class="corners-top"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1710 <dl class="mod-history">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1711 <dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1712 <p><strong><xsl:value-of select="substring(mod:date,1,10)" />&nbsp;<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
1713 <xsl:for-each select="mod:rev-version">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1714 <xsl:value-of select="current()" />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1715 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1716 </strong></p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1717 </dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1718 <dd><br clear="all" />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1719 <xsl:if test="count(mod:changelog) > 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1720 <dl id="mhcl[{generate-id()}]">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1721 <xsl:for-each select="mod:changelog">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1722 <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
1723 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1724 </dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1725 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1726 <xsl:if test="count(mod:changelog) = 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1727 <xsl:for-each select="mod:changelog">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1728 <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
1729 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1730 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1731 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1732 </dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1733 <span class="corners-bottom"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1734 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1735 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1736 <xsl:template name="give-history-entry-changelog">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1737 <dt><xsl:value-of select="@lang" /></dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1738 <dd lang="{@lang}">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1739 <ul>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1740 <xsl:for-each select="mod:change">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1741 <li>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1742 <p><xsl:value-of select="current()" /></p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1743 </li>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1744 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1745 </ul>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1746 </dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1747 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1748 <xsl:template name="give-history-entry-changelog-single">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1749 <ul>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1750 <xsl:for-each select="mod:change">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1751 <li>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1752 <p><xsl:value-of select="current()" /></p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1753 </li>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1754 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1755 </ul>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1756 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1757 <xsl:template name="give-files-to-edit">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1758 <ul>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1759 <xsl:for-each select="mod:open">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1760 <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
1761 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1762 </ul>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1763 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1764 <xsl:template name="give-files-included">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1765 <ul>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1766 <xsl:for-each select="mod:copy">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1767 <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
1768 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1769 </ul>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1770 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1771 <xsl:template name="give-file">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1772 <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
1773 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1774 <xsl:template name="give-file-copy">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1775 <xsl:for-each select="mod:file">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1776 <li><xsl:value-of select="@from" />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1777 <xsl:if test="position()!=last()">,
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1778 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1779 </li>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1780 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1781 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1782 <xsl:template name="give-actions">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1783 <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
1784 <hr />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1785 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1786 <xsl:if test="count(mod:sql) > 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1787 <form method="post" action="" id="dbms-selector">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1788 <fieldset class="nobg">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1789 <label for="dbms"> <span id="lang-dbms">Select Database Type:</span> </label>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1790 <select id="dbms" name="dbms" onchange="change_dbms(this)">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1791 <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
1792 <option value="mysql_40">MySQL 40</option>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1793 <option value="firebird">Firebird</option>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1794 <option value="mssql">MSSQL</option>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1795 <option value="oracle">Oracle</option>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1796 <option value="postgres">Postgres</option>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1797 <option value="sqllite">SQLLite</option>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1798 </select>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1799 </fieldset>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1800 </form>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1801 <h2 id="lang-sql">SQL</h2>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1802 <div id="sql" class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1803 <span class="corners-top"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1804 <xsl:for-each select="mod:sql">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1805 <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
1806 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1807 <span class="corners-bottom"><span></span></span></div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1808 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1809 <xsl:if test="count(mod:copy) > 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1810 <xsl:for-each select="mod:copy">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1811 <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
1812 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1813 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1814 <xsl:if test="count(mod:open) > 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1815 <h2 id="lang-edts">Edits</h2>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1816 <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
1817 <div id="edits">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1818 <div class="inner">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1819 <xsl:for-each select="mod:open">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1820 <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
1821 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1822 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1823 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1824 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1825 <xsl:call-template name="give-manual"></xsl:call-template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1826 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1827 <xsl:template name="give-sql">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1828 <dbms type="{@dbms}">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1829 <div class="content">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1830 <xsl:if test="@dbms != ''">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1831 <xsl:value-of select="@dbms" />:
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1832 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1833 <div class="codebox">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1834 <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
1835 <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
1836 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1837 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1838 </dbms>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1839 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1840 <xsl:template name="give-manual">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1841 <xsl:if test="count(mod:diy-instructions) > 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1842 <h2 id="lang-diy">DIY Instructions</h2>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1843 <div class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1844 <span class="corners-top"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1845 <div class="mod-about-padding">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1846 <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
1847 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1848 <div id="diy">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1849 <xsl:for-each select="mod:diy-instructions">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1850 <div lang="{@lang}" style="margin:0;">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1851 <div class="content">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1852 <div class="codebox">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1853 <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
1854 <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
1855 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1856 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1857 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1858 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1859 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1860 <span class="corners-bottom"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1861 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1862 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1863 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1864 <xsl:template name="give-fileo">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1865 <div class="mod-about">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1866 <span class="corners-top"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1867 <div class="editFile">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1868 <h3><span id="lang-opn[{generate-id()}]">Open:</span>&nbsp;<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
1869 <xsl:for-each select="mod:edit">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1870 <div class="mod-edit">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1871 <div class="mod-edit-contents">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1872 <xsl:if test="count(mod:comment) > 0">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1873 <div class="mod-comment" style="margin:0;">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1874 <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
1875 <dl id="mod-comment[{generate-id()}]">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1876 <xsl:for-each select="mod:comment">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1877 <dt><span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1878 <xsl:if test="count(../mod:comment) > 1">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1879 <xsl:value-of select="@lang" />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1880 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1881 </span></dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1882 <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
1883 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1884 </dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1885 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1886 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1887 <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
1888 <xsl:if test="name() = 'find'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1889 <h4 id="lang-fnd[{generate-id()}]">Find</h4>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1890 <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
1891 <xsl:if test="@type = 'regex'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1892 <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
1893 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1894 </p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1895 <div class="codebox">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1896 <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
1897 <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
1898 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1899 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1900 <xsl:if test="name() = 'action'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1901 <xsl:if test="@type = 'after-add'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1902 <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
1903 <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
1904 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1905 <xsl:if test="@type = 'before-add'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1906 <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
1907 <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
1908 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1909 <xsl:if test="@type = 'replace-with'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1910 <h4 id="lang-rplw[{generate-id()}]">Replace With</h4>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1911 <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
1912 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1913 <xsl:if test="@type = 'operation'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1914 <h4 id="lang-inc[{generate-id()}]">Increment</h4>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1915 <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
1916 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1917 <div class="codebox">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1918 <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
1919 <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
1920 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1921 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1922 <xsl:if test="name() = 'inline-edit'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1923 <div class="mod-inlineedit">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1924 <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
1925 <xsl:if test="name() = 'inline-find'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1926 <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
1927 <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
1928 <xsl:if test="@type = 'regex'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1929 <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
1930 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1931 </p>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1932 <div class="codebox">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1933 <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
1934 <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
1935 </div>
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:if test="name() = 'inline-action'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1938 <xsl:if test="@type = 'after-add'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1939 <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
1940 <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
1941 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1942 <xsl:if test="@type = 'before-add'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1943 <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
1944 <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
1945 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1946 <xsl:if test="@type = 'replace-with'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1947 <h5 id="lang-irplw[{generate-id()}]">In-line Replace With</h5>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1948 <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
1949 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1950 <xsl:if test="@type = 'operation'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1951 <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
1952 <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
1953 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1954 <div class="codebox">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1955 <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
1956 <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
1957 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1958 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1959 <xsl:if test="name() = 'inline-comment'">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1960 <dl id="comment[{generate-id()}]">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1961 <dt><span id="lang-cm-cmt[{generate-id()}]">Comments</span>&nbsp;<span><xsl:value-of select="@lang" /></span></dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1962 <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
1963 </dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1964 </xsl:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1965 </xsl:for-each>
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:if>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1968 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1969 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1970 <a href="#" id="lang-edt-hide[{generate-id()}]" class="edit_toggle_link" rel="hide" onclick="return toggle_edit(this);">&lt;&lt;&nbsp;Hide</a>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1971 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1972 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1973 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1974 <span class="corners-bottom"><span></span></span>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1975 </div>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1976 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1977 <xsl:template name="give-filez">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1978 <h2 id="lang-fca">File Copy</h2>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1979 <ol id="file-copy">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1980 <xsl:for-each select="mod:file">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1981 <li><dl>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1982 <dt><span id="lang-c-copy[{generate-id()}]">Copy:</span>&nbsp;<xsl:value-of select="@from" /></dt>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1983 <dd><span id="lang-c-to[{generate-id()}]">To:</span>&nbsp;<xsl:value-of select="@to" /></dd>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1984 </dl>
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 </xsl:for-each>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1987 </ol>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1988 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1989 <!-- 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
1990 <xsl:template name="add-line-breaks">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1991 <xsl:param name="string" select="." />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1992 <xsl:choose>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1993 <xsl:when test="contains($string, '&#xA;')">
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1994 <xsl:value-of select="substring-before($string, '&#xA;')" /><br />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1995 <xsl:call-template name="add-line-breaks"><xsl:with-param name="string" select="substring-after($string, '&#xA;')" /></xsl:call-template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1996 </xsl:when>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1997 <xsl:otherwise>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1998 <xsl:value-of select="$string" />
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1999 </xsl:otherwise>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2000 </xsl:choose>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2001 </xsl:template>
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2002
d5536d233ec1 Initial commit of v1.2.3 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2003 </xsl:stylesheet>