From 7adcb81e4f83f98c468889aaa5a85558ba88c770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 25 Jan 2016 17:45:33 +0100 Subject: Initial commit --- sources/samples/old/assets/inlineall/logo.png | Bin 0 -> 4283 bytes .../samples/old/assets/outputxhtml/outputxhtml.css | 204 +++++++++++++++++++++ sources/samples/old/assets/posteddata.php | 59 ++++++ sources/samples/old/assets/sample.jpg | Bin 0 -> 14449 bytes .../samples/old/assets/uilanguages/languages.js | 89 +++++++++ 5 files changed, 352 insertions(+) create mode 100644 sources/samples/old/assets/inlineall/logo.png create mode 100644 sources/samples/old/assets/outputxhtml/outputxhtml.css create mode 100644 sources/samples/old/assets/posteddata.php create mode 100644 sources/samples/old/assets/sample.jpg create mode 100644 sources/samples/old/assets/uilanguages/languages.js (limited to 'sources/samples/old/assets') 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 Binary files /dev/null and b/sources/samples/old/assets/inlineall/logo.png 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 @@ +/* + * Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + * + * Styles used by the XHTML 1.1 sample page (xhtml.html). + */ + +/** + * Basic definitions for the editing area. + */ +body +{ + font-family: Arial, Verdana, sans-serif; + font-size: 80%; + color: #000000; + background-color: #ffffff; + padding: 5px; + margin: 0px; +} + +/** + * Core styles. + */ + +.Bold +{ + font-weight: bold; +} + +.Italic +{ + font-style: italic; +} + +.Underline +{ + text-decoration: underline; +} + +.StrikeThrough +{ + text-decoration: line-through; +} + +.Subscript +{ + vertical-align: sub; + font-size: smaller; +} + +.Superscript +{ + vertical-align: super; + font-size: smaller; +} + +/** + * Font faces. + */ + +.FontComic +{ + font-family: 'Comic Sans MS'; +} + +.FontCourier +{ + font-family: 'Courier New'; +} + +.FontTimes +{ + font-family: 'Times New Roman'; +} + +/** + * Font sizes. + */ + +.FontSmaller +{ + font-size: smaller; +} + +.FontLarger +{ + font-size: larger; +} + +.FontSmall +{ + font-size: 8pt; +} + +.FontBig +{ + font-size: 14pt; +} + +.FontDouble +{ + font-size: 200%; +} + +/** + * Font colors. + */ +.FontColor1 +{ + color: #ff9900; +} + +.FontColor2 +{ + color: #0066cc; +} + +.FontColor3 +{ + color: #ff0000; +} + +.FontColor1BG +{ + background-color: #ff9900; +} + +.FontColor2BG +{ + background-color: #0066cc; +} + +.FontColor3BG +{ + background-color: #ff0000; +} + +/** + * Indentation. + */ + +.Indent1 +{ + margin-left: 40px; +} + +.Indent2 +{ + margin-left: 80px; +} + +.Indent3 +{ + margin-left: 120px; +} + +/** + * Alignment. + */ + +.JustifyLeft +{ + text-align: left; +} + +.JustifyRight +{ + text-align: right; +} + +.JustifyCenter +{ + text-align: center; +} + +.JustifyFull +{ + text-align: justify; +} + +/** + * Other. + */ + +code +{ + font-family: courier, monospace; + background-color: #eeeeee; + padding-left: 1px; + padding-right: 1px; + border: #c0c0c0 1px solid; +} + +kbd +{ + padding: 0px 1px 0px 1px; + border-width: 1px 2px 2px 1px; + border-style: solid; +} + +blockquote +{ + color: #808080; +} 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 @@ + + + + + + Sample — CKEditor + + + +

+ CKEditor — Posted Data +

+ + + + + + + + + $value ) + { + if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) + continue; + + if ( get_magic_quotes_gpc() ) + $value = htmlspecialchars( stripslashes((string)$value) ); + else + $value = htmlspecialchars( (string)$value ); +?> + + + + + +
Field NameValue
+ + + diff --git a/sources/samples/old/assets/sample.jpg b/sources/samples/old/assets/sample.jpg new file mode 100644 index 00000000..9498271c Binary files /dev/null and b/sources/samples/old/assets/sample.jpg 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 @@ +/** + * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/* exported CKEDITOR_LANGS */ + +var CKEDITOR_LANGS = ( function() { + var langs = { + af: 'Afrikaans', + ar: 'Arabic', + bg: 'Bulgarian', + bn: 'Bengali/Bangla', + bs: 'Bosnian', + ca: 'Catalan', + cs: 'Czech', + cy: 'Welsh', + da: 'Danish', + de: 'German', + el: 'Greek', + en: 'English', + 'en-au': 'English (Australia)', + 'en-ca': 'English (Canadian)', + 'en-gb': 'English (United Kingdom)', + eo: 'Esperanto', + es: 'Spanish', + et: 'Estonian', + eu: 'Basque', + fa: 'Persian', + fi: 'Finnish', + fo: 'Faroese', + fr: 'French', + 'fr-ca': 'French (Canada)', + gl: 'Galician', + gu: 'Gujarati', + he: 'Hebrew', + hi: 'Hindi', + hr: 'Croatian', + hu: 'Hungarian', + id: 'Indonesian', + is: 'Icelandic', + it: 'Italian', + ja: 'Japanese', + ka: 'Georgian', + km: 'Khmer', + ko: 'Korean', + ku: 'Kurdish', + lt: 'Lithuanian', + lv: 'Latvian', + mk: 'Macedonian', + mn: 'Mongolian', + ms: 'Malay', + nb: 'Norwegian Bokmal', + nl: 'Dutch', + no: 'Norwegian', + pl: 'Polish', + pt: 'Portuguese (Portugal)', + 'pt-br': 'Portuguese (Brazil)', + ro: 'Romanian', + ru: 'Russian', + si: 'Sinhala', + sk: 'Slovak', + sq: 'Albanian', + sl: 'Slovenian', + sr: 'Serbian (Cyrillic)', + 'sr-latn': 'Serbian (Latin)', + sv: 'Swedish', + th: 'Thai', + tr: 'Turkish', + tt: 'Tatar', + ug: 'Uighur', + uk: 'Ukrainian', + vi: 'Vietnamese', + zh: 'Chinese Traditional', + 'zh-cn': 'Chinese Simplified' + }; + + var langsArray = []; + + for ( var code in CKEDITOR.lang.languages ) { + langsArray.push( { code: code, name: ( langs[ code ] || code ) } ); + } + + langsArray.sort( function( a, b ) { + return ( a.name < b.name ) ? -1 : 1; + } ); + + return langsArray; +} )(); -- cgit v1.2.3