forked from Studio-42/elFinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* elRTE 1.0rc2 * elFinder 1.0.1
- Loading branch information
Showing
118 changed files
with
13,908 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
_ _____ _______ ______ | ||
| | | __ \ |__ __| | ____| | ||
___ | | | |__) | | | | |__ | ||
/ _ \ | | | _ / | | | __| | ||
| __/ | | | | \ \ | | | |____ | ||
\___| |_| |_| \_\ |_| |______| | ||
|
||
|
||
|
||
Description | ||
=========== | ||
|
||
www.elrte.ru / [email protected] | ||
|
||
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 <[email protected]> | ||
Techsupport, make file and testing: Troex Nevelin <[email protected]> | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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;"> <span style="background-color: rgb(255, 255, 153);">Полотенце</span>, возможно, самый необходимый предмет для межзвездного путешественника. Оно имеет некоторую практическую ценность - вы можете: завернуться в него, чтобы согреться, прыгая по холодным лунам Джаглан-Беты; использовать его, как подстилку, лежа на мраморном песке пляжей Сантрагинуса V, и вдыхая пьянящий морской воздух; спать на нем под огненно-красными звездами на пустынной планете Какрафун; сделать из него парус, чтобы спуститься на плоту по ленивой реке Мотт; намочить его и завязать узлом, чтобы использовать, как оружие в рукопашной; обвязать им голову, чтобы избежать ядовитого дыма или взгляда Прожорного Заглотозавера с Трааля (умопомрачительно глупое животное: оно считает, что раз вы его не видите, то и оно вас не видит; тупое, как сапог от скафандра, но очень, очень прожорливое); <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;"> 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?" <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.