1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
2
|
|
3
|
<!--
|
4
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
6
|
*
|
7
|
* == BEGIN LICENSE ==
|
8
|
*
|
9
|
* Licensed under the terms of any of the following licenses at your
|
10
|
* choice:
|
11
|
*
|
12
|
* - GNU General Public License Version 2 or later (the "GPL")
|
13
|
* http://www.gnu.org/licenses/gpl.html
|
14
|
*
|
15
|
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16
|
* http://www.gnu.org/licenses/lgpl.html
|
17
|
*
|
18
|
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19
|
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20
|
*
|
21
|
* == END LICENSE ==
|
22
|
*
|
23
|
* Syntax highlighter plugin
|
24
|
-->
|
25
|
<html>
|
26
|
<head>
|
27
|
<title>Syntax Highlighter 2</title>
|
28
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29
|
<meta content="noindex, nofollow" name="robots">
|
30
|
|
31
|
<script type="text/javascript">
|
32
|
var oEditor = window.parent.InnerDialogLoaded();
|
33
|
var FCKConfig = oEditor.FCKConfig;
|
34
|
document.write('<script src="' + FCKConfig.BasePath + 'dialog/common/fck_dialog_common.js" type="text/javascript"><\/script>');
|
35
|
</script>
|
36
|
|
37
|
<script src="syntaxhighlight.js" type="text/javascript"></script>
|
38
|
|
39
|
</head>
|
40
|
<body scroll="no" style="overflow: hidden">
|
41
|
<div id="divSourceCode" class="box">
|
42
|
<table height="100%" cellspacing="0" cellpadding="5" width="100%" align="center"
|
43
|
border="0">
|
44
|
<tr>
|
45
|
<td width="108">
|
46
|
<span fcklang="SyntaxHightlightLang">Select language</span>
|
47
|
</td>
|
48
|
<td width="372">
|
49
|
<select id="ddLang">
|
50
|
<option value="c++">C++</option>
|
51
|
<option value="csharp">C# </option>
|
52
|
<option value="css">CSS </option>
|
53
|
<option value="delphi">Delphi</option>
|
54
|
<option value="java">Java </option>
|
55
|
<option value="jscript">Java Script</option>
|
56
|
<option value="php">PHP</option>
|
57
|
<option value="python">Python</option>
|
58
|
<option value="ruby">Ruby</option>
|
59
|
<option value="sql">SQL</option>
|
60
|
<option value="vb">VB.NET</option>
|
61
|
<option value="xhtml">XML/HTML</option>
|
62
|
</select>
|
63
|
</td>
|
64
|
</tr>
|
65
|
<tr>
|
66
|
<td colspan="2" valign="top">
|
67
|
<span fcklang="SyntaxHightlightEnterCode">Enter source code</span><br>
|
68
|
<textarea rows="22" style="width: 100%; font-weight: normal; font-family: 'Courier New',Courier,mono,serif;"
|
69
|
id="txtCode"></textarea>
|
70
|
</td>
|
71
|
</tr>
|
72
|
</table>
|
73
|
</div>
|
74
|
<div id="divAdvanced" class="box" style="display:none;">
|
75
|
<table cellspacing="0" cellpadding="3" width="100%" align="center" border="0">
|
76
|
<tr>
|
77
|
<td colspan="3">
|
78
|
<strong><span fcklang="SyntaxHightlightGutter">Gutter</span></strong>
|
79
|
</td>
|
80
|
</tr>
|
81
|
<tr>
|
82
|
<td width="20">
|
83
|
<input name="chkGutter" type="checkbox" value="1" id="chkGutter">
|
84
|
</td>
|
85
|
<td colspan="2">
|
86
|
<span fcklang="SyntaxHightlightGutterDetail">Hide gutter & line numbers</span>
|
87
|
</td>
|
88
|
</tr>
|
89
|
<tr>
|
90
|
<td colspan="3">
|
91
|
<strong><span fcklang="SyntaxHightlightNoControls">Controls</span></strong>
|
92
|
</td>
|
93
|
</tr>
|
94
|
<tr>
|
95
|
<td>
|
96
|
<input name="chkNoControls" type="checkbox" value="1" id="chkNoControls">
|
97
|
</td>
|
98
|
<td colspan="2">
|
99
|
<span fcklang="SyntaxHightlightNoControlsDetail">
|
100
|
Hide code controls at the top of the code block.
|
101
|
</span>
|
102
|
</td>
|
103
|
</tr>
|
104
|
<tr>
|
105
|
<td colspan="3">
|
106
|
<strong><span fcklang="SyntaxHightlightCollapse">Collapse</span></strong>
|
107
|
</td>
|
108
|
</tr>
|
109
|
<tr>
|
110
|
<td>
|
111
|
<input name="chkCollapse" type="checkbox" id="chkCollapse" value="1">
|
112
|
</td>
|
113
|
<td colspan="2">
|
114
|
<span fcklang="SyntaxHightlightCollapseDetail">
|
115
|
Collapse the code block by default. (controls need to be turned on)
|
116
|
</span>
|
117
|
</td>
|
118
|
</tr>
|
119
|
<tr>
|
120
|
<td colspan="3">
|
121
|
<strong><span fcklang="SyntaxHightlightShowcolumns">Show columns</span></strong>
|
122
|
</td>
|
123
|
</tr>
|
124
|
<tr>
|
125
|
<td>
|
126
|
<input name="chkShowColumns" type="checkbox" value="1" id="chkShowColumns">
|
127
|
</td>
|
128
|
<td colspan="2">
|
129
|
<span fcklang="SyntaxHightlightShowcolumnsDetail">
|
130
|
Show row columns in the first line.
|
131
|
</span>
|
132
|
</td>
|
133
|
</tr>
|
134
|
</table>
|
135
|
|
136
|
<!-- enable line count start -->
|
137
|
<table cellspacing="0" cellpadding="3" width="100%" align="center" border="0">
|
138
|
<tr>
|
139
|
<td colspan="3">
|
140
|
<strong>
|
141
|
<span fcklang="SyntaxHightlightLineCount">Default line count</span>
|
142
|
</strong></td>
|
143
|
</tr>
|
144
|
<tr>
|
145
|
<td width="20">
|
146
|
<input name="chkLineCount" onClick="changechk(this, 'txtLineCount');" type="checkbox"
|
147
|
value="1" id="chkLineCount"></td>
|
148
|
<td width="20">
|
149
|
<input name="txtLineCount" disabled="disabled" style="width: 50px;" type="text" id="txtLineCount"
|
150
|
maxlength="4"></td>
|
151
|
<td>
|
152
|
<span fcklang="SyntaxHightlightLineCountDetail">
|
153
|
Will begin line count at value. Default value is 1.
|
154
|
</span></td>
|
155
|
</tr>
|
156
|
</table>
|
157
|
|
158
|
|
159
|
<!-- enable highlighted lines -->
|
160
|
<table cellspacing="0" cellpadding="3" width="100%" align="center" border="0">
|
161
|
<tr>
|
162
|
<td colspan="3">
|
163
|
<strong>
|
164
|
<span fcklang="SyntaxHightlightLines">Highlight lines</span>
|
165
|
</strong></td>
|
166
|
</tr>
|
167
|
<tr>
|
168
|
<td width="20">
|
169
|
<input name="chkHighlightLine" onClick="changechk(this, 'txtHighlightLines');" type="checkbox"
|
170
|
value="1" id="chkHighlightLine"></td>
|
171
|
<td>
|
172
|
<input name="txtHighlightLines" disabled="disabled" style="width: 150px;" type="text" id="txtHighlightLines"
|
173
|
maxlength="25"></td>
|
174
|
<td>
|
175
|
</td>
|
176
|
</tr>
|
177
|
<tr>
|
178
|
<td></td>
|
179
|
<td colspan="2">
|
180
|
<span fcklang="SyntaxHightlightLinesDetail">
|
181
|
Enter a comma seperated lines of lines you want to highlight, eg <em>3,10,15</em>.
|
182
|
</span>
|
183
|
</td>
|
184
|
</tr>
|
185
|
</table>
|
186
|
|
187
|
|
188
|
|
189
|
<table cellspacing="0" cellpadding="3" width="100%" align="center" border="0">
|
190
|
<tr>
|
191
|
<td colspan="3" class="DarkBackground">
|
192
|
<p><span fcklang="SyntaxHightlightInformation"><strong>NOTE:</strong><br>This plugin makes use of the <strong>Java Script SyntaxHighlighter v2.0.x</strong> available from <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter">alexgorbatchev.com</a>. Without configuring your website to use the SyntaxHighlighter this plugin will not have much effect!</span></p>
|
193
|
|
194
|
<p><strong>Plugin Version: </strong><span id="syntaxhighlight-version"></span></p>
|
195
|
</td>
|
196
|
</tr>
|
197
|
</table>
|
198
|
</div>
|
199
|
|
200
|
</body>
|
201
|
</html>
|