svn commit: r1178141 [11/19] - in /ofbiz/trunk: applications/content/webapp/content/website/ framework/images/webapp/images/jquery/ framework/images/webapp/images/jquery/plugins/elrte-1.3/ framework/images/webapp/images/jquery/plugins/elrte-1.3/css/ fr...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1178141 [11/19] - in /ofbiz/trunk: applications/content/webapp/content/website/ framework/images/webapp/images/jquery/ framework/images/webapp/images/jquery/plugins/elrte-1.3/ framework/images/webapp/images/jquery/plugins/elrte-1.3/css/ fr...

jleroux@apache.org
Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/js/jquery-ui-1.8.13.custom.min.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/js/jquery-ui-1.8.13.custom.min.js
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/js/jquery-ui-1.8.13.custom.min.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/
------------------------------------------------------------------------------
    bugtraq:number = true

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/Makefile
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/Makefile?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/Makefile (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/Makefile Sun Oct  2 08:06:49 2011
@@ -0,0 +1,142 @@
+# build relese
+# author: Troex Nevelin <[hidden email]>
+
+Q=   @
+CAT= cat
+RM=  rm
+CP=  cp
+SRC= .
+DST= ..
+CSS=  ${DST}/css
+JS=   ${DST}/js
+I18N= ${DST}/js/i18n
+IMG=  ${DST}/images
+
+# YUI Compressor
+COMPRESSOR= 1
+COMPRESSOR_JS= java -jar ../../../_old/yuicompressor-2.4.6/build/yuicompressor-2.4.6.jar \
+ --charset utf8 --type js --line-break 500 \
+ -o ${elrte_js_min} ${elrte_js}
+COMPRESSOR_CSS= java -jar ../../../_old/yuicompressor-2.4.6/build/yuicompressor-2.4.6.jar \
+ --charset utf8 --type css --line-break 1 \
+ -o ${elrte_css_min} ${elrte_css}
+
+# Closure Compiler
+# ADVANCED_OPTIMIZATIONS maybe someday
+#COMPRESSOR= java -jar ../../../compiler.jar \
+ --charset UTF-8 --compilation_level SIMPLE_OPTIMIZATIONS \
+ --js_output_file ${elrte_js_min} --js ${elrte_js}
+
+PHONY:     help
+all:       elrte elrte-install
+clean:     clean-elrte
+install:   elrte-install
+uninstall: ellib-uninstall elrte-uninstall
+distclean: uninstall clean
+
+help:
+ @echo 'Makefile for release build automation'
+ @echo ' Packages:'
+ @echo '   elrte         - elRTE WYSIWYG html editor'
+ @echo ''
+ @echo ' MAKE targets:'
+ @echo '   all           - build and install all packages'
+ @echo '   help          - show this message'
+ @echo '   install       - install all packages, will auto build'
+ @echo '   uninstall     - remove all generated files from DST (${DST})'
+ @echo '   clean         - remove generated files from SRC (${SRC})'
+ @echo '   distclean     - preform uninstall and clean'
+ @echo ''
+ @echo ' Individual package targets are possible. To build single package replace PACKAGE'
+ @echo ' with name from "Packages" section:'
+ @echo '   PACKAGE'
+ @echo '   PACKAGE-install'
+ @echo '   PACKAGE-unstall'
+ @echo '   clean-PACKAGE'
+
+
+# define objects
+
+# elLib
+ellib_img_obj= ${SRC}/ellib/images/loading.gif
+ellib_img_obj_dst= ${IMG}/loading.gif
+
+
+# elRTE
+elrte_css= elrte.full.css
+elrte_css_min= elrte.min.css
+elrte_css_obj= ${SRC}/about.txt \
+ ${SRC}/ellib/css/elcommon.css \
+ ${SRC}/ellib/css/elcolorpicker.css \
+ ${SRC}/ellib/css/eldialogform.css \
+ ${SRC}/ellib/css/elpaddinginput.css \
+ ${SRC}/ellib/css/elselect.css \
+ ${SRC}/elrte/css/elrte.css
+
+elrte_js= elrte.full.js
+elrte_js_min= elrte.min.js
+elrte_js_obj= \
+ ${SRC}/ellib/js/eli18n.js \
+ ${SRC}/ellib/js/eldialogform.js \
+ ${SRC}/ellib/js/jquery.elcolorpicker.js \
+ ${SRC}/ellib/js/jquery.elborderselect.js \
+ ${SRC}/ellib/js/jquery.elpaddinginput.js \
+ ${SRC}/ellib/js/jquery.elselect.js \
+ ${SRC}/elrte/js/elRTE.js \
+ ${SRC}/elrte/js/elRTE.*.js \
+ ${SRC}/elrte/js/ui/*.js
+
+
+# elLib
+ellib-install:
+ ${CP} ${ellib_img_obj} ${IMG}/
+
+ellib-uninstall:
+ ${RM} -f ${ellib_img_obj_dst}
+
+
+# elRTE
+elrte: ${elrte_css} ${elrte_js}
+
+elrte-install: elrte ellib-install
+ ${CP} ${elrte_css} ${SRC}/elrte/css/elrte-inner.css ${CSS}/
+ ${CP} ${elrte_js}  ${JS}/
+ ${CP} ${SRC}/elrte/js/i18n/elrte.??.js        ${I18N}/
+ ${CP} ${SRC}/elrte/js/i18n/elrte.??_??.js     ${I18N}/
+ ${CP} ${SRC}/elrte/js/i18n/elrte.YOUR_LANG.js ${I18N}/
+ ${CP} ${SRC}/elrte/images/*.png               ${IMG}/
+ ${CP} ${SRC}/elrte/images/*.gif               ${IMG}/
+ ${CP} -R ${SRC}/elrte/images/smileys          ${IMG}/
+
+${elrte_css}:
+ ${CAT} ${elrte_css_obj} > $@
+
+${elrte_js}:
+ ${CAT} ${elrte_js_obj} > $@
+
+elrte-uninstall:
+ ${RM} -f ${CSS}/${elrte_css} ${CSS}/${elrte_css_min} ${CSS}/elrte-inner.css \
+ ${JS}/${elrte_js} ${JS}/${elrte_js_min} \
+ ${I18N}/elrte.??.js ${I18N}/elrte.??_??.js ${I18N}/elrte.YOUR_LANG.js \
+ ${IMG}/*.png ${IMG}/*.gif
+ ${RM} -rf ${IMG}/smileys
+
+clean-elrte:
+ ${RM} -f ${elrte_css} ${elrte_css_min} ${elrte_js} ${elrte_js_min}
+
+
+# compressor
+elrte-compress:
+ ${COMPRESSOR_JS}
+ ${COMPRESSOR_CSS}
+
+elrte-compress-install:
+ ${CP} ${SRC}/${elrte_js_min} ${JS}/
+ ${CP} ${SRC}/${elrte_css_min} ${CSS}/
+
+
+ifdef COMPRESSOR
+elrte:                elrte-compress
+elrte-install:        elrte-compress-install
+endif
+

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/Makefile
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/Makefile
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/about.txt
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/about.txt?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/about.txt (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/about.txt Sun Oct  2 08:06:49 2011
@@ -0,0 +1,9 @@
+/*!
+ * elRTE WYSIWYG HTML-editor
+ * Version 1.3 (2011-06-23)
+ * http://elrte.org
+ *
+ * Copyright 2009-2011, Studio 42 Ltd.
+ * Licensed under a 3 clauses BSD license
+ */
+

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/about.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/about.txt
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/about.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/
------------------------------------------------------------------------------
    bugtraq:number = true

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/
------------------------------------------------------------------------------
    bugtraq:number = true

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcolorpicker.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcolorpicker.css?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcolorpicker.css (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcolorpicker.css Sun Oct  2 08:06:49 2011
@@ -0,0 +1,50 @@
+/* colorpicker "button" */
+.el-colorpicker {
+ width  : 16px;
+ height : 16px;
+ border:1px solid #ccc;
+ position:relative;
+ cursor:default;
+}
+
+/* colors palette */
+.el-palette {
+ width: 182px;
+ border:1px solid #ccc;
+ background:#fff;
+ padding:3px 2px 3px 3px;
+ z-index:99000; /* fight with ui.dialog 0_o */
+ position:absolute;
+ top:16px;
+ left:0;
+}
+
+/* color cell in palette */
+.el-palette .color {
+ float:left;
+ width:14px;
+ height:14px;
+ line-height:1px;
+ border-top: 1px solid #eee;
+ border-left:1px solid #eee;
+}
+
+/* side below color cells */
+.el-palette .panel {
+ border-top:1px solid #ccc;
+ margin-top:7px;
+ padding:5px 3px 5px 3px;
+}
+
+/* "window" with selected color */
+.el-palette .panel .preview {
+ float:right;
+ width:18px;
+ height:18px;
+ border:1px solid #ccc;
+}
+
+/* color value text field */
+.el-palette .panel input {
+ border:1px solid #ccc;
+}

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcolorpicker.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcolorpicker.css
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcolorpicker.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcommon.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcommon.css?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcommon.css (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcommon.css Sun Oct  2 08:06:49 2011
@@ -0,0 +1,29 @@
+@charset "UTF-8";
+a { outline: none; }
+
+/*************  clearfix  **********************/
+
+.clearfix:after {
+  content: ".";
+  display: block;
+  font-size:0;
+  height: 0;
+  clear: both;
+  visibility: hidden;
+}
+
+.clearfix { display: block; }
+
+.rounded-2 { -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
+.rounded-3 { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+.rounded-4 { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
+.rounded-5 { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
+.rounded-6 { -moz-border-radius: 6px; -webkit-border-radius: 5px; border-radius: 6px; }
+.rounded-7 { -moz-border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px; }
+.rounded-left-3 { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; }
+.rounded-bottom-7 { -moz-border-radius-bottomleft:7px; -moz-border-radius-bottomright:7px; -webkit-border-bottom-left-radius: 7px;-webkit-border-bottom-right-radius: 7px; border-bottom-left-radius: 7px; border-bottom-right-radius: 7px;}
+
+
+.ui-widget { font-size:.9em;}
+.ui-dialog .ui-dialog-buttonpane button { padding: .1em .6em .2em .6em; }
+

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcommon.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcommon.css
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elcommon.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/eldialogform.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/eldialogform.css?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/eldialogform.css (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/eldialogform.css Sun Oct  2 08:06:49 2011
@@ -0,0 +1,80 @@
+/* dialog container */
+.ui-widget .el-dialogform {
+ padding:5px 3px;
+
+}
+
+.ui-widget .el-dialogform-rtl {
+ direction: rtl;
+}
+
+.ui-widget .el-dialogform-rtl .ui-tabs-nav li {
+ float:right;
+}
+
+.el-dialogform div.tab:hover { background:transparent; }
+.ui-dialog .ui-dialog-title, .ui-dialog .ui-dialog-content {
+ font-size:.9em;
+}
+
+/* tabs nav */
+.ui-tabs .ui-tabs-nav li a {
+ padding:.2em .7em;
+}
+
+/* tab container */
+.el-dialogform .tab {
+ padding:5px 0 12px 0;
+ border:none;
+}
+/* line separator */
+.el-dialogform .separator {
+ border-top:1px solid #ccc;
+ margin: 5px 2px;
+}
+
+/* table in dialog or in tab */
+.el-dialogform table {
+ width:100%;
+ border: none;
+}
+
+.el-dialogform  table td {
+ padding: 2px;
+}
+
+.el-dialogform input, .el-dialogform textarea {
+ border:1px solid #ccc;
+}
+
+.el-dialogform select {
+ padding:0;
+/* font-size:11px;*/
+}
+
+.el-dialogform .spinner {
+ background:url(../images/loading.gif) 50% 50% no-repeat;
+ text-align:center;
+ width:150px;
+ height:50px;
+ margin:10px auto;
+ padding-top:33px;
+ font-weight:bold;
+}
+.el-dialogform-error {
+ background: #fee; color:#ff0000; border: 2px #844 solid; padding: 10px; margin-bottom: 1em 0;
+
+}
+.el-dialogform-message {
+ background: #efe; color: #040; border: 2px #484 solid; padding: 10px; margin-bottom: 1em 0;
+}
+
+
+.el-dialogform  table td .el-borderselect table {
+ width:auto;
+}
+
+.el-dialogform  table td .el-borderselect table td {
+ padding-left :0;
+ padding-right:2px;
+}

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/eldialogform.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/eldialogform.css
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/eldialogform.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elpaddinginput.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elpaddinginput.css?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elpaddinginput.css (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elpaddinginput.css Sun Oct  2 08:06:49 2011
@@ -0,0 +1,11 @@
+.el-paddinginput {
+ display: block;
+ white-space: nowrap;
+}
+.el-paddinginput input {
+ margin :0 1px 0 0;
+ border:1px solid #ccc;
+}
+.el-paddinginput select {
+ padding:0;
+}
\ No newline at end of file

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elpaddinginput.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elpaddinginput.css
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elpaddinginput.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elreset.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elreset.css?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elreset.css (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elreset.css Sun Oct  2 08:06:49 2011
@@ -0,0 +1,49 @@
+@charset "UTF-8";
+
+* { margin:0; padding: 0; }
+
+html, body, div, span,
+applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, ins, kbd, q, s, samp,
+small, strike, strong, tt, var,
+dd, dl, dt, li, ol, ul,
+fieldset, form, label, legend, caption
+{
+ margin:0; padding: 0;
+ font-weight: inherit;
+ font-style: inherit;
+ font-size: 100%;
+ font-family: inherit;
+ text-align: left;
+ vertical-align: baseline;
+}
+
+
+html, body, div, span,
+applet, object, iframe,
+fieldset, form, label, legend { border: 0 solid; }
+
+
+/*  IE5 & IE6 likes it  */
+* html body *   { overflow:visible; }
+* html iframe,
+* html frame    { overflow:auto; }
+
+/*  Ð’ключаем вертикальный скролл в FF & Safari  */
+html { height: 100%; margin-bottom: 1px; }
+
+/** Default body  **/
+body {
+    font-size: 100.01%; /* Fix for font size in old Opera  */
+    color: #000;
+    background: #fff;
+    text-align: left;
+  }                              
+/*  Ð˜ÑÐ¿Ñ€Ð°Ð²Ð»ÑÐµÐ¼ слишком мелкий select  */
+option { padding-left: 0.4em; }
+select { padding: 1px; }
+/*  No image borders  */
+img, a img, :link img, :visited img { border: 0; }
+a { outline: none; }

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elreset.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elreset.css
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elreset.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elselect.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elselect.css?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elselect.css (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elselect.css Sun Oct  2 08:06:49 2011
@@ -0,0 +1,57 @@
+/* container for elselect */
+.el-select {
+ height:17px;
+ width : 110px;
+ border:1px solid #ccc;
+ cursor: default;
+ position:relative;
+}
+.el-select.hover {
+ background-color:#eee;
+}
+
+/* selected element */
+.el-select label {
+ height:17px;
+ line-height:17px;
+/* font-size:.92em;*/
+ padding: 0 5px;
+ margin: 0 12px 0 0;
+ display:block;
+ white-space:nowrap;
+ overflow:hidden;
+ background: #fff;
+ border-right:1px solid #ccc;
+}
+/* drop-down list */
+.el-select .list {
+ border:1px solid #ccc;
+ display:block;
+ position:absolute;
+ overflow:auto;
+ background:#fff;
+ z-index:1000;
+/* height:1610px*/
+}
+/* drop-down list item */
+.el-select .list div {
+ position:relative;
+ padding:3px 25px 3px 7px;
+ border-bottom:1px solid #eee;
+}
+/* drop-down list item hovered */
+.el-select .list .hover {
+ background:#efefef;
+}
+/* drop-down list item selected */
+.el-select .list .active {
+ background-color:#c3dbef;
+}
+/* any elements in drop-down list item */
+.el-select .list div * {
+ padding:0;
+ margin:0;
+ border:none;
+ white-space:nowrap;
+ display:block;
+}

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elselect.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elselect.css
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/css/elselect.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/images/
------------------------------------------------------------------------------
    bugtraq:number = true

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/images/eldirtree.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/images/eldirtree.png?rev=1178141&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/images/eldirtree.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/images/loading.gif
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/images/loading.gif?rev=1178141&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/images/loading.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/
------------------------------------------------------------------------------
    bugtraq:number = true

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eldialogform.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eldialogform.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eldialogform.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eldialogform.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,293 @@
+/**
+ * @class elDialogForm
+ * Wraper for jquery.ui.dialog and jquery.ui.tabs
+ *  Create form in dialog. You can decorate it as you wish - with tabs or/and tables
+ *
+ * Usage:
+ *   var d = new elDialogForm(opts)
+ *   d.append(['Field name: ', $('<input type="text" name="f1" />')])
+ * .separator()
+ * .append(['Another field name: ', $('<input type="text" name="f2" />')])
+ *      .open()
+ * will create dialog with pair text field separated by horizontal rule
+ * Calling append() with 2 additional arguments ( d.append([..], null, true))
+ *  - will create table in dialog and put text inputs and labels in table cells
+ *
+ * Dialog with tabs:
+ *   var d = new elDialogForm(opts)
+ *   d.tab('first', 'First tab label)
+ *  .tab('second', 'Second tab label)
+ *    .append(['Field name: ', $('<input type="text" name="f1" />')], 'first', true)  - add label and input to first tab in table (table will create automagicaly)
+ *    .append(['Field name 2: ', $('<input type="text" name="f2" />')], 'second', true)  - same in secon tab
+ *
+ * Options:
+ *   class     - css class for dialog
+ *   submit    - form submit event callback. Accept 2 args - event and this object
+ *   ajaxForm  - arguments for ajaxForm, if needed (dont forget include jquery.form.js)
+ *   tabs      - arguments for ui.tabs
+ *   dialog    - arguments for ui.dialog
+ *   name      - hidden text field in wich selected value will saved
+ *
+ * Notice!
+ * When close dialog, it will destroing insead of dialog('close'). Reason - strange bug with tabs in dialog on secondary opening.
+ *
+ * @author:    Dmitry Levashov (dio) [hidden email]
+ *
+ **/
+
+function elDialogForm(o) {
+ var self = this;
+
+ var defaults = {
+ 'class'   : 'el-dialogform',
+ submit    : function(e, d) { d.close(); },
+ form      : { action : window.location.href, method : 'post' },
+ ajaxForm  : null,
+ validate  : null,
+ spinner   : 'Loading',
+ tabs      : { active: 0, selected : 0 },
+ tabPrefix : 'el-df-tab-',
+ dialog    : {
+ title     : 'dialog',
+ autoOpen  : false,
+ modal     : true,
+ resizable : false,
+ closeOnEscape : true,
+ buttons  : {
+ Cancel : function() { self.close(); },
+ Ok     : function() { self.form.trigger('submit'); }
+ }
+ }
+ };
+
+ this.opts = jQuery.extend(true, {}, defaults, o);
+
+ this.opts.dialog.close = function() {
+ self.close();
+ }
+
+ // this.opts.dialog.autoOpen = true;
+ if (this.opts.rtl) {
+ this.opts['class'] += ' el-dialogform-rtl';
+ }
+
+ if (o && o.dialog && o.dialog.buttons && typeof(o.dialog.buttons) == 'object') {
+ this.opts.dialog.buttons = o.dialog.buttons;
+ }
+
+ this.ul     = null;
+ this.tabs   = {};
+ this._table = null;
+
+ this.dialog = jQuery('<div />').addClass(this.opts['class']).dialog(this.opts.dialog);
+
+ this.message = jQuery('<div class="el-dialogform-message rounded-5" />').hide().appendTo(this.dialog);
+ this.error   = jQuery('<div class="el-dialogform-error rounded-5" />').hide().appendTo(this.dialog);
+ this.spinner = jQuery('<div class="spinner" />').hide().appendTo(this.dialog);
+ this.content = jQuery('<div class="el-dialogform-content" />').appendTo(this.dialog)
+ this.form   = jQuery('<form />').attr(this.opts.form).appendTo(this.content);
+
+ if (this.opts.submit) {
+ this.form.bind('submit', function(e) { self.opts.submit(e, self) })
+ }
+ if (this.opts.ajaxForm && jQuery.fn.ajaxForm) {
+ this.form.ajaxForm(this.opts.ajaxForm);
+ }
+ if (this.opts.validate) {
+ this.form.validate(this.opts.validate);
+ }
+
+ this.option = function(name, value) {
+ return this.dialog.dialog('option', name, value)
+ }
+
+ this.showError = function(msg, hideContent) {
+ this.hideMessage();
+ this.hideSpinner();
+ this.error.html(msg).show();
+ hideContent && this.content.hide();
+ return this;
+ }
+
+ this.hideError= function() {
+ this.error.text('').hide();
+ this.content.show();
+ return this;
+ }
+
+ this.showSpinner = function(txt) {
+ this.error.hide();
+ this.message.hide();
+ this.content.hide();
+ this.spinner.text(txt||this.opts.spinner).show();
+ this.option('buttons', {});
+ return this;
+ }
+
+ this.hideSpinner = function() {
+ this.content.show();
+ this.spinner.hide();
+ return this;
+ }
+
+ this.showMessage = function(txt, hideContent) {
+ this.hideError();
+ this.hideSpinner();
+ this.message.html(txt||'').show();
+ hideContent && this.content.hide();
+ return this;
+ }
+
+ this.hideMessage = function() {
+ this.message.hide();
+ this.content.show();
+ return this;
+ }
+
+ /**
+ * Create new tab
+ * @param string id    - tab id
+ * @param string title - tab name
+ * @return elDialogForm
+ **/
+ this.tab = function(id, title) {
+ id = this.opts.tabPrefix+id;
+
+ if (!this.ul) {
+ this.ul = jQuery('<ul />').prependTo(this.form);
+ }
+ jQuery('<li />').append(jQuery('<a />').attr('href', '#'+id).html(title)).appendTo(this.ul);
+ this.tabs[id] = {tab : jQuery('<div />').attr('id', id).addClass('tab').appendTo(this.form), table : null};
+ return this;
+ }
+
+ /**
+ * Create new table
+ * @param string id  tab id, if set - table will create in tab, otherwise - in dialog
+ * @return elDialogForm
+ **/
+ this.table = function(id) {
+ id = id && id.indexOf(this.opts.tabPrefix) == -1 ? this.opts.tabPrefix+id : id;
+ if (id && this.tabs && this.tabs[id]) {
+ this.tabs[id].table = jQuery('<table />').appendTo(this.tabs[id].tab);
+ } else {
+ this._table = jQuery('<table />').appendTo(this.form);
+ }
+ return this;
+ }
+
+ /**
+ * Append html, dom nodes or jQuery objects to dialog or tab
+ * @param array|object|string  data object(s) to append to dialog
+ * @param string               tid  tab id, if adding to tab
+ * @param bool                 t    if true - data will added in table (creating automagicaly)
+ * @return elDialogForm
+ **/
+ this.append = function(data, tid, t) {
+ tid = tid ? 'el-df-tab-'+tid : '';
+
+ if (!data) {
+ return this;
+ }
+
+ if (tid && this.tabs[tid]) {
+ if (t) {
+ !this.tabs[tid].table && this.table(tid);
+ var tr = jQuery('<tr />').appendTo(this.tabs[tid].table);
+ if (!jQuery.isArray(data)) {
+ tr.append(jQuery('<td />').append(data));
+ } else {
+ for (var i=0; i < data.length; i++) {
+ tr.append(jQuery('<td />').append(data[i]));
+ };
+ }
+ } else {
+ if (!jQuery.isArray(data)) {
+ this.tabs[tid].tab.append(data)
+ } else {
+ for (var i=0; i < data.length; i++) {
+ this.tabs[tid].tab.append(data[i]);
+ };
+ }
+ }
+
+ } else {
+ if (!t) {
+ if (!jQuery.isArray(data)) {
+ this.form.append(data);
+ } else {
+ for (var i=0; i < data.length; i++) {
+ this.form.append(data[i]);
+ };
+ }
+ } else {
+ if (!this._table) {
+ this.table();
+ }
+ var tr = jQuery('<tr />').appendTo(this._table);
+ if (!jQuery.isArray(data)) {
+ tr.append(jQuery('<td />').append(data));
+ } else {
+ for (var i=0; i < data.length; i++) {
+ tr.append(jQuery('<td />').append(data[i]));
+ };
+ }
+ }
+ }
+ return this;
+ }
+
+ /**
+ * Append separator (div class="separator") to dialog or tab
+ * @param  string tid  tab id, if adding to tab
+ * @return elDialogForm
+ **/
+ this.separator = function(tid) {
+ tid = 'el-df-tab-'+tid;
+ if (this.tabs && this.tabs[tid]) {
+ this.tabs[tid].tab.append(jQuery('<div />').addClass('separator'));
+ this.tabs[tid].table && this.table(tid);
+ } else {
+ this.form.append(jQuery('<div />').addClass('separator'));
+ }
+ return this;
+ }
+
+ /**
+ * Open dialog window
+ * @return elDialogForm
+ **/
+ this.open = function() {
+ var self = this;
+
+ this.ul && this.form.tabs(this.opts.tabs);
+
+ setTimeout(function() {
+ self.dialog.find(':text')
+ .keydown(function(e) {
+ if (e.keyCode == 13) {
+ e.preventDefault()
+ self.form.submit();
+ }
+ })
+ .filter(':first')[0].focus()
+ }, 200);
+
+ this.dialog.dialog('open');
+
+ return this;
+ }
+
+ /**
+ * Close dialog window and destroy content
+ * @return void
+ **/
+ this.close = function() {
+ if (typeof(this.opts.close) == 'function') {
+ this.opts.close();
+ }
+ this.dialog.dialog('destroy')//.remove();
+ }
+
+}
+

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eldialogform.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eldialogform.js
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eldialogform.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eli18n.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eli18n.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eli18n.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eli18n.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,104 @@
+/**
+ * @class eli18n
+ * Javascript applications localization
+ *
+ * @param Object o - class options. Object. {textdomain : 'имя_группы_сообщений', messages : {textdomain1 : {}[, textdomain2 : {}]...}}
+ *
+ * Usage:
+ *
+ * var msgs = { Hello : 'Превэд', 'Hello %user' : 'Превед %user' };
+ * //load messages and set default textdomain
+ * var translator = new eli18n( {textdomain : 'test', messages : {test : msgs}} )
+ * window.console.log(translator.translate('Hello'));
+ * window.console.log(translator.format('Hello %user', {user : 'David Blain'}))
+ * // create new textdomain
+ * translator.load({test2 : {'Goodbye' : 'Ja, deva mata!'} })
+ * // and use it, without changing default one
+ * window.console.log(translator.translate('Goodbye', 'test2'));
+ *
+ * @author:    Dmitry (dio) Levashov [hidden email]
+ * license:   BSD license
+ **/
+function eli18n(o) {
+
+ /**
+ * Get/set default textdomain
+ *
+ * @param String d new textdomain name
+ * @return String  default textdomain
+ **/
+ this.textdomain = function(d) {
+ return this.messages[d] ? this._domain = d : this._domain;
+ }
+
+ o && o.messages   && this.load(o.messages);
+ o && o.textdomain && this.textdomain(o.textdomain);
+}
+
+eli18n.prototype = new function() {
+
+ /**
+ * @var Object messages (key - messages in English or message handler, value - message in selected language)
+ **/
+ this.messages = {};
+ /**
+ * @var String default textdomain
+ **/
+ this._domain   = '';
+
+ /**
+ * Load new messages
+ *
+ * @param Object msgs - messages (key - textdomain name, value - messages Object)
+ * @return Object this
+ **/
+ this.load = function(msgs) {
+ if (typeof(msgs) == 'object') {
+ for (var d in msgs) {
+ var _msgs = msgs[d];
+ if (typeof(_msgs) == 'object') {
+ if (!this.messages[d]) {
+ this.messages[d] = {};
+ }
+ for (var k in _msgs) {
+ if (typeof(_msgs[k]) == 'string') {
+ this.messages[d][k] = _msgs[k];
+ }
+ }
+ }
+ }
+ }
+ return this;
+ }
+
+ /**
+ * Return translated message, if message exists in required or default textdomain, otherwise returns original message
+ *
+ * @param  String msg - message
+ * @param  String d - textdomain. If empty, default textdomain will be used
+ * @return String translated message
+ **/
+ this.translate = function(msg, d) {
+ var d = d && this.messages[d] ? d : this._domain;
+ return this.messages[d] && this.messages[d][msg] ? this.messages[d][msg] : msg;
+
+ }
+
+ /**
+ * Translate message and replace placeholders (%placeholder)
+ *
+ * @param  String  msg - message
+ * @param  Object  replacement for placeholders (keys - placeholders name without leading %, values - replacements)
+ * @param  String  d - textdomain. If empty, default textdomain will be used
+ * @return String  translated message
+ **/
+ this.format = function(msg, data, d) {
+ msg = this.translate(msg, d);
+ if (typeof(data) == 'object') {
+ for (var i in data) {
+ msg = msg.replace('%'+i, this.translate(data[i], d));
+ }
+ }
+ return msg;
+ }
+}

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eli18n.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eli18n.js
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/eli18n.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elborderselect.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elborderselect.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elborderselect.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elborderselect.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,150 @@
+/**
+ * jQuery plugin. Create group of text input, elSelect and elColorPicker.
+ * Allow input border-width, border-style and border-color. Used in elRTE
+ *
+ * @author:    Dmitry Levashov (dio) [hidden email]
+ **/
+(function($) {
+
+ $.fn.elBorderSelect = function(o) {
+
+ var $self = this;
+ var self  = this.eq(0);
+ var opts  = $.extend({}, $.fn.elBorderSelect.defaults, o);
+ var width = $('<input type="text" />')
+ .attr({'name' : opts.name+'[width]', size : 3}).css('text-align', 'right')
+ .change(function() { $self.change(); });
+
+ var color = $('<div />').css('position', 'relative')
+ .elColorPicker({
+ 'class'         : 'el-colorpicker ui-icon ui-icon-pencil',
+ name            : opts.name+'[color]',
+ palettePosition : 'outer',
+ change          : function() { $self.change(); }
+ });
+
+
+ var style = $('<div />').elSelect({
+ tpl       : '<div style="border-bottom:4px %val #000;width:100%;margin:7px 0"> </div>',
+ tpls      : { '' : '%label'},
+ maxHeight : opts.styleHeight || null,
+ select    : function() { $self.change(); },
+ src       : {
+ ''       : 'none',
+ solid    : 'solid',
+ dashed   : 'dashed',
+ dotted   : 'dotted',
+ 'double' : 'double',
+ groove   : 'groove',
+ ridge    : 'ridge',
+ inset    : 'inset',
+ outset   : 'outset'
+ }
+ });
+
+ self.empty()
+ .addClass(opts['class'])
+ .attr('name', opts.name||'')
+ .append(
+ $('<table />').attr('cellspacing', 0).append(
+ $('<tr />')
+ .append($('<td />').append(width).append(' px'))
+ .append($('<td />').append(style))
+ .append($('<td />').append(color))
+ )
+ );
+
+ function rgb2hex(str) {
+    function hex(x)  {
+     hexDigits = ["0", "1", "2", "3", "4", "5", "6", "7", "8","9", "a", "b", "c", "d", "e", "f"];
+        return !x  ? "00" : hexDigits[(x - x % 16) / 16] + hexDigits[x% 16];
+    }
+ var rgb = (str||'').match(/\(([0-9]{1,3}),\s*([0-9]{1,3}),\s*([0-9]{1,3})\)/);
+ return rgb ? "#" + hex(rgb[1]) + hex(rgb[2]) + hex(rgb[3]) : '';
+ }
+
+ function toPixels(num) {
+ if (!num) {
+ return num;
+ }
+ var m = num.match(/([0-9]+\.?[0-9]*)\s*(px|pt|em|%)/);
+ if (m) {
+ num  = m[1];
+ unit = m[2];
+ }
+ if (num[0] == '.') {
+ num = '0'+num;
+ }
+ num = parseFloat(num);
+
+ if (isNaN(num)) {
+ return '';
+ }
+ var base = parseInt($(document.body).css('font-size')) || 16;
+ switch (unit) {
+ case 'em': return parseInt(num*base);
+ case 'pt': return parseInt(num*base/12);
+ case '%' : return parseInt(num*base/100);
+ }
+ return num;
+ }
+
+ this.change = function() {
+ opts.change && opts.change(this.val());
+ }
+
+ this.val = function(v) {
+ var w, s, c, b, m;
+
+ if (!v && v !== '') {
+ w = parseInt(width.val());
+ w = !isNaN(w) ? w+'px' : '';
+ s = style.val();
+ c = color.val();
+ return {
+ width : w,
+ style : s,
+ color : c,
+ css   : $.trim(w+' '+s+' '+c)
+ }
+ } else {
+ b = '';
+ if (v.nodeName || v.css) {
+ if (!v.css) {
+ v = $(v);
+ }
+ b = v.css('border');
+ if ((b = v.css('border'))) {
+ w = s = c = b;
+ } else {
+ w = v.css('border-width');
+ s = v.css('border-style');
+ c = v.css('border-color');
+ }
+
+ } else {
+ w = v.width||'';
+ s = v.style||'';
+ c = v.color||'';
+ }
+
+ width.val(toPixels(w));
+ m = s ? s.match(/(solid|dashed|dotted|double|groove|ridge|inset|outset)/i) :'';
+ style.val(m ? m[1] : '');
+ color.val(c.indexOf('#') === 0 ? c : rgb2hex(c));
+ return this;
+ }
+ }
+
+ this.val(opts.value);
+ return this;
+ }
+
+ $.fn.elBorderSelect.defaults = {
+ name      : 'el-borderselect',
+ 'class'   : 'el-borderselect',
+ value     : {},
+ change    : null
+ }
+
+})(jQuery);

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elborderselect.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elborderselect.js
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elborderselect.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elcolorpicker.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elcolorpicker.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elcolorpicker.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elcolorpicker.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,237 @@
+/**
+ * elColorPicker. JQuery plugin
+ * Create drop-down colors palette.
+ *
+ * Usage:
+ * $(selector).elColorPicker(opts)
+ *
+ * set color after init:
+ * var c = $(selector).elColorPicker(opts)
+ * c.val('#ffff99)
+ *
+ * Get selected color:
+ * var color = c.val();
+ *
+ * Notice!
+ *   Palette created only after first click on element (lazzy loading)
+ *
+ * Options:
+ *   colors - colors array (by default display 256 web safe colors)
+ *   color  - current (selected) color
+ *   class - css class for display "button" (element on wich plugin was called)
+ *   paletteClass - css class for colors palette
+ *   palettePosition - string indicate where palette will created:
+ *      'inner' - palette will attach to element (acceptable in most cases)
+ *      'outer' - palette will attach to document.body.
+ *                Use, when create color picker inside element with overflow == 'hidden', for example in ui.dialog
+ *   update - function wich update button view on select color (by default set selected color as background)
+ *   change - callback, called when color was selected (by default write color to console.log)
+ *   name   - hidden text field in wich selected color value will saved
+ *
+ * @author:    Dmitry Levashov (dio) [hidden email]
+ *
+ **/
+(function($) {
+
+ $.fn.elColorPicker = function(o) {
+ var self     = this;
+ var opts     = $.extend({}, $.fn.elColorPicker.defaults, o);
+ this.hidden  = $('<input type="hidden" />').attr('name', opts.name).val(opts.color||'').appendTo(this);
+ this.palette = null;
+ this.preview = null;
+ this.input   = null;
+
+ function setColor(c) {
+ self.val(c);
+ opts.change && opts.change(self.val());
+ self.palette.slideUp();
+ }
+
+ function init() {
+ self.palette  = $('<div />').addClass(opts.paletteClass+' rounded-3');
+ for (var i=0; i < opts.colors.length; i++) {
+ $('<div />')
+ .addClass('color')
+ .css('background-color', opts.colors[i])
+ .attr({title : opts.colors[i], unselectable : 'on'})
+ .appendTo(self.palette)
+ .mouseenter(function() {
+ var v = $(this).attr('title');
+ self.input.val(v);
+ self.preview.css('background-color', v);
+ })
+ .click(function(e) {
+ e.stopPropagation();
+ setColor($(this).attr('title'));
+ });
+ };
+ self.input = $('<input type="text" />')
+ .addClass('rounded-3')
+ .attr('size', 8)
+ .click(function(e) {
+ e.stopPropagation();
+ $(this).focus();
+ })
+ .keydown(function(e) {
+ if (e.ctrlKey || e.metaKey) {
+ return true;
+ }
+ var k = e.keyCode;
+ // on esc - close palette
+ if (k == 27) {
+ return self.mouseleave();
+ }
+ // allow input only hex color value
+ if (k!=8 && k != 13 && k!=46 && k!=37 && k != 39 && (k<48 || k>57) && (k<65 || k > 70)) {
+ return false;
+ }
+ var c = $(this).val();
+ if (c.length == 7 || c.length == 0) {
+ if (k == 13) {
+ e.stopPropagation();
+ e.preventDefault();
+ setColor(c);
+ self.palette.slideUp();
+ }
+ if (e.keyCode != 8 && e.keyCode != 46 && k!=37 && k != 39) {
+ return false;
+ }
+ }
+ })
+ .keyup(function(e) {
+ var c = $(this).val();
+ c.length == 7 && /^#[0-9abcdef]{6}$/i.test(c) && self.val(c);
+ });
+
+ self.preview = $('<div />')
+ .addClass('preview rounded-3')
+ .click(function(e) {
+ e.stopPropagation();
+ setColor(self.input.val());
+ });
+
+ self.palette
+ .append($('<div />').addClass('clearfix'))
+ .append($('<div />').addClass('panel').append(self.input).append(self.preview));
+
+ if (opts.palettePosition == 'outer') {
+ self.palette.hide()
+ .appendTo(self.parents('body').eq(0))
+ .mouseleave(function() {
+ if (!self.palette.is(':animated')) {
+ $(this).slideUp();
+ self.val(self.val());
+ }
+ });
+ self.mouseleave(function(e) {
+ if (e.relatedTarget != self.palette.get(0)) {
+ if (!self.palette.is(':animated')) {
+ self.palette.slideUp();
+ self.val(self.val());
+ }
+
+ }
+ })
+ } else {
+ self.append(self.palette.hide())
+ .mouseleave(function(e) {
+ self.palette.slideUp();
+ self.val(self.val());
+ });
+ }
+ self.val(self.val());
+ }
+
+ this.empty().addClass(opts['class']+' rounded-3')
+ .css({'position' : 'relative', 'background-color' : opts.color||''})
+ .click(function(e) {
+ if (!self.hasClass('disabled')) {
+ !self.palette && init();
+ if (opts.palettePosition == 'outer' && self.palette.css('display') == 'none') {
+ var o = $(this).offset();
+ var w = self.palette.width();
+ var l = self.parents('body').width() - o.left >= w ? o.left : o.left + $(this).outerWidth() - w;
+ self.palette.css({left : l+'px', top : o.top+$(this).height()+1+'px'});
+ }
+ self.palette.slideToggle();
+ }
+ });
+
+ this.val = function(v) {
+ if (!v && v!=='') {
+ return this.hidden.val();
+ } else {
+ this.hidden.val(v);
+ if (opts.update) {
+ opts.update(this.hidden.val());
+ } else {
+ this.css('background-color', v);
+ }
+
+ if (self.palette) {
+ self.preview.css('background-color', v);
+ self.input.val(v);
+ }
+ }
+ return this;
+ }
+
+ return this;
+ }
+
+ $.fn.elColorPicker.defaults = {
+ 'class'         : 'el-colorpicker',
+ paletteClass    : 'el-palette',
+ palettePosition : 'inner',
+ name            : 'color',
+ color           : '',
+ update          : null,
+ change          : function(c) {  },
+ colors          : [
+ '#ffffff', '#cccccc', '#999999', '#666666', '#333333', '#000000',
+ '#ffcccc', '#cc9999', '#996666', '#663333', '#330000',
+ '#ff9999', '#cc6666', '#cc3333', '#993333', '#660000',
+ '#ff6666', '#ff3333', '#ff0000', '#cc0000', '#990000',
+ '#ff9966', '#ff6633', '#ff3300', '#cc3300', '#993300',
+ '#ffcc99', '#cc9966', '#cc6633', '#996633', '#663300',
+ '#ff9933', '#ff6600', '#ff9900', '#cc6600', '#cc9933',
+ '#ffcc66', '#ffcc33', '#ffcc00', '#cc9900', '#996600',
+ '#ffffcc', '#cccc99', '#999966', '#666633', '#333300',
+ '#ffff99', '#cccc66', '#cccc33', '#999933', '#666600',
+ '#ffff66', '#ffff33', '#ffff00', '#cccc00', '#999900',
+ '#ccff66', '#ccff33', '#ccff00', '#99cc00', '#669900',
+ '#ccff99', '#99cc66', '#99cc33', '#669933', '#336600',
+ '#99ff33', '#99ff00', '#66ff00', '#66cc00', '#66cc33',
+ '#99ff66', '#66ff33', '#33ff00', '#33cc00', '#339900',
+ '#ccffcc', '#99cc99', '#669966', '#336633', '#003300',
+ '#99ff99', '#66cc66', '#33cc33', '#339933', '#006600',
+ '#66ff66', '#33ff33', '#00ff00', '#00cc00', '#009900',
+ '#66ff99', '#33ff66', '#00ff33', '#00cc33', '#009933',
+ '#99ffcc', '#66cc99', '#33cc66', '#339966', '#006633',
+ '#33ff99', '#00ff66', '#00ff99', '#00cc66', '#33cc99',
+ '#66ffcc', '#33ffcc', '#00ffcc', '#00cc99', '#009966',
+ '#ccffff', '#99cccc', '#669999', '#336666', '#003333',
+ '#99ffff', '#66cccc', '#33cccc', '#339999', '#006666',
+ '#66cccc', '#33ffff', '#00ffff', '#00cccc', '#009999',
+ '#66ccff', '#33ccff', '#00ccff', '#0099cc', '#006699',
+ '#99ccff', '#6699cc', '#3399cc', '#336699', '#003366',
+ '#3399ff', '#0099ff', '#0066ff', '#066ccc', '#3366cc',
+ '#6699ff', '#3366ff', '#0033ff', '#0033cc', '#003399',
+ '#ccccff', '#9999cc', '#666699', '#333366', '#000033',
+ '#9999ff', '#6666cc', '#3333cc', '#333399', '#000066',
+ '#6666ff', '#3333ff', '#0000ff', '#0000cc', '#009999',
+ '#9966ff', '#6633ff', '#3300ff', '#3300cc', '#330099',
+ '#cc99ff', '#9966cc', '#6633cc', '#663399', '#330066',
+ '#9933ff', '#6600ff', '#9900ff', '#6600cc', '#9933cc',
+ '#cc66ff', '#cc33ff', '#cc00ff', '#9900cc', '#660099',
+ '#ffccff', '#cc99cc', '#996699', '#663366', '#330033',
+ '#ff99ff', '#cc66cc', '#cc33cc', '#993399', '#660066',
+ '#ff66ff', '#ff33ff', '#ff00ff', '#cc00cc', '#990099',
+ '#ff66cc', '#ff33cc', '#ff00cc', '#cc0099', '#990066',
+ '#ff99cc', '#cc6699', '#cc3399', '#993366', '#660033',
+ '#ff3399', '#ff0099', '#ff0066', '#cc0066', '#cc3366',
+ '#ff6699', '#ff3366', '#ff0033', '#cc0033', '#990033'
+ ]
+ };
+
+})(jQuery);

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elcolorpicker.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elcolorpicker.js
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elcolorpicker.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elpaddinginput.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elpaddinginput.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elpaddinginput.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elpaddinginput.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,142 @@
+/**
+ * jQuery plugin. Create group of text input fields and selects for setting padding/margin. Used in elRTE
+ *
+ * @author:    Dmitry Levashov (dio) [hidden email]
+ **/
+(function($) {
+
+ $.fn.elPaddingInput = function(o) {
+ var self = this;
+ var opts = $.extend({}, $.fn.elPaddingInput.defaults, {name : this.attr('name')}, o);
+ this.regexps = {
+ main   : new RegExp(opts.type == 'padding' ? 'padding\s*:\s*([^;"]+)'        : 'margin\s*:\s*([^;"]+)',       'im'),
+ left   : new RegExp(opts.type == 'padding' ? 'padding-left\s*:\s*([^;"]+)'   : 'margin-left\s*:\s*([^;"]+)',  'im'),
+ top    : new RegExp(opts.type == 'padding' ? 'padding-top\s*:\s*([^;"]+)'    : 'margin-top\s*:\s*([^;"]+)',    'im'),
+ right  : new RegExp(opts.type == 'padding' ? 'padding-right\s*:\s*([^;"]+)'  : 'margin-right\s*:\s*([^;"]+)',  'im'),
+ bottom : new RegExp(opts.type == 'padding' ? 'padding-bottom\s*:\s*([^;"]+)' : 'margin-bottom\s*:\s*([^;"]+)', 'im')
+ };
+
+ $.each(['left', 'top', 'right', 'bottom'], function() {
+
+ self[this] = $('<input type="text" />')
+ .attr('size', 3)
+ .css('text-align', 'right')
+ .css('border-'+this, '2px solid red')
+ .bind('change', function() { $(this).val(parseNum($(this).val())); change(); })
+ .attr('name', opts.name+'['+this+']');
+ });
+ $.each(['uleft', 'utop', 'uright', 'ubottom'], function() {
+ self[this] = $('<select />')
+ .append('<option value="px">px</option>')
+ .append('<option value="em">em</option>')
+ .append('<option value="pt">pt</option>')
+ .bind('change', function() { change(); })
+ .attr('name', opts.name+'['+this+']');
+ if (opts.percents) {
+ self[this].append('<option value="%">%</option>');
+ }
+ });
+
+ this.empty().addClass(opts['class'])
+ .append(this.left).append(this.uleft).append(' x ')
+ .append(this.top).append(this.utop).append(' x ')
+ .append(this.right).append(this.uright).append(' x ')
+ .append(this.bottom).append(this.ubottom);
+
+ this.val = function(v) {
+ if (!v && v!=='') {
+ var l = parseNum(this.left.val());
+ var t = parseNum(this.top.val());
+ var r = parseNum(this.right.val());
+ var b = parseNum(this.bottom.val());
+ var ret = {
+ left   : l=='auto' || l==0 ? l : (l!=='' ? l+this.uleft.val()   : ''),
+ top    : t=='auto' || t==0 ? t : (t!=='' ? t+this.utop.val()    : ''),
+ right  : r=='auto' || r==0 ? r : (r!=='' ? r+this.uright.val()  : ''),
+ bottom : b=='auto' || b==0 ? b : (b!=='' ? b+this.ubottom.val() : ''),
+ css    : ''
+ };
+ if (ret.left!=='' && ret.right!=='' && ret.top!=='' && ret.bottom!=='') {
+ if (ret.left == ret.right && ret.top == ret.bottom) {
+ ret.css = ret.top+' '+ret.left;
+ } else{
+ ret.css = ret.top+' '+ret.right+' '+ret.bottom+' '+ret.left;
+ }
+ }
+
+ return ret;
+ } else {
+
+ if (v.nodeName || v.css) {
+ if (!v.css) {
+ v = $(v);
+ }
+ var val   = {left : '', top : '', right: '', bottom : ''};
+ var style = (v.attr('style')||'').toLowerCase();
+
+ if (style) {
+ style   = $.trim(style);
+ var m = style.match(this.regexps.main);
+ if (m) {
+ var tmp    = $.trim(m[1]).replace(/\s+/g, ' ').split(' ', 4);
+ val.top    = tmp[0];
+ val.right  = tmp[1] && tmp[1]!=='' ? tmp[1] : val.top;
+ val.bottom = tmp[2] && tmp[2]!=='' ? tmp[2] : val.top;
+ val.left   = tmp[3] && tmp[3]!=='' ? tmp[3] : val.right;
+ } else {
+ $.each(['left', 'top', 'right', 'bottom'], function() {
+ var name = this.toString();
+ m = style.match(self.regexps[name]);
+ if (m) {
+ val[name] = m[1];
+ }
+ });
+ }
+ }
+ var v = val;
+ }
+
+ $.each(['left', 'top', 'right', 'bottom'], function() {
+ var name = this.toString();
+ self[name].val('');
+ self['u'+name].val();
+ if (typeof(v[name]) != 'undefined' && v[name] !== null) {
+ v[name] = v[name].toString();
+ var _v = parseNum(v[name]);
+ self[name].val(_v);
+ var m = v[name].match(/(px|em|pt|%)/i);
+ self['u'+name].val(m ? m[1] : 'px');
+ }
+ });
+ return this;
+ }
+ }
+
+ function parseNum(num) {
+ num = $.trim(num.toString());
+ if (num[0] == '.') {
+ num = '0'+num;
+ }
+ n = parseFloat(num);
+ return !isNaN(n) ? n : (num == 'auto' ? num : '');
+ }
+
+ function change() {
+ opts.change && opts.change(self);
+ }
+
+ this.val(opts.value);
+
+ return this;
+ }
+
+ $.fn.elPaddingInput.defaults = {
+ name     : 'el-paddinginput',
+ 'class'  : 'el-paddinginput',
+ type     : 'padding',
+ value    : {},
+ percents : true,
+ change   : null
+ }
+
+})(jQuery);

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elpaddinginput.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elpaddinginput.js
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elpaddinginput.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elselect.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elselect.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elselect.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elselect.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,175 @@
+/**
+ * elSelect JQuery plugin
+ * Replacement for select input
+ * Allow to put any html and css decoration in drop-down list
+ *
+ * Usage:
+ *   $(selector).elSelect(opts)
+ *
+ * set value after init:
+ *   var c = $(selector).elSelect(opts)
+ *   c.val('some value')
+ *
+ * Get selected value:
+ *   var val = c.val();
+ *
+ * Notice!
+ *   1. When called on multiply elements, elSelect create drop-down list only for fist element
+ *   2. Elements list created only after first click on element (lazzy loading)
+ *
+ * Options:
+ *   src       - object with pairs value:label to create drop-down list
+ *   value     - current (selected) value
+ *   class     - css class for display "button" (element on wich plugin was called)
+ *   listClass - css class for drop down elements list
+ *   select    - callback, called when value was selected (by default write value to console.log)
+ *   name      - hidden text field in wich selected value will saved
+ *   maxHeight - elements list max height (if height greater - scroll will appear)
+ *   tpl       - template for element in list (contains 2 vars: %var - for src key, %label - for src[val] )
+ *   labelTpl  - template for label (current selected element) (contains 2 placeholders: %var - for src key, %label - for src[val] )
+ *
+ * @author:    Dmitry Levashov (dio) [hidden email]
+ **/
+(function($) {
+
+ $.fn.elSelect = function(o) {
+ var $self    = this;
+ var self     = this.eq(0);
+ var opts     = $.extend({}, $.fn.elSelect.defaults, o);
+ var hidden   = $('<input type="hidden" />').attr('name', opts.name);
+ var label    = $('<label />').attr({unselectable : 'on'}).addClass('rounded-left-3');
+ var list     = null;
+ var ieWidth  = null;
+
+ if (self.get(0).nodeName == 'SELECT') {
+ opts.src = {};
+ self.children('option').each(function() {
+ opts.src[$(this).val()] = $(this).text();
+ });
+ opts.value = self.val();
+ opts.name  = self.attr('name');
+ self.replaceWith((self = $('<div />')));
+ }
+
+ if (!opts.value || !opts.src[opts.val]) {
+ opts.value = null;
+ var i = 0;
+ for (var v in opts.src) {
+ if (i++ == 0) {
+ opts.value = v;
+ }
+ }
+ }
+
+ this.val = function(v) {
+ if (!v && v!=='') {
+ return hidden.val();
+ } else {
+ if (opts.src[v]) {
+ hidden.val(v);
+ updateLabel(v);
+ if (list) {
+ list.children().each(function() {
+ if ($(this).attr('name') == v) {
+ $(this).addClass('active');
+ } else {
+ $(this).removeClass('active');
+ }
+ });
+ }
+ }
+ return this;
+ }
+ }
+
+ // update label content
+ function updateLabel(v) {
+ var tpl = opts.labelTpl || opts.tpls[v] || opts.tpl;
+ label.html(tpl.replace(/%val/g, v).replace(/%label/, opts.src[v])).children().attr({unselectable : 'on'});
+ }
+
+ // init "select"
+ self.empty()
+ .addClass(opts['class']+' rounded-3')
+ .attr({unselectable : 'on'})
+ .append(hidden)
+ .append(label)
+ .hover(
+ function() { $(this).addClass('hover') },
+ function() { $(this).removeClass('hover') }
+ )
+ .click(function(e) {
+ !list && init();
+ list.slideToggle();
+ // stupid ie inherit width from parent
+ if ($.browser.msie && !ieWidth) {
+ list.children().each(function() {
+ ieWidth = Math.max(ieWidth, $(this).width());
+ });
+ if (ieWidth > list.width()) {
+ list.width(ieWidth+40);
+ }
+ }
+ });
+
+ this.val(opts.value);
+
+ // create drop-down list
+ function init() {
+ // not ul because of ie is stupid with mouseleave in it :(
+ list = $('<div />')
+ .addClass(opts.listClass+' rounded-3')
+ .hide()
+ .appendTo(self.mouseleave(function(e) { list.slideUp(); }));
+
+ for (var v in opts.src) {
+ var tpl = opts.tpls[v] || opts.tpl;
+ $('<div />')
+ .attr('name', v)
+ .append( $(tpl.replace(/%val/g, v).replace(/%label/g, opts.src[v])).attr({unselectable : 'on'}) )
+ .appendTo(list)
+ .hover(
+ function() { $(this).addClass('hover') },
+ function() { $(this).removeClass('hover') }
+ )
+ .click(function(e) {
+ e.stopPropagation();
+ e.preventDefault();
+
+ var v = $(this).attr('name');
+ $self.val(v);
+ opts.select(v);
+ list.slideUp();
+ });
+ };
+
+ var w = self.outerWidth();
+ if (list.width() < w) {
+ list.width(w);
+ }
+
+ var h = list.height();
+ if (opts.maxHeight>0 && h>opts.maxHeight) {
+ list.height(opts.maxHeight);
+ }
+
+ $self.val(hidden.val());
+ }
+
+ return this;
+ }
+
+ $.fn.elSelect.defaults = {
+ name      : 'el-select',
+ 'class'   : 'el-select',
+ listClass : 'list',
+ labelTpl  : null,
+ tpl       : '<%val>%label</%val>',
+ tpls      : {},
+ value     : null,
+ src       : {},
+ select    : function(v) {  window.console &&  window.console.log && window.console.log('selected: '+v); },
+ maxHeight : 410
+ }
+
+})(jQuery);

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elselect.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elselect.js
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/ellib/js/jquery.elselect.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/
------------------------------------------------------------------------------
    bugtraq:number = true

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte.src.html
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte.src.html?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte.src.html (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte.src.html Sun Oct  2 08:06:49 2011
@@ -0,0 +1,264 @@
+<!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 UI -->
+ <script src="../js/jquery-1.6.1.min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../js/jquery-ui-1.8.13.custom.min.js" type="text/javascript" charset="utf-8"></script>
+ <link rel="stylesheet" href="../css/smoothness/jquery-ui-1.8.13.custom.css" type="text/css" media="screen" title="no title" charset="utf-8">
+
+ <!-- CSS for widgets -->
+ <link rel="stylesheet" href="ellib/css/elcommon.css" type="text/css" media="screen" charset="utf-8">
+ <link rel="stylesheet" href="ellib/css/elcolorpicker.css" type="text/css" media="screen" charset="utf-8">
+ <link rel="stylesheet" href="ellib/css/eldialogform.css" type="text/css" media="screen" charset="utf-8">
+ <link rel="stylesheet" href="ellib/css/elpaddinginput.css" type="text/css" media="screen" charset="utf-8">
+ <link rel="stylesheet" href="ellib/css/elselect.css" type="text/css" media="screen" charset="utf-8">
+ <link rel="stylesheet" href="elrte/css/elrte.css" type="text/css" media="screen" charset="utf-8">
+
+ <!-- Common JS and widgets -->
+ <script src="ellib/js/eli18n.js" type="text/javascript" charset="utf-8"></script>
+ <script src="ellib/js/eldialogform.js" type="text/javascript" charset="utf-8"></script>
+ <script src="ellib/js/jquery.elcolorpicker.js" type="text/javascript" charset="utf-8"></script>
+ <script src="ellib/js/jquery.elborderselect.js" type="text/javascript" charset="utf-8"></script>
+ <script src="ellib/js/jquery.elpaddinginput.js" type="text/javascript" charset="utf-8"></script>
+ <script src="ellib/js/jquery.elselect.js" type="text/javascript" charset="utf-8"></script>
+
+ <!-- elRTE core -->
+ <script src="elrte/js/elRTE.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/elRTE.options.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/elRTE.utils.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/elRTE.DOM.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/elRTE.selection.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/elRTE.w3cRange.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/elRTE.ui.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/elRTE.history.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/elRTE.filter.js" type="text/javascript" charset="utf-8"></script>
+
+ <!-- elRTE languages -->
+ <script src="elrte/js/i18n/elrte.ar.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.ca.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.cs.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.da.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.de.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.en.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.es.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.fa.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.fr.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.hr.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.hu.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.it.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.jp.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.ko.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.lv.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.nl.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.pl.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.pt_BR.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.ru.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.th.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.tr.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.uk.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.vi.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.zh_CN.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/i18n/elrte.zh_TW.js" type="text/javascript" charset="utf-8"></script>
+
+ <!-- elRTE buttons -->
+ <script src="elrte/js/ui/anchor.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/blockquote.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/copy.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/css.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/div.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/docstructure.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/elfinder.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/fontname.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/fontsize.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/forecolor.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/formatblock.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/fullscreen.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/horizontalrule.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/image.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/flash.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/indent.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/justifyleft.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/link.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/nbsp.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/outdent.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/pasteformattext.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/pastetext.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/save.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/stopfloat.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/table.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/tablerm.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/tbcellprops.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/tbcellsmerge.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/tbcellsplit.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/tbcollbefore.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/tbcolrm.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/tbrowbefore.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/tbrowrm.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/unlink.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/undo.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/direction.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/smiley.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/pagebreak.js" type="text/javascript" charset="utf-8"></script>
+ <script src="elrte/js/ui/about.js" type="text/javascript" charset="utf-8"></script>
+
+ <!-- elFinder -->
+ <link rel="stylesheet" href="../../elfinder/css/elfinder.css" type="text/css" media="screen" charset="utf-8">
+ <script src="../../elfinder/js/elfinder.full.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../../elfinder/js/i18n/elfinder.ru.js" type="text/javascript" charset="utf-8"></script>
+
+
+
+ <script type="text/javascript" charset="utf-8">
+ jQuery().ready(function() {
+ // Disable filtering chains
+ // elRTE.prototype.filter.prototype.chains = { }
+
+ /* elRTE 'custom' toolbar */
+ elRTE.prototype.options.panels.custom = [
+ 'bold', 'italic', 'underline', 'forecolor',
+ 'fontsize', 'formatblock', 'insertorderedlist', 'insertunorderedlist', 'docstructure'
+ ];
+ elRTE.prototype.options.toolbars.custom = ['custom', 'eol', 'undoredo', 'alignment', 'eol', 'links', 'images'];
+
+ var opts = {
+ // doctype  : '<!DOCTYPE html PUBLIC  "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
+ cssClass : 'el-rte',
+ //lang     : 'en',
+ height   : 350,
+
+ toolbar  : 'maxi', // custom
+ cssfiles : ['elrte/css/elrte-inner.css', 'elrte/css/inner-example.css'],
+ // elfinder
+ fmOpen   : function(callback) {
+ $('<div id="myelfinder"></div>').elfinder({
+ url : '../../elfinder/connectors/php/connector.php',
+ lang : 'en',
+ dialog : { width : 900, modal : true, title : 'Files' }, // open in dialog
+ closeOnEditorCallback : true, // close elFinder after file select
+ editorCallback : callback // pass callback to editor
+ });
+ },
+ // example of user replacement
+ // restricts edit of blocks like <!-- BEGIN MY_BLOCK -->anything<!-- END MY_BLOCK -->
+ replace : [ function(html) {
+ var self = this;
+ return html.replace(/(<!--\s*BEGIN\s*([^>]+)\s*-->([\s\S]*?)<!--\s*END\s*(\2)\s*-->)/gi, function(t, a, b, c, d) {
+
+ if (b == d) {
+ //self.rte.log([b, d]);
+ var id = 'MYTAG'+Math.random().toString().substring(2);
+ self.scripts[id] = t;
+ return '<img id="'+id+'" src="'+self.url+'pixel.gif" class="elrte-protected elrte-MYTAG">';
+ }
+ return html;
+ });
+ }],
+ restore : [ function(html) {
+ var self = this;
+ return html.replace(this.serviceClassRegExp, function(t, n, a) {
+ a = self.parseAttrs(a);
+ if (a["class"]['elrte-MYTAG']) {
+ return self.scripts[a.id] + "\n" || '';
+ }
+ return t;
+ });
+ }]
+ };
+
+ // create elRTE
+ var rte = $('#editor').elrte(opts);
+
+ // elRTE in dialog example
+ $('#dialog').click(function() { // open dialog on click
+ var dialog = $('<div/>').dialog({
+ title : 'Editor in dialog',
+ width : 600
+ });
+ // create element for elRTE
+ var rteInDialog = $('<div>Content for editor in dialog</div>');
+ // put element inside dialog
+ dialog.append(rteInDialog);
+ // create elRTE on element
+ rteInDialog.elrte(opts);
+ });
+ $('#getContent').click(function() {
+ alert($('#editor').elrte('val'));
+ });
+ $('#setContent').click(function() {
+ $('#editor').elrte('val', 'This is new <b>content</b> for editor');
+ });
+ $('#destroy').click(function() {
+ $('#editor').elrte('destroy');
+ });
+
+ });
+ </script>
+
+ <style type="text/css" media="screen">
+ body { padding: 0 20px; }
+ .button { display:inline-block; border:1px solid #ccc; background:#eee; padding:5px; margin:10px; }
+ </style>
+
+</head>
+<body>
+ <!-- <object style="" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="300" width="500"><param name="quality" value="high"><param name="movie" value="http://localhost/git/elrte-stable/files/flash/500.swf"><embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://localhost/git/elrte-stable/files/flash/500.swf" type="application/x-shockwave-flash"></object> -->
+
+
+<!-- <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/yksg5lL6D_U?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/yksg5lL6D_U?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object> -->
+ <!-- <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=109895569633316339579.0004564e2ac5710eda622&amp;ll=7.815809,98.33674&amp;spn=0.000361,0.004838&amp;output=embed"></iframe><br /><small>View <a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=109895569633316339579.0004564e2ac5710eda622&amp;ll=7.815809,98.33674&amp;spn=0.000361,0.004838&amp;source=embed" style="color:#0000FF;text-align:left">World Ocean Trip</a> in a larger map</small> -->
+ <form method="post" action="post.php?debug=yes">
+ <!-- <textarea id="editor2">
+ <table>
+ <tr>
+ <td>Полотенце</td>
+ <td>Полотенце, возможно, самый необходимый предмет ! для межзвездного путешественника.</td>
+ </tr>
+ </table>
+ <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
+ Полотенце, возможно, самый необходимый предмет ! для межзвездного путешественника.
+ </textarea> -->
+ <!-- <textarea id="editor3"></textarea> -->
+ <div id="editor">
+<!-- BEGIN DO_NOT_EDIT -->
+ hello eldorado <!-- BEGIN DO_NOT_INNER -->inner<!-- END DO_NOT_INNER -->
+<!-- END DO_NOT_EDIT -->
+
+<!-- BEGIN DO_NOT_WOW -->
+here is my fancy code
+<!-- END DO_NOT_WOW -->
+
+ <p>Полотенце, <a name="42"></a>возможно, <span> необходимый предмет ! </span>для межзвездного путешественника.</p> &nbsp; <br /> &nbsp;
+<br>&nbsp;&nbsp;<p>Полотенце, возможно, самый необходимый предмет ! для межзвездного путешественника.</p>
+<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
+<font color="red">empty text</font>
+<div>div'ed text</div><p>p test</p>
+<table>
+<tbody> {?foreach key=k value=v?}
+<tr><td>123</td></tr> {?/foreach?}
+</tbody>
+</table>
+<h2>ДУГЛАС АДАМС - Путеводитель "Автостопом по Галактике"<br>
+DOUGLAS ADAMS - The Hitchhiker's Guide to the Galaxy</h2>
+
+ <!-- pagebreak -->
+ <script type="text/javascript" charset="utf-8">
+ // alert('a')
+ </script>
+ <img src="elrte/images/media-director.png" alt="Marvin">
+ <!-- pagebreak -->
+<b>Вот что сообщает <a href="http://google.com">Галактический Путеводитель</a> на предмет <span style="background-color: rgb(255, 255, 153);">полотенец</span>:</b>
+Полотенце, возможно, самый необходимый предмет ! для межзвездного путешественника. Оно имеет некоторую практическую ценность - вы можете: завернуться в него, чтобы согреться, прыгая по холодным лунам Джаглан-Беты; использовать его, как подстилку,лежа на мраморном песке пляжей СантрÐ
 °Ð³Ð¸Ð½ÑƒÑÐ° V и вдыхая пьянящий морской воздух;  ÑÐ¿Ð°Ñ‚ÑŒ на нем под огненно-красными звездами на пустынной планете Какрафун; сделать из него парус, чтобы спуститься на плоту по ленивой реке Мотт; намочить его и завязать узлом, чтобы использовать, как оружие в рукопашной; обвязать им голову, чт�
 �¾Ð±Ñ‹ избежать ядовитого дыма или взгляда Прожорного Заглотозавера с Трааля
+ </div>
+ <input type="submit" name="" value="go" id="">
+ </form>
+ <div id="dialog" class="button">dialog</div>
+ <div id="getContent" class="button">get content</div>
+ <div id="setContent" class="button">set content</div>
+ <div id="destroy" class="button">destroy</div>
+</body>
+</html>

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte.src.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte.src.html
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte.src.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/css/
------------------------------------------------------------------------------
    bugtraq:number = true

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/css/elrte-inner.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/css/elrte-inner.css?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/css/elrte-inner.css (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/css/elrte-inner.css Sun Oct  2 08:06:49 2011
@@ -0,0 +1,85 @@
+
+body.el-rte-rtl, body.el-rte-rtl * { direction:rtl; }
+
+body.el-rte-structure blockquote   { border:1px dotted #ccc; }
+body.el-rte-structure span         { outline:1px solid #ccc; }
+body.el-rte-structure table        { border:1px dotted #aaa; }
+body.el-rte-structure caption,
+body.el-rte-structure td,
+body.el-rte-structure th           { border:1px dotted #ccc; }
+
+body.el-rte-structure p            {
+ background-image:url(../images/outline-p.png);
+ background-repeat:no-repeat;
+ background-position:right top;
+ border:1px dotted #99ccff; }
+body.el-rte-structure div          {
+ background-image:url(../images/outline-div.png);
+ background-repeat:no-repeat;
+ background-position:right top;
+ border:1px dotted #aaa;
+}
+
+body.el-rte-structure a.elrte-anchor {
+ display:inline-block;
+ vertical-align:baseline;
+ width:12px;
+ height:12px;
+ border:1px dotted #ccc;
+ background: url('../images/elrte-toolbar.png') -564px -8px no-repeat;
+}
+
+img                 { cursor: default; }
+img.elrte-webkit-hl { outline:1px dashed #777; }
+
+.elrtebm { }
+
+.elrte-media-x-shockwave-flash,
+.elrte-media-quicktime,
+.elrte-media-x-director,
+.elrte-media-x-mplayer2,
+.elrte-media-x-pn-realaudio-plugin,
+.elrte-media-youtube,
+.elrte-media-rutube,
+.elrte-media-vimeo,
+.elrte-yandex-maps,
+.elrte-google-maps,
+.elrte-iframe,
+.elrte-media {
+ border:1px solid #ccc;
+ background:#eee url(../images/media-flash.png) center center no-repeat;
+}
+
+.elrte-media-x-shockwave-flash     { background-image:url(../images/media-flash.png); }
+.elrte-media-youtube               { background-image:url(../images/media-youtube.png); }
+.elrte-media-vimeo                 { background-image:url(../images/media-vimeo.png); }
+.elrte-media-rutube                { background-image:url(../images/media-rutube.png); }
+.elrte-media-quicktime             { background-image:url(../images/media-quicktime.png); }
+.elrte-media-x-director            { background-image:url(../images/media-director.png); }
+.elrte-media-x-mplayer2            { background-image:url(../images/media-winmedia.png); }
+.elrte-media-x-pn-realaudio-plugin { background-image:url(../images/media-realaudio.png); }
+
+.elrte-yandex-maps                 { background-image:url(../images/yandex-maps.png); }
+.elrte-google-maps                 { background-image:url(../images/google-maps.png); display: block; }
+
+.elrte-iframe                      { background-image:url(../images/iframe.png); }
+
+.elrte-pagebreak {
+ display:block;
+ clear:both;
+ width:100%;
+ height:7px;
+ outline:1px dotted #777;
+ outline-left:none;
+ outline-right:none;
+ background:transparent url(../images/pagebreak.gif) center center no-repeat;
+}
+
+.elrte-pagebreak:after {
+  content: ".";
+  display: block;
+  font-size:0;
+  height: 0;
+  clear: both;
+  visibility: hidden;
+}

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/css/elrte-inner.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/css/elrte-inner.css
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/css/elrte-inner.css
------------------------------------------------------------------------------
    svn:mime-type = text/css