Permalink
Browse files

First public release

     * elRTE 1.0rc2
     * elFinder 1.0.1
  • Loading branch information...
troex committed Nov 9, 2009
1 parent dddf93b commit 975a47f223ef2cef95513d8c2c4aaced59a076be
Showing with 13,908 additions and 0 deletions.
  1. +101 −0 README
  2. +1 −0 connectors/.gitignore
  3. +1 −0 css/.gitignore
  4. +51 −0 elfinder-src.html
  5. +39 −0 elfinder.html
  6. +122 −0 elrte-src.html
  7. +60 −0 elrte.html
  8. +1 −0 files/.gitignore
  9. +1 −0 images/.gitignore
  10. +9 −0 js/.gitignore
  11. +60 −0 js/jquery-ui-1.7.2.custom.min.js
  12. +653 −0 js/jquery.form.js
  13. +19 −0 js/jquery.js
  14. +148 −0 js/jquery.metadata.js
  15. BIN js/ui-themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  16. BIN js/ui-themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  17. BIN js/ui-themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  18. BIN js/ui-themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  19. BIN js/ui-themes/base/images/ui-bg_glass_75_dadada_1x400.png
  20. BIN js/ui-themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  21. BIN js/ui-themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  22. BIN js/ui-themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  23. BIN js/ui-themes/base/images/ui-icons_222222_256x240.png
  24. BIN js/ui-themes/base/images/ui-icons_2e83ff_256x240.png
  25. BIN js/ui-themes/base/images/ui-icons_454545_256x240.png
  26. BIN js/ui-themes/base/images/ui-icons_888888_256x240.png
  27. BIN js/ui-themes/base/images/ui-icons_cd0a0a_256x240.png
  28. +404 −0 js/ui-themes/base/jquery-ui.css
  29. +9 −0 js/ui-themes/base/ui.accordion.css
  30. +2 −0 js/ui-themes/base/ui.all.css
  31. +9 −0 js/ui-themes/base/ui.base.css
  32. +37 −0 js/ui-themes/base/ui.core.css
  33. +62 −0 js/ui-themes/base/ui.datepicker.css
  34. +13 −0 js/ui-themes/base/ui.dialog.css
  35. +4 −0 js/ui-themes/base/ui.progressbar.css
  36. +13 −0 js/ui-themes/base/ui.resizable.css
  37. +17 −0 js/ui-themes/base/ui.slider.css
  38. +11 −0 js/ui-themes/base/ui.tabs.css
  39. +245 −0 js/ui-themes/base/ui.theme.css
  40. +9 −0 src/.gitignore
  41. +259 −0 src/Makefile
  42. +39 −0 src/elfinder/connectors/php/connector.php
  43. +2,537 −0 src/elfinder/connectors/php/elFinder.class.php
  44. +88 −0 src/elfinder/connectors/php/i18n/ru.php
  45. +41 −0 src/elfinder/connectors/php/tpl/default.html
  46. +10 −0 src/elfinder/connectors/php/tpl/icons.html
  47. +28 −0 src/elfinder/connectors/php/tpl/list.html
  48. +8 −0 src/elfinder/connectors/php/tpl/tree.html
  49. +251 −0 src/elfinder/css/elfinder.css
  50. BIN src/elfinder/images/elfinder-icons-big.png
  51. BIN src/elfinder/images/elfinder-icons-small.png
  52. BIN src/elfinder/images/elfinder-toolbar.png
  53. +984 −0 src/elfinder/js/elfinder.js
  54. +42 −0 src/elfinder/js/i18n/elfinder.ru.js
  55. +42 −0 src/elfinder/js/i18n/elfinder.ua.js
  56. +50 −0 src/ellib/css/elcolorpicker.css
  57. +29 −0 src/ellib/css/elcommon.css
  58. +15 −0 src/ellib/css/elcontextmenu.css
  59. +70 −0 src/ellib/css/eldialogform.css
  60. +59 −0 src/ellib/css/eldirtree.css
  61. +11 −0 src/ellib/css/elpaddinginput.css
  62. +49 −0 src/ellib/css/elreset.css
  63. +56 −0 src/ellib/css/elselect.css
  64. BIN src/ellib/images/eldirtree.png
  65. BIN src/ellib/images/loading.gif
  66. +30 −0 src/ellib/js/elcookie.js
  67. +266 −0 src/ellib/js/eldialogform.js
  68. +104 −0 src/ellib/js/eli18n.js
  69. +137 −0 src/ellib/js/jquery.elborderselect.js
  70. +231 −0 src/ellib/js/jquery.elcolorpicker.js
  71. +91 −0 src/ellib/js/jquery.elcontextmenu.js
  72. +55 −0 src/ellib/js/jquery.eldirtree.js
  73. +138 −0 src/ellib/js/jquery.elpaddinginput.js
  74. +175 −0 src/ellib/js/jquery.elselect.js
  75. +20 −0 src/elrte/css/elrte-inner.css
  76. +231 −0 src/elrte/css/elrte.css
  77. BIN src/elrte/images/elrte-toolbar.png
  78. +611 −0 src/elrte/js/elRTE.DOM.js
  79. +314 −0 src/elrte/js/elRTE.js
  80. +135 −0 src/elrte/js/elRTE.options.js
  81. +639 −0 src/elrte/js/elRTE.selection.js
  82. +158 −0 src/elrte/js/elRTE.ui.js
  83. +114 −0 src/elrte/js/elRTE.utils.js
  84. +329 −0 src/elrte/js/elRTE.w3cRange.js
  85. +163 −0 src/elrte/js/i18n/elrte.de.js
  86. +174 −0 src/elrte/js/i18n/elrte.ru.js
  87. +175 −0 src/elrte/js/i18n/elrte.ua.js
  88. +57 −0 src/elrte/js/ui/anchor.js
  89. +37 −0 src/elrte/js/ui/blockquote.js
  90. +43 −0 src/elrte/js/ui/copy.js
  91. +38 −0 src/elrte/js/ui/div.js
  92. +23 −0 src/elrte/js/ui/docstructure.js
  93. +27 −0 src/elrte/js/ui/elfinder.js
  94. +61 −0 src/elrte/js/ui/fontname.js
  95. +49 −0 src/elrte/js/ui/fontsize.js
  96. +56 −0 src/elrte/js/ui/forecolor.js
  97. +99 −0 src/elrte/js/ui/formatblock.js
  98. +48 −0 src/elrte/js/ui/fullscreen.js
  99. +96 −0 src/elrte/js/ui/horizontalrule.js
  100. +422 −0 src/elrte/js/ui/image.js
  101. +46 −0 src/elrte/js/ui/indent.js
  102. +39 −0 src/elrte/js/ui/justifyleft.js
  103. +386 −0 src/elrte/js/ui/link.js
  104. +24 −0 src/elrte/js/ui/nbsp.js
  105. +64 −0 src/elrte/js/ui/outdent.js
  106. +68 −0 src/elrte/js/ui/pasteformattext.js
  107. +48 −0 src/elrte/js/ui/pastetext.js
  108. +20 −0 src/elrte/js/ui/save.js
  109. +47 −0 src/elrte/js/ui/stopfloat.js
  110. +325 −0 src/elrte/js/ui/table.js
  111. +27 −0 src/elrte/js/ui/tablerm.js
  112. +259 −0 src/elrte/js/ui/tbcellprops.js
  113. +131 −0 src/elrte/js/ui/tbcellsmerge.js
  114. +74 −0 src/elrte/js/ui/tbcellsplit.js
  115. +45 −0 src/elrte/js/ui/tbcollbefore.js
  116. +48 −0 src/elrte/js/ui/tbcolrm.js
  117. +103 −0 src/elrte/js/ui/tbrowrm.js
  118. +39 −0 src/elrte/js/ui/unlink.js
