aboutsummaryrefslogtreecommitdiff
path: root/sources/samples/old/assets
diff options
context:
space:
mode:
Diffstat (limited to 'sources/samples/old/assets')
-rw-r--r--sources/samples/old/assets/inlineall/logo.pngbin0 -> 4283 bytes
-rw-r--r--sources/samples/old/assets/outputxhtml/outputxhtml.css204
-rw-r--r--sources/samples/old/assets/posteddata.php59
-rw-r--r--sources/samples/old/assets/sample.jpgbin0 -> 14449 bytes
-rw-r--r--sources/samples/old/assets/uilanguages/languages.js92
5 files changed, 355 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 0000000..b4d5979
--- /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 0000000..b81e1d7
--- /dev/null
+++ b/sources/samples/old/assets/outputxhtml/outputxhtml.css
@@ -0,0 +1,204 @@
1/*
2 * Copyright (c) 2003-2017, 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 */
11body
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
185code
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
194kbd
195{
196 padding: 0px 1px 0px 1px;
197 border-width: 1px 2px 2px 1px;
198 border-style: solid;
199}
200
201blockquote
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 0000000..ca43cc9
--- /dev/null
+++ b/sources/samples/old/assets/posteddata.php
@@ -0,0 +1,59 @@
1<!DOCTYPE html>
2<?php
3/*
4Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
5For licensing, see LICENSE.md or http://ckeditor.com/license
6*/
7?>
8<html>
9<head>
10 <meta charset="utf-8">
11 <title>Sample &mdash; CKEditor</title>
12 <link rel="stylesheet" href="sample.css">
13</head>
14<body>
15 <h1 class="samples">
16 CKEditor &mdash; 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&nbsp;Name</th>
23 <th>Value</th>
24 </tr>
25 </thead>
26<?php
27
28if (!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 &copy; 2003-2017, <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 0000000..9498271
--- /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 0000000..df6b2dc
--- /dev/null
+++ b/sources/samples/old/assets/uilanguages/languages.js
@@ -0,0 +1,92 @@
1/**
2 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license
4 */
5
6/* exported CKEDITOR_LANGS */
7
8var CKEDITOR_LANGS = ( function() {
9 var langs = {
10 af: 'Afrikaans',
11 ar: 'Arabic',
12 az: 'Azerbaijani',
13 bg: 'Bulgarian',
14 bn: 'Bengali/Bangla',
15 bs: 'Bosnian',
16 ca: 'Catalan',
17 cs: 'Czech',
18 cy: 'Welsh',
19 da: 'Danish',
20 de: 'German',
21 'de-ch': 'German (Switzerland)',
22 el: 'Greek',
23 en: 'English',
24 'en-au': 'English (Australia)',
25 'en-ca': 'English (Canadian)',
26 'en-gb': 'English (United Kingdom)',
27 eo: 'Esperanto',
28 es: 'Spanish',
29 et: 'Estonian',
30 eu: 'Basque',
31 fa: 'Persian',
32 fi: 'Finnish',
33 fo: 'Faroese',
34 fr: 'French',
35 'fr-ca': 'French (Canada)',
36 gl: 'Galician',
37 gu: 'Gujarati',
38 he: 'Hebrew',
39 hi: 'Hindi',
40 hr: 'Croatian',
41 hu: 'Hungarian',
42 id: 'Indonesian',
43 is: 'Icelandic',
44 it: 'Italian',
45 ja: 'Japanese',
46 ka: 'Georgian',
47 km: 'Khmer',
48 ko: 'Korean',
49 ku: 'Kurdish',
50 lt: 'Lithuanian',
51 lv: 'Latvian',
52 mk: 'Macedonian',
53 mn: 'Mongolian',
54 ms: 'Malay',
55 nb: 'Norwegian Bokmal',
56 nl: 'Dutch',
57 no: 'Norwegian',
58 oc: 'Occitan',
59 pl: 'Polish',
60 pt: 'Portuguese (Portugal)',
61 'pt-br': 'Portuguese (Brazil)',
62 ro: 'Romanian',
63 ru: 'Russian',
64 si: 'Sinhala',
65 sk: 'Slovak',
66 sq: 'Albanian',
67 sl: 'Slovenian',
68 sr: 'Serbian (Cyrillic)',
69 'sr-latn': 'Serbian (Latin)',
70 sv: 'Swedish',
71 th: 'Thai',
72 tr: 'Turkish',
73 tt: 'Tatar',
74 ug: 'Uighur',
75 uk: 'Ukrainian',
76 vi: 'Vietnamese',
77 zh: 'Chinese Traditional',
78 'zh-cn': 'Chinese Simplified'
79 };
80
81 var langsArray = [];
82
83 for ( var code in CKEDITOR.lang.languages ) {
84 langsArray.push( { code: code, name: ( langs[ code ] || code ) } );
85 }
86
87 langsArray.sort( function( a, b ) {
88 return ( a.name < b.name ) ? -1 : 1;
89 } );
90
91 return langsArray;
92} )();