diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-01-25 17:45:33 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-01-25 18:00:33 +0100 |
commit | 7adcb81e4f83f98c468889aaa5a85558ba88c770 (patch) | |
tree | 0d6ede733777b29060b48df4afaa2c64bfbae276 /sources/samples/old/assets | |
download | connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.gz connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.zst connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.zip |
Initial commit4.5.6
Diffstat (limited to 'sources/samples/old/assets')
-rw-r--r-- | sources/samples/old/assets/inlineall/logo.png | bin | 0 -> 4283 bytes | |||
-rw-r--r-- | sources/samples/old/assets/outputxhtml/outputxhtml.css | 204 | ||||
-rw-r--r-- | sources/samples/old/assets/posteddata.php | 59 | ||||
-rw-r--r-- | sources/samples/old/assets/sample.jpg | bin | 0 -> 14449 bytes | |||
-rw-r--r-- | sources/samples/old/assets/uilanguages/languages.js | 89 |
5 files changed, 352 insertions, 0 deletions
diff --git a/sources/samples/old/assets/inlineall/logo.png b/sources/samples/old/assets/inlineall/logo.png new file mode 100644 index 00000000..b4d5979e --- /dev/null +++ b/sources/samples/old/assets/inlineall/logo.png | |||
Binary files differ | |||
diff --git a/sources/samples/old/assets/outputxhtml/outputxhtml.css b/sources/samples/old/assets/outputxhtml/outputxhtml.css new file mode 100644 index 00000000..1b3bf646 --- /dev/null +++ b/sources/samples/old/assets/outputxhtml/outputxhtml.css | |||
@@ -0,0 +1,204 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | * | ||
5 | * Styles used by the XHTML 1.1 sample page (xhtml.html). | ||
6 | */ | ||
7 | |||
8 | /** | ||
9 | * Basic definitions for the editing area. | ||
10 | */ | ||
11 | body | ||
12 | { | ||
13 | font-family: Arial, Verdana, sans-serif; | ||
14 | font-size: 80%; | ||
15 | color: #000000; | ||
16 | background-color: #ffffff; | ||
17 | padding: 5px; | ||
18 | margin: 0px; | ||
19 | } | ||
20 | |||
21 | /** | ||
22 | * Core styles. | ||
23 | */ | ||
24 | |||
25 | .Bold | ||
26 | { | ||
27 | font-weight: bold; | ||
28 | } | ||
29 | |||
30 | .Italic | ||
31 | { | ||
32 | font-style: italic; | ||
33 | } | ||
34 | |||
35 | .Underline | ||
36 | { | ||
37 | text-decoration: underline; | ||
38 | } | ||
39 | |||
40 | .StrikeThrough | ||
41 | { | ||
42 | text-decoration: line-through; | ||
43 | } | ||
44 | |||
45 | .Subscript | ||
46 | { | ||
47 | vertical-align: sub; | ||
48 | font-size: smaller; | ||
49 | } | ||
50 | |||
51 | .Superscript | ||
52 | { | ||
53 | vertical-align: super; | ||
54 | font-size: smaller; | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * Font faces. | ||
59 | */ | ||
60 | |||
61 | .FontComic | ||
62 | { | ||
63 | font-family: 'Comic Sans MS'; | ||
64 | } | ||
65 | |||
66 | .FontCourier | ||
67 | { | ||
68 | font-family: 'Courier New'; | ||
69 | } | ||
70 | |||
71 | .FontTimes | ||
72 | { | ||
73 | font-family: 'Times New Roman'; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * Font sizes. | ||
78 | */ | ||
79 | |||
80 | .FontSmaller | ||
81 | { | ||
82 | font-size: smaller; | ||
83 | } | ||
84 | |||
85 | .FontLarger | ||
86 | { | ||
87 | font-size: larger; | ||
88 | } | ||
89 | |||
90 | .FontSmall | ||
91 | { | ||
92 | font-size: 8pt; | ||
93 | } | ||
94 | |||
95 | .FontBig | ||
96 | { | ||
97 | font-size: 14pt; | ||
98 | } | ||
99 | |||
100 | .FontDouble | ||
101 | { | ||
102 | font-size: 200%; | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * Font colors. | ||
107 | */ | ||
108 | .FontColor1 | ||
109 | { | ||
110 | color: #ff9900; | ||
111 | } | ||
112 | |||
113 | .FontColor2 | ||
114 | { | ||
115 | color: #0066cc; | ||
116 | } | ||
117 | |||
118 | .FontColor3 | ||
119 | { | ||
120 | color: #ff0000; | ||
121 | } | ||
122 | |||
123 | .FontColor1BG | ||
124 | { | ||
125 | background-color: #ff9900; | ||
126 | } | ||
127 | |||
128 | .FontColor2BG | ||
129 | { | ||
130 | background-color: #0066cc; | ||
131 | } | ||
132 | |||
133 | .FontColor3BG | ||
134 | { | ||
135 | background-color: #ff0000; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * Indentation. | ||
140 | */ | ||
141 | |||
142 | .Indent1 | ||
143 | { | ||
144 | margin-left: 40px; | ||
145 | } | ||
146 | |||
147 | .Indent2 | ||
148 | { | ||
149 | margin-left: 80px; | ||
150 | } | ||
151 | |||
152 | .Indent3 | ||
153 | { | ||
154 | margin-left: 120px; | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * Alignment. | ||
159 | */ | ||
160 | |||
161 | .JustifyLeft | ||
162 | { | ||
163 | text-align: left; | ||
164 | } | ||
165 | |||
166 | .JustifyRight | ||
167 | { | ||
168 | text-align: right; | ||
169 | } | ||
170 | |||
171 | .JustifyCenter | ||
172 | { | ||
173 | text-align: center; | ||
174 | } | ||
175 | |||
176 | .JustifyFull | ||
177 | { | ||
178 | text-align: justify; | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * Other. | ||
183 | */ | ||
184 | |||
185 | code | ||
186 | { | ||
187 | font-family: courier, monospace; | ||
188 | background-color: #eeeeee; | ||
189 | padding-left: 1px; | ||
190 | padding-right: 1px; | ||
191 | border: #c0c0c0 1px solid; | ||
192 | } | ||
193 | |||
194 | kbd | ||
195 | { | ||
196 | padding: 0px 1px 0px 1px; | ||
197 | border-width: 1px 2px 2px 1px; | ||
198 | border-style: solid; | ||
199 | } | ||
200 | |||
201 | blockquote | ||
202 | { | ||
203 | color: #808080; | ||
204 | } | ||
diff --git a/sources/samples/old/assets/posteddata.php b/sources/samples/old/assets/posteddata.php new file mode 100644 index 00000000..1e1406f2 --- /dev/null +++ b/sources/samples/old/assets/posteddata.php | |||
@@ -0,0 +1,59 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <?php | ||
3 | /* | ||
4 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
5 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
6 | */ | ||
7 | ?> | ||
8 | <html> | ||
9 | <head> | ||
10 | <meta charset="utf-8"> | ||
11 | <title>Sample — CKEditor</title> | ||
12 | <link rel="stylesheet" href="sample.css"> | ||
13 | </head> | ||
14 | <body> | ||
15 | <h1 class="samples"> | ||
16 | CKEditor — Posted Data | ||
17 | </h1> | ||
18 | <table border="1" cellspacing="0" id="outputSample"> | ||
19 | <colgroup><col width="120"></colgroup> | ||
20 | <thead> | ||
21 | <tr> | ||
22 | <th>Field Name</th> | ||
23 | <th>Value</th> | ||
24 | </tr> | ||
25 | </thead> | ||
26 | <?php | ||
27 | |||
28 | if (!empty($_POST)) | ||
29 | { | ||
30 | foreach ( $_POST as $key => $value ) | ||
31 | { | ||
32 | if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) | ||
33 | continue; | ||
34 | |||
35 | if ( get_magic_quotes_gpc() ) | ||
36 | $value = htmlspecialchars( stripslashes((string)$value) ); | ||
37 | else | ||
38 | $value = htmlspecialchars( (string)$value ); | ||
39 | ?> | ||
40 | <tr> | ||
41 | <th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th> | ||
42 | <td><pre class="samples"><?php echo $value; ?></pre></td> | ||
43 | </tr> | ||
44 | <?php | ||
45 | } | ||
46 | } | ||
47 | ?> | ||
48 | </table> | ||
49 | <div id="footer"> | ||
50 | <hr> | ||
51 | <p> | ||
52 | CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> | ||
53 | </p> | ||
54 | <p id="copy"> | ||
55 | Copyright © 2003-2015, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. | ||
56 | </p> | ||
57 | </div> | ||
58 | </body> | ||
59 | </html> | ||
diff --git a/sources/samples/old/assets/sample.jpg b/sources/samples/old/assets/sample.jpg new file mode 100644 index 00000000..9498271c --- /dev/null +++ b/sources/samples/old/assets/sample.jpg | |||
Binary files differ | |||
diff --git a/sources/samples/old/assets/uilanguages/languages.js b/sources/samples/old/assets/uilanguages/languages.js new file mode 100644 index 00000000..c2db0e1c --- /dev/null +++ b/sources/samples/old/assets/uilanguages/languages.js | |||
@@ -0,0 +1,89 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* exported CKEDITOR_LANGS */ | ||
7 | |||
8 | var CKEDITOR_LANGS = ( function() { | ||
9 | var langs = { | ||
10 | af: 'Afrikaans', | ||
11 | ar: 'Arabic', | ||
12 | bg: 'Bulgarian', | ||
13 | bn: 'Bengali/Bangla', | ||
14 | bs: 'Bosnian', | ||
15 | ca: 'Catalan', | ||
16 | cs: 'Czech', | ||
17 | cy: 'Welsh', | ||
18 | da: 'Danish', | ||
19 | de: 'German', | ||
20 | el: 'Greek', | ||
21 | en: 'English', | ||
22 | 'en-au': 'English (Australia)', | ||
23 | 'en-ca': 'English (Canadian)', | ||
24 | 'en-gb': 'English (United Kingdom)', | ||
25 | eo: 'Esperanto', | ||
26 | es: 'Spanish', | ||
27 | et: 'Estonian', | ||
28 | eu: 'Basque', | ||
29 | fa: 'Persian', | ||
30 | fi: 'Finnish', | ||
31 | fo: 'Faroese', | ||
32 | fr: 'French', | ||
33 | 'fr-ca': 'French (Canada)', | ||
34 | gl: 'Galician', | ||
35 | gu: 'Gujarati', | ||
36 | he: 'Hebrew', | ||
37 | hi: 'Hindi', | ||
38 | hr: 'Croatian', | ||
39 | hu: 'Hungarian', | ||
40 | id: 'Indonesian', | ||
41 | is: 'Icelandic', | ||
42 | it: 'Italian', | ||
43 | ja: 'Japanese', | ||
44 | ka: 'Georgian', | ||
45 | km: 'Khmer', | ||
46 | ko: 'Korean', | ||
47 | ku: 'Kurdish', | ||
48 | lt: 'Lithuanian', | ||
49 | lv: 'Latvian', | ||
50 | mk: 'Macedonian', | ||
51 | mn: 'Mongolian', | ||
52 | ms: 'Malay', | ||
53 | nb: 'Norwegian Bokmal', | ||
54 | nl: 'Dutch', | ||
55 | no: 'Norwegian', | ||
56 | pl: 'Polish', | ||
57 | pt: 'Portuguese (Portugal)', | ||
58 | 'pt-br': 'Portuguese (Brazil)', | ||
59 | ro: 'Romanian', | ||
60 | ru: 'Russian', | ||
61 | si: 'Sinhala', | ||
62 | sk: 'Slovak', | ||
63 | sq: 'Albanian', | ||
64 | sl: 'Slovenian', | ||
65 | sr: 'Serbian (Cyrillic)', | ||
66 | 'sr-latn': 'Serbian (Latin)', | ||
67 | sv: 'Swedish', | ||
68 | th: 'Thai', | ||
69 | tr: 'Turkish', | ||
70 | tt: 'Tatar', | ||
71 | ug: 'Uighur', | ||
72 | uk: 'Ukrainian', | ||
73 | vi: 'Vietnamese', | ||
74 | zh: 'Chinese Traditional', | ||
75 | 'zh-cn': 'Chinese Simplified' | ||
76 | }; | ||
77 | |||
78 | var langsArray = []; | ||
79 | |||
80 | for ( var code in CKEDITOR.lang.languages ) { | ||
81 | langsArray.push( { code: code, name: ( langs[ code ] || code ) } ); | ||
82 | } | ||
83 | |||
84 | langsArray.sort( function( a, b ) { | ||
85 | return ( a.name < b.name ) ? -1 : 1; | ||
86 | } ); | ||
87 | |||
88 | return langsArray; | ||
89 | } )(); | ||