View
101 README
@@ -0,0 +1,101 @@
+ _ _____ _______ ______
+ | | | __ \ |__ __| | ____|
+ ___ | | | |__) | | | | |__
+ / _ \ | | | _ / | | | __|
+| __/ | | | | \ \ | | | |____
+ \___| |_| |_| \_\ |_| |______|
+
+
+
+Description
+===========
+
+www.elrte.ru / dev@std42.ru
+
+elRTE is an open-source WYSIWYG HTML-editor written in JavaScript using
+jQuery UI. It allows easy editing HTML-pages on your site. You can use it in
+any commercial or non-commercial projects.
+
+Features:
+ * Rich text editing, change its appearance and style
+ * Insert and manage various HTML elements with formatting (images, tables,
+ lists and etc.)
+ * View and edit HTML-code
+ * Normal and full screen mode
+
+elRTE was developed for ELDORADO.CMS, but now it is standalone and can be
+easily integrated into other content management systems.
+
+Other features:
+ * Advanced work with CSS
+ - Set indentation (margins, paddings) for images and table cells (seperate
+ for each direction)
+ - Control border properties (width, style, color) with convenient dialogs
+ - Write element properties as CSS-style always when possible
+ * Lightweight (139Kb - elRTE+elFinder in one file), easy to integrate
+ * Interface appearance is configured from one CSS file
+ * No templates used
+ * i18n. The editor can be easily localized to any language. Currently
+ available in English (default), Russian, German and Ukrainian languages
+ * elRTE comes with web file manager elFinder, but can also be used with any
+ other
+ * Flexible for extensions
+
+elRTE tested in Firefox 3.5, Internet Explorer 7 and 8, Safari 4, Opera 10 and
+Chrome.
+File manager elFinder requires connector, currently available only in PHP.
+
+
+Documentation
+=============
+
+http://www.elrte.ru/en/doc/
+Documentation for developers will be available shortly.
+
+
+Authors
+=======
+
+Programming: Dmitry "dio" Levashov <dio@std42.ru>
+Techsupport, make file and testing: Troex Nevelin <troex@fury.scancode.ru>
+Design: Valentin Razumnih
+
+We hope our tools will be helpful for you.
+
+
+License:
+========
+
+elRTE and elFinder is issued under a BSD license.
+elRTE and elFInder uses jQuery, jQuery-UI, jQuery.form и jQuery.metadata,
+witch is issued under MIT and GPL licenses.
+MIT and GPL licenses applies to jQuery, jQuery-UI and jQuery plugins that are
+distributed with elRTE and elFinder.
+
+
+This software is available under a 3 clauses BSD license:
+
+Copyright (c) 2009, Studio 42 Ltd.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the Studio 42 Ltd. nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY Studio 42 Ltd. ''AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL Studio 42 Ltd. BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -0,0 +1 @@
+*
View
@@ -0,0 +1 @@
+*
View
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+
+<html lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>elFinder from source</title>
+ <!-- jQuery and plugins -->
+ <link rel="stylesheet" href="js/ui-themes/base/ui.all.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
+ <script src="js/jquery-ui-1.7.2.custom.min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="js/jquery.metadata.js" type="text/javascript" charset="utf-8"></script>
+ <script src="js/jquery.form.js" type="text/javascript" charset="utf-8"></script>
+ <!-- css for widgets -->
+ <link rel="stylesheet" href="src/ellib/css/elcommon.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/ellib/css/eldialogform.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/ellib/css/eldirtree.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/ellib/css/elcontextmenu.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/elfinder/css/elfinder.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <!-- common js and widgets -->
+ <script src="src/ellib/js/eli18n.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/elcookie.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/eldialogform.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/jquery.eldirtree.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/jquery.elcontextmenu.js" type="text/javascript" charset="utf-8"></script>
+ <!-- elFinder -->
+ <script src="src/elfinder/js/elfinder.js" type="text/javascript" charset="utf-8"></script>
+ <!-- russian messages -->
+ <script src="src/elfinder/js/i18n/elfinder.ru.js" type="text/javascript" charset="utf-8"></script>
+
+ <script type="text/javascript" charset="utf-8">
+ $().ready(function() {
+ $('#finder').elfinder({
+ lang : 'ru',
+ url : 'src/elfinder/connectors/php/connector.php',
+ editorCallback : function(url) { window.console.log(url)}
+ });
+ })
+ </script>
+ <style type="text/css" media="screen">
+ body { padding:20px;}
+ </style>
+</head>
+<body>
+
+ <div id="finder">
+
+ </div>
+
+</body>
+</html>
View
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+
+<html lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>elFinder</title>
+ <!-- jQuery and plugins -->
+ <script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
+ <script src="js/jquery-ui-1.7.2.custom.min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="js/jquery.form.js" type="text/javascript" charset="utf-8"></script>
+ <script src="js/jquery.metadata.js" type="text/javascript" charset="utf-8"></script>
+ <link rel="stylesheet" href="js/ui-themes/base/ui.all.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <!-- elFinder css -->
+ <link rel="stylesheet" href="css/elfinder.full.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <!-- elFinder -->
+ <script src="js/elfinder.min.js" type="text/javascript" charset="utf-8"></script>
+ <!-- russian messages -->
+ <script src="js/i18n/elfinder.ru.js" type="text/javascript" charset="utf-8"></script>
+ <script type="text/javascript" charset="utf-8">
+ $().ready(function() {
+ $('#finder').elfinder({
+ // lang : 'ru',
+ url : 'connectors/php/connector.php'
+ });
+ })
+ </script>
+ <style type="text/css" media="screen">
+ body { padding:20px;}
+ </style>
+</head>
+<body>
+
+ <div id="finder">
+
+ </div>
+
+</body>
+</html>
View
@@ -0,0 +1,122 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+
+<html lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>elRTE from source</title>
+ <!-- jQuery and plugins -->
+ <script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
+ <script src="js/jquery-ui-1.7.2.custom.min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="js/jquery.form.js" type="text/javascript" charset="utf-8"></script>
+ <script src="js/jquery.metadata.js" type="text/javascript" charset="utf-8"></script>
+ <link rel="stylesheet" href="js/ui-themes/base/ui.all.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <!-- css for widgets -->
+ <link rel="stylesheet" href="src/ellib/css/elcommon.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/ellib/css/elcolorpicker.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/ellib/css/elcontextmenu.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/ellib/css/eldialogform.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/ellib/css/eldirtree.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/ellib/css/elpaddinginput.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/ellib/css/elselect.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/elfinder/css/elfinder.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <link rel="stylesheet" href="src/elrte/css/elrte.css" type="text/css" media="screen" title="no title" charset="utf-8">
+ <!-- common js and widgets -->
+ <script src="src/ellib/js/elcookie.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/eli18n.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/eldialogform.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/jquery.elcolorpicker.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/jquery.elborderselect.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/jquery.elcontextmenu.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/jquery.eldirtree.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/jquery.elpaddinginput.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/ellib/js/jquery.elselect.js" type="text/javascript" charset="utf-8"></script>
+ <!-- elFinder -->
+ <script src="src/elfinder/js/elfinder.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elfinder/js/i18n/elfinder.ru.js" type="text/javascript" charset="utf-8"></script>
+
+ <!-- elRTE -->
+ <script src="src/elrte/js/elRTE.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/elRTE.options.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/elRTE.utils.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/elRTE.DOM.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/elRTE.selection.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/elRTE.w3cRange.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/elRTE.ui.js" type="text/javascript" charset="utf-8"></script>
+ <!-- russian messages for elRTE -->
+ <script src="src/elrte/js/i18n/elrte.ru.js" type="text/javascript" charset="utf-8"></script>
+
+ <!-- elRTE buttons -->
+ <script src="src/elrte/js/ui/anchor.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/blockquote.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/copy.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/div.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/docstructure.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/elfinder.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/fontname.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/fontsize.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/forecolor.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/formatblock.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/fullscreen.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/horizontalrule.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/image.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/indent.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/justifyleft.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/link.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/nbsp.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/outdent.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/pasteformattext.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/pastetext.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/save.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/stopfloat.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/table.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/tablerm.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/tbcellprops.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/tbcellsmerge.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/tbcellsplit.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/tbcollbefore.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/tbcolrm.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/tbrowrm.js" type="text/javascript" charset="utf-8"></script>
+ <script src="src/elrte/js/ui/unlink.js" type="text/javascript" charset="utf-8"></script>
+
+ <script type="text/javascript" charset="utf-8">
+ $().ready(function() {
+
+ var opts = {
+ cssClass : 'el-rte',
+ lang : 'ru',
+ height : 450,
+ toolbar : 'maxi',
+ cssfiles : ['src/elrte/css/elrte-inner.css'],
+ fmAllow : true,
+ fmOpen : function(callback) {
+ $('<div />').elfinder({
+ url : 'connectors/php/connector.php',
+ dialog : { width : 900, modal : true, title : 'Files' },
+ editorCallback : callback
+ })
+ }
+ }
+ $('#editor').elrte(opts);
+ })
+ </script>
+
+ <style type="text/css" media="screen">
+ body { padding:20px;}
+ </style>
+
+</head>
+<body>
+ <div id="editor">
+ <h2>ДУГЛАС АДАМС - Путеводитель "Автостопом по Галактике"<br>
+ DOUGLAS ADAMS - The Hitchhiker's Guide to the Galaxy</h2><img src="http://upload.wikimedia.org/wikipedia/en/1/1c/Hitchhiker%27s_Guide_%28book_cover%29.jpg" style="float: left; margin-top: 0px; margin-right: 20px; margin-left: 20px;" title="" alt="" height="229" width="140"><h3>Вот что сообщает Галактический Путеводитель на предмет <span style="background-color: rgb(255, 255, 153);">полотенец</span>:</h3><div style="text-align: justify; padding-left: 0px;">&nbsp;&nbsp;<span style="background-color: rgb(255, 255, 153);">Полотенце</span>, возможно, самый необходимый предмет для межзвездного путешественника. Оно имеет некоторую практическую ценность - вы можете: завернуться в него, чтобы согреться, прыгая по холодным лунам Джаглан-Беты; использовать его, как подстилку, лежа на мраморном песке пляжей Сантрагинуса V, и вдыхая пьянящий &nbsp;морской воздух; спать на нем под огненно-красными звездами на пустынной планете Какрафун; сделать из него парус, чтобы спуститься на плоту по ленивой реке Мотт; намочить его и завязать узлом, чтобы использовать, как оружие в рукопашной; обвязать им голову, чтобы избежать ядовитого дыма или взгляда Прожорного Заглотозавера с Трааля (умопомрачительно глупое животное: оно считает, что раз вы его не видите, то и оно вас не видит; тупое, как сапог от скафандра, но очень, очень прожорливое); <span style="background-color: rgb(255, 255, 153);">полотенцем</span> можно размахивать, подавая сигнал бедствия; и, разумеется, вытираться, если оно все еще чистое.</div><br><br><hr style="width: 100%; height: 1px;" noshade="true"><br>
+<div style="padding: 15px; margin-left: 10px; float: right; width: 150px; background-color: rgb(255, 255, 153); color: rgb(255, 51, 0); text-align: center; font-size: xx-large;"><strong>DON'T<br>PANIC</strong></div><div style="text-align: justify;">&nbsp;&nbsp;In many of the more relaxed civilizations on the Outer Eastern Rim of the Galaxy, the <span class="" style="text-decoration: underline;">Hitch-Hiker's Guide</span> has already supplanted the great Encyclopaedia Galactica as the standard repository of all knowledge and wisdom, for though it has many omissions and contains much that is apocryphal, or at least wildly inaccurate, it scores over the older, more pedestrian work in two important respects. First, it is slightly cheaper; and secondly it has the words <i>DON'T PANIC</i> inscribed in large friendly letters on its cover.<br><br></div>
+ <p style="padding-left: 40px; color: rgb(0, 51, 102);">"And the wheel," <span style="color: rgb(0, 0, 0);">said the Captain,</span> "What about this wheel thingy? It sounds a terribly interesting project."</p>
+ <p style="padding-left: 40px; color: rgb(153, 51, 51);">"Ah," <span style="color: rgb(0, 0, 0);">said the marketing girl, </span>"Well, we're having a little difficulty there."</p>
+ <p style="padding-left: 40px; color: rgb(0, 51, 102);">"Difficulty?"&nbsp;<span style="color: rgb(0, 0, 0);">exclaimed Ford.</span> "Difficulty? What do you mean, difficulty? It's the single simplest machine in the entire Universe!"</p>
+ <p style="padding-left: 40px;">The marketing girl soured him with a look.</p>
+ <p style="padding-left: 40px;"><span style="color: rgb(153, 51, 51);">"Alright, Mr. Wiseguy,"</span> she said, <span style="color: rgb(153, 51, 51);">"if you're so clever, you tell us what colour it should be."</span></p>
+ <br>
+ </div>
+</body>
+</html>
Oops, something went wrong.

0 comments on commit 975a47f

Please sign in to comment.