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.js90
5 files changed, 353 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..50daa1d
--- /dev/null
+++ b/sources/samples/old/assets/outputxhtml/outputxhtml.css
@@ -0,0 +1,204 @@
1/*
2 * Copyright (c) 2003-2016, 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..914b098
--- /dev/null
+++ b/sources/samples/old/assets/posteddata.php
@@ -0,0 +1,59 @@
1<!DOCTYPE html>
2<?php
3/*
4Copyright (c) 2003-2016, 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-2016, <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..bffea89
--- /dev/null
+++ b/sources/samples/old/assets/uilanguages/languages.js
@@ -0,0 +1,90 @@
1/**
2 * @license Copyright (c) 2003-2016, 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 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 'de-ch': 'German (Switzerland)',
21 el: 'Greek',
22 en: 'English',
23 'en-au': 'English (Australia)',
24 'en-ca': 'English (Canadian)',
25 'en-gb': 'English (United Kingdom)',
26 eo: 'Esperanto',
27 es: 'Spanish',
28 et: 'Estonian',
29 eu: 'Basque',
30 fa: 'Persian',
31 fi: 'Finnish',
32 fo: 'Faroese',
33 fr: 'French',
34 'fr-ca': 'French (Canada)',
35 gl: 'Galician',
36 gu: 'Gujarati',
37 he: 'Hebrew',
38 hi: 'Hindi',
39 hr: 'Croatian',
40 hu: 'Hungarian',
41 id: 'Indonesian',
42 is: 'Icelandic',
43 it: 'Italian',
44 ja: 'Japanese',
45 ka: 'Georgian',
46 km: 'Khmer',
47 ko: 'Korean',
48 ku: 'Kurdish',
49 lt: 'Lithuanian',
50 lv: 'Latvian',
51 mk: 'Macedonian',
52 mn: 'Mongolian',
53 ms: 'Malay',
54 nb: 'Norwegian Bokmal',
55 nl: 'Dutch',
56 no: 'Norwegian',
57 pl: 'Polish',
58 pt: 'Portuguese (Portugal)',
59 'pt-br': 'Portuguese (Brazil)',
60 ro: 'Romanian',
61 ru: 'Russian',
62 si: 'Sinhala',
63 sk: 'Slovak',
64 sq: 'Albanian',
65 sl: 'Slovenian',
66 sr: 'Serbian (Cyrillic)',
67 'sr-latn': 'Serbian (Latin)',
68 sv: 'Swedish',
69 th: 'Thai',
70 tr: 'Turkish',
71 tt: 'Tatar',
72 ug: 'Uighur',
73 uk: 'Ukrainian',
74 vi: 'Vietnamese',
75 zh: 'Chinese Traditional',
76 'zh-cn': 'Chinese Simplified'
77 };
78
79 var langsArray = [];
80
81 for ( var code in CKEDITOR.lang.languages ) {
82 langsArray.push( { code: code, name: ( langs[ code ] || code ) } );
83 }
84
85 langsArray.sort( function( a, b ) {
86 return ( a.name < b.name ) ? -1 : 1;
87 } );
88
89 return langsArray;
90} )();