You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2011/10/02 10:06:55 UTC

svn commit: r1178141 [17/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...

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/i18n/elrte.zh_CN.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/i18n/elrte.zh_CN.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/i18n/elrte.zh_CN.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/i18n/elrte.zh_CN.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,189 @@
+/**
+ * Simplified Chinese translation
+ * @author Lee Chenhwa <le...@gmail.com>
+ * @version 2010-11-01
+ */
+(function($) {
+elRTE.prototype.i18Messages.zh_CN = {
+	'_translator'    : 'Lee Chenhwa &lt;leechenhwa@gmail.com&gt;',
+	'_translation'   : 'Simplified Chinese translation',
+	'Editor' : '编辑器',
+	'Source' : '源代码',
+	// Panel Name
+	'Copy/Pase'      : '复制/粘贴',
+	'Undo/Redo'      : '取消/重做',
+	'Text styles'    : '文字样式',
+	'Colors'         : '颜色',
+	'Alignment'      : '对齐',
+	'Indent/Outdent' : '缩进/缩回',
+	'Text format'    : '文字格式',
+	'Lists'          : '列单',
+	'Misc elements'  : '其他元素',
+	'Links'          : '链接',
+	'Images'         : '图片',
+	'Media'          : '多媒体',
+	'Tables'         : '表格',
+	'File manager (elFinder)' : '文件管理(elFinder)',
+	// button names
+	'Save'                    : '保存',
+	'Copy'                    : '复制',
+	'Cut'                     : '剪切',
+	'Paste'                   : '粘贴',
+	'Paste only text'         : '粘贴为纯文字',
+	'Paste formatted text'    : '粘贴为已格式化文字',
+	'Clean format'            : '清除格式',
+	'Undo last action'        : '取消上一个动作',
+	'Redo previous action'    : '重做上一个动作',
+	'Bold'                    : '粗体',
+	'Italic'                  : '斜体',
+	'Underline'               : '下划线',
+	'Strikethrough'           : '删除线',
+	'Superscript'             : '上标',
+	'Subscript'               : '下标',
+	'Align left'              : '靠左',
+	'Ailgn right'             : '靠右',
+	'Align center'            : '居中',
+	'Align full'              : '左右对齐',
+	'Font color'              : '文字颜色',
+	'Background color'        : '背景颜色',
+	'Indent'                  : '增大缩进',
+	'Outdent'                 : '减少缩进',
+	'Format'                  : '格式',
+	'Font size'               : '字体大小',
+	'Font'                    : '字体',
+	'Ordered list'            : '编号',
+	'Unordered list'          : '项目编号',
+	'Horizontal rule'         : '水平线',
+	'Blockquote'              : '引用',
+	'Block element (DIV)'     : '区块 (DIV)',
+	'Link'                    : '链接',
+	'Delete link'             : '删除链接',
+	'Bookmark'                : '书签(锚点)',
+	'Flash'                   : 'Flash媒体',
+	'Image'                   : '图片',
+	'Table'                   : '表格',
+	'Delete table'            : '删除表格',
+	'Insert row before'       : '上方增加一行',
+	'Insert row after'        : '下方增加一行',
+	'Delete row'              : '删除列',
+	'Insert column before'    : '左边增加一列',
+	'Insert column after'     : '右边增加一列',
+	'Delete column'           : '删除列',
+	'Merge table cells'       : '合并表格单元',
+	'Split table cell'        : '分割表格单元',
+	'Toggle display document structure' : '显示文件结构标记',
+	'Table cell properties'   : '表格单元属性',
+	'Table properties'        : '表格属性',
+	'Toggle full screen mode' : '切换为全屏幕',
+	'Open file manager'       : '打开文件管理',
+	'Non breakable space'     : '空格',
+	'Smiley'                  : '笑脸',
+	'Page break'              : '换页符',
+	'Stop element floating'   : '停止元素浮动属性',
+	// dialogs
+	'Warning' : '警告',
+	'Properies' : '属性',
+	'Popup' : '弹出框',
+	'Advanced' : '高级',
+	'Events' : '事件',
+	'Width' : '宽度',
+	'Height' : '高度',
+	'Left'   : '靠左',
+	'Center' : '居中',
+	'Right'  : '靠右',
+	'Border' : '边框',
+	'Background' : '背景',
+	'Css class' : 'CSS类别',
+	'Css style' : 'CSS样式',
+	'No' : '不设置',
+	'Title' : '标题',
+	'Script direction' : '文字方向',
+	'Language' : '语言',
+	'Charset' : '字符编码',
+	'Not set' : '不设定',
+	'Left to right' : '从左至右',
+	'Right to left' : '从右至左',
+	'In this window' : '在本窗口',
+	'In new window (_blank)' : '在新窗口 (_blank)',
+	'In new parent window (_parent)' : '在父窗口 (_parent)',
+	'In top frame (_top)' : '在顶层 (_top)',
+	'URL' : '网址',
+	'Open in' : '打开到',
+	// copy
+	'This operation is disabled in your browser on security reason. Use shortcut instead.' : '基于安全考虑,此动作无法在浏览器中进行,请直接按 Ctrl+V 试试。',
+	// format 
+	'Heading 1' : '标题 1',
+	'Heading 2' : '标题 2',
+	'Heading 3' : '标题 3',
+	'Heading 4' : '标题 4',
+	'Heading 5' : '标题 5',
+	'Heading 6' : '标题 6',
+	'Paragraph' : '段落',
+	'Address' : '地址',
+	'Preformatted' : '预格式化的',
+	// font size
+	'Small (8pt)'   : '极小 (8pt)',
+	'Small (10px)'  : '更小 (10px)',
+	'Small (12pt)'  : '小 (12pt)',
+	'Normal (14pt)' : '中 (14pt)',
+	'Large (18pt)'  : '大 (18pt)',
+	'Large (24pt)'  : '更大 (24pt)',
+	'Large (36pt)'  : '极大 (36pt)',
+	// bookmark
+	'Bookmark name'   : '书签名称',
+	'Select bookmark' : '选择书签',
+	// link
+	'Link URL' : '链接地址',
+	'Target' : '目标',
+	'Open link in popup window' : '在弹出窗口中打开',
+	'Window name' : '窗口名称',
+	'Window size' : '窗口尺寸',
+	'Window position' : '窗口位置',
+	'Location bar' : '地址栏',
+	'Menu bar' : '菜单栏',
+	'Toolbar' : '工具栏',
+	'Scrollbars' : '滚动条',
+	'Status bar' : '状态栏',
+	'Resizable' : '可否调整尺寸',
+	'Depedent' : '相关',
+	'Add return false' : '附加 return false ',
+	'Target MIME type' : '目标的MIME类型',
+	'Relationship page to target (rel)' : '关联页到目标 (rel)',
+	'Relationship target to page (rev)' : '关联目标到页 (rev)',
+	'Tab index' : 'Tab键顺序',
+	'Access key' : '访问键',
+	// image
+	'Size' : '尺寸',
+	'Preview' : '预览',
+	'Margins' : '边界',
+	'Alt text' : '提示文字',
+	'Image URL' : '图片网址',
+	// table
+	'Spacing'       : '表格间距 (Spacing)',
+	'Padding'       : '表格边距 (Padding)',
+	'Rows'          : '行',
+	'Columns'       : '列',
+	'Groups'        : '组',
+	'Cells'         : '单元格',
+	'Caption'       : '标题',
+	'Inner borders' : '边框',
+	// table cell
+	'Table cell type'  : '单元格类型',
+	'Data'             : '数据',
+	'Header'           : '标题',
+	'Justify'          : '对齐',
+	'Paddings'         : '边距',
+	'Apply to'         : '应用到',
+	'Current cell'     : '当前单元格',
+	'All cells in row' : '本行所有单元格',
+	'All cells in column' : '本列所有单元格',
+	'All cells in table' : '本表所有单元格',
+	// about
+	'About this software' : '关于本软件',
+	'About elRTE'                  : '关于elRTE',
+	'Version'                      : '版本',
+	'Licence'                      : '许可证'
+	
+	
+}
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/i18n/elrte.zh_TW.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/i18n/elrte.zh_TW.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/i18n/elrte.zh_TW.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/i18n/elrte.zh_TW.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,212 @@
+/*
+ * Traditional Chinese translation
+ * @author T.C. Chou <tc...@tcchou.org>
+ * @version 2010-12-11
+ * @author Tad <ta...@gmail.com>
+ * @version 2010-09-18
+ */
+(function($) {
+elRTE.prototype.i18Messages.zh_TW = {
+	'_translator'    : 'Tad &lt;tad0616@gmail.com&gt;<br>T.C. Chou &lt;tcchou@tcchou.org&gt;',
+	'_translation'   : 'Traditional Chinese translation',
+	'Editor' : '編輯',
+	'Source' : '原始碼',
+	// panels names
+	'Copy/Pase'      : '複製/貼上',
+	'Undo/Redo'      : '復原/重做',
+	'Text styles'    : '文字樣式',
+	'Colors'         : '顏色',
+	'Alignment'      : '對齊',
+	'Indent/Outdent' : '縮排/凸排',
+	'Text format'    : '文字格式',
+	'Lists'          : '清單',
+	'Misc elements'  : '其他元件',
+	'Links'          : '連結',
+	'Images'         : '圖檔',
+	'Media'          : '多媒體',
+	'Tables'         : '表格',
+	'File manager (elFinder)' : '檔案管理',
+	// buttons names
+	'About this software'     : '關於此軟體',
+	'Save'                    : '儲存',
+	'Copy'                    : '複製',
+	'Cut'                     : '剪下',
+	'Paste'                   : '貼上',
+	'Paste only text'         : '貼上純文字',
+	'Paste formatted text'    : '貼上格式化文字',
+	'Clean format'            : '清除格式',
+	'Undo last action'        : '復原最後一個動作',
+	'Redo previous action'    : '重做上一個動作',
+	'Bold'                    : '粗體',
+	'Italic'                  : '斜體',
+	'Underline'               : '底線',
+	'Strikethrough'           : '刪除線',
+	'Superscript'             : '上標',
+	'Subscript'               : '下標',
+	'Align left'              : '靠左',
+	'Ailgn right'             : '靠右',
+	'Align center'            : '置中',
+	'Align full'              : '左右對齊',
+	'Font color'              : '文字顏色',
+	'Background color'        : '背景顏色',
+	'Indent'                  : '縮排',
+	'Outdent'                 : '凸排',
+	'Format'                  : '格式',
+	'Font size'               : '字型大小',
+	'Font'                    : '字型',
+	'Ordered list'            : '編號',
+	'Unordered list'          : '項目符號',
+	'Horizontal rule'         : '水平線',
+	'Blockquote'              : '引用',
+	'Block element (DIV)'     : '區域元件 (DIV)',
+	'Link'                    : '連結',
+	'Delete link'             : '移除連結',
+	'Bookmark'                : '書籤',
+	'Image'                   : '插圖',
+	'Table'                   : '表格',
+	'Delete table'            : '刪除表格',
+	'Insert row before'       : '上方新增一列',
+	'Insert row after'        : '下方新增一列',
+	'Delete row'              : '刪除列',
+	'Insert column before'    : '左邊新增一欄',
+	'Insert column after'     : '右邊新增一欄',
+	'Delete column'           : '刪除欄',
+	'Merge table cells'       : '合併儲存格',
+	'Split table cell'        : '分割儲存格',
+	'Toggle display document structure' : '切換顯示文件結構',
+	'Table cell properties'   : '表格儲存格屬性',
+	'Table properties'        : '表格屬性',
+	'Toggle full screen mode' : '切換為全螢幕',
+	'Open file manager'       : '開啟檔案管理',
+	'Non breakable space'     : '不斷行空白',
+	'Stop element floating'   : '停止元件浮動屬性',
+	// dialogs
+	'Warning'          : '警告',
+	'Properies'        : '屬性',
+	'Popup'            : '跳出框',
+	'Advanced'         : '進階',
+	'Events'           : '事件',
+	'Width'            : '寬度',
+	'Height'           : '高度',
+	'Left'             : '靠左',
+	'Center'           : '置中',
+	'Right'            : '靠右',
+	'Border'           : '邊框',
+	'Background'       : '背景',
+	'Css class'        : 'CSS類別',
+	'Css style'        : 'CSS樣式',
+	'No'               : '不設置',
+	'Title'            : '標題',
+	'Script direction' : '語言方向',
+	'Language'         : '語言',
+	'Charset'          : '字元編碼',
+	'Not set'          : '不設定',
+	'Left to right'    : '左至右',
+	'Right to left'    : '右到左',
+	'In this window'   : '在此視窗',
+	'In new window (_blank)'         : '在新視窗 (_blank)',
+	'In new parent window (_parent)' : '在父視窗 (_parent)',
+	'In top frame (_top)'            : '跳出框架 (_top)',
+	'URL'              : '網址',
+	'Open in'          : '開啟至',
+	'Open file manger' : '開啟檔案管理員',
+	// copy
+	'This operation is disabled in your browser on security reason. Use shortcut instead.' : '此動作被你的瀏覽器基於安全理由所禁止,請直接用快捷鍵。',
+	// format 
+	'Heading 1'     : '標題 1',
+	'Heading 2'     : '標題 2',
+	'Heading 3'     : '標題 3',
+	'Heading 4'     : '標題 4',
+	'Heading 5'     : '標題 5',
+	'Heading 6'     : '標題 6',
+	'Paragraph'     : '段落',
+	'Address'       : '位址',
+	'Preformatted'  : '固定格式',
+	// font size
+	'Small (8pt)'   : '極小 (8pt)',
+	'Small (10px)'  : '更小 (10px)',
+	'Small (12pt)'  : '小 (12pt)',
+	'Normal (14pt)' : '中 (14pt)',
+	'Large (18pt)'  : '大 (18pt)',
+	'Large (24pt)'  : '更大 (24pt)',
+	'Large (36pt)'  : '極大 (36pt)',
+	// bookmark
+	'Bookmark name' : '書籤名稱',
+	// link
+	'Link URL'         : '連結位址',
+	'Target'           : '目標',
+	'Select bookmark'  : '選擇書籤',
+	'Open link in popup window' : '在跳出視窗中開啟',
+	'Window name'      : '視窗名稱',
+	'Window size'      : '視窗尺寸',
+	'Window position'  : '視窗位置',
+	'Location bar'     : '位址列',
+	'Menu bar'         : '選單列',
+	'Toolbar'          : '工具列',
+	'Scrollbars'       : '捲軸',
+	'Status bar'       : '狀態列',
+	'Resizable'        : '可否調整尺寸',
+	'Depedent'         : '相關 (Netscape)',
+	'Add return false' : '加入傳回false (return false)',
+	'Target MIME type' : '目標物的MIME類型',
+	'Relationship page to target (rel)' : '定義連結的起點文件與目標文件之間的關係 (rel)',
+	'Relationship target to page (rev)' : '定義連結的起點文件與目標文件之間的反向關係 (rev)',
+	'Tab index'        : '定位索引',
+	'Access key'       : '快速鍵',
+	// image
+	'Size'             : '尺寸',
+	'Preview'          : '預覽',
+	'Margins'          : '邊界',
+	'Alt text'         : '提示文字',
+	'Image URL'        : '圖檔網址',
+	// table
+	'Spacing'          : '儲存格間距 (Spacing)',
+	'Padding'          : '儲存格內距 (Padding)',
+	'Rows'             : '列',
+	'Columns'          : '欄',
+	'Groups'           : '儲存格群組',
+	'Cells'            : '儲存格',
+	'Caption'          : '表格標題',
+	'Inner borders'    : '框線',
+	// table cell
+	'Table cell type'  : '表格儲存格型態',
+	'Data'             : '資料',
+	'Header'           : '標題',
+	'Justify'          : '排整齊',
+	'Paddings'         : '內距',
+	'Apply to'         : '適用於',
+	'Current cell'     : '目前儲存格',
+	'All cells in row' : '同列所有儲存格',
+	'All cells in column' : '同欄所有儲存格',
+	'All cells in table' : '表格所有儲存格',
+	// about
+	'About elRTE'                  : '關於 elRTE',
+	'Version'                      : '版本',
+	'Licence'                      : '許可證',
+	'elRTE is an open-source JavaScript based WYSIWYG HTML-editor.' : 'elRTE 是一個開放源碼 JavaScript 為基礎的所見即所得 HTML 編輯器。',
+	'Main goal of the editor - simplify work with text and formating (HTML) on sites, blogs, forums and other online services.' : '此編輯器主要目標 - 簡化網站, 部落格, 論壇及許多線上服務在文字處理與編排 (HTML) 的工作。',
+	'You can use it in any commercial or non-commercial projects.' : '你可用於任何商業或者非商業專案中。',
+	'Authors'                      : '作者',
+	'Chief developer'              : '主力開發者',
+	'Developer, tech support'      : '開發者, 技術支援',
+	'Developer'                    : '開發者',
+	'Interface designer'           : '介面設計師',
+	'Spanish localization'         : '西班牙翻譯',
+	'Czech localization'           : '捷克翻譯',
+	'Japanese localization'        : '日文翻譯',
+	'Latvian localization'         : '拉脫維亞翻譯',
+	'German localization'          : '德文翻譯',
+	'Ukranian localization'        : '烏克蘭翻譯',
+	'Persian (farsi) localization' : '波斯翻譯',
+	'Arabic localization'          : '阿拉伯翻譯',
+	'RTL support'                  : 'RTL 支援',
+	'French localization'          : '法文翻譯',
+	'Dutch localization'           : '荷蘭翻譯',
+	'Hungarian localization'       : '匈牙利翻譯',
+	'Polish localization'          : '波蘭翻譯',
+	'Italian localization'         : '義大利翻譯',
+	'Traditional Chinese localization' : '中文翻譯',
+	'For more information about this software visit the' : '更多關於此軟體的資訊請拜訪',
+	'elRTE website'                : 'elRTE 網站'
+}
+})(jQuery);

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

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/about.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/about.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/about.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/about.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,54 @@
+(function($) {
+	elRTE.prototype.ui.prototype.buttons.about = function(rte, name)  {
+		
+		this.constructor.prototype.constructor.call(this, rte, name);
+		this.active  = true;
+		this.command = function() {
+			var opts, d, txt;
+			
+			opts = {
+				rtl : rte.rtl,
+				submit : function(e, d) {  d.close(); },
+				dialog : {
+					width : 560,
+					title : this.rte.i18n('About this software'),
+					buttons     : {
+						Ok : function() { $(this).dialog('destroy'); }
+					}
+				}
+			}
+
+			txt = '<div class="elrte-logo"></div><h3>'+this.rte.i18n('About elRTE')+'</h3><br clear="all"/>'
+				+'<div class="elrte-ver">'+this.rte.i18n('Version')+': '+this.rte.version+' ('+this.rte.build+')</div>' 
+				+'<div class="elrte-ver">jQuery: '+$('<div/>').jquery+'</div>' 
+				+'<div class="elrte-ver">jQueryUI: '+$.ui.version+'</div>' 
+				+'<div class="elrte-ver">'+this.rte.i18n('Licence')+': BSD Licence</div>'
+				+'<p>'
+				+this.rte.i18n('elRTE is an open-source JavaScript based WYSIWYG HTML-editor.')+'<br/>'
+				+this.rte.i18n('Main goal of the editor - simplify work with text and formating (HTML) on sites, blogs, forums and other online services.')+'<br/>'
+				+this.rte.i18n('You can use it in any commercial or non-commercial projects.')
+				+'</p>'
+				+'<h4>'+this.rte.i18n('Authors')+'</h4>'
+				+'<table class="elrte-authors">'
+				+'<tr><td>Dmitry (dio) Levashov &lt;dio@std42.ru&gt;</td><td>'+this.rte.i18n('Chief developer')+'</td></tr>'
+				+'<tr><td>Troex Nevelin &lt;troex@fury.scancode.ru&gt;</td><td>'+this.rte.i18n('Developer, tech support')+'</td></tr>'
+				+'<tr><td>Valentin Razumnyh &lt;content@std42.ru&gt;</td><td>'+this.rte.i18n('Interface designer')+'</td></tr>'
+				+'<tr><td>Tawfek Daghistani &lt;tawfekov@gmail.com&gt;</td><td>'+this.rte.i18n('RTL support')+'</td></tr>'
+				+(this.rte.options.lang != 'en' ? '<tr><td>'+this.rte.i18n('_translator')+'</td><td>'+this.rte.i18n('_translation')+'</td></tr>' : '')
+				+'</table>'
+				+'<div class="elrte-copy">Copyright &copy; 2009-2011, <a href="http://www.std42.ru">Studio 42</a></div>'
+				+'<div class="elrte-copy">'+this.rte.i18n('For more information about this software visit the')+' <a href="http://elrte.org">'+this.rte.i18n('elRTE website')+'.</a></div>'
+				+'<div class="elrte-copy">Twitter: <a href="http://twitter.com/elrte_elfinder">elrte_elfinder</a></div>';
+			
+			d = new elDialogForm(opts);
+			d.append(txt);
+			d.open();
+		}
+		
+		this.update = function() {
+			this.domElem.removeClass('disabled');
+		}
+		
+	}
+	
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/anchor.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/anchor.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/anchor.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/anchor.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,62 @@
+/**
+ * @class кнопка - Закладка (открывает диалоговое окно)
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.anchor = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+	this.input = $('<input type="text" />').attr('name', 'anchor').attr('size', '16')
+	var self = this;
+	
+	this.command = function() {
+		var opts = {
+			rtl : this.rte.rtl,
+			submit : function(e, d) { e.stopPropagation(); e.preventDefault(); d.close(); self.set();  },
+			dialog : {
+				title : this.rte.i18n('Bookmark')
+			}
+		}
+
+		
+		this.anchor = this.rte.dom.selfOrParentAnchor(this.rte.selection.getEnd()) || rte.dom.create('a');
+		!this.rte.selection.collapsed() && this.rte.selection.collapse(false);
+		this.input.val($(this.anchor).addClass('elrte-anchor').attr('name'));
+		this.rte.selection.saveIERange();
+		var d = new elDialogForm(opts);
+		d.append([this.rte.i18n('Bookmark name'), this.input], null, true).open();
+		setTimeout(function() { self.input.focus()}, 20);
+	}
+	
+	this.update = function() {
+		var n = this.rte.selection.getNode();
+		if (this.rte.dom.selfOrParentLink(n)) {
+			this.domElem.addClass('disabled');
+		} else if (this.rte.dom.selfOrParentAnchor(n)) {
+			this.domElem.removeClass('disabled').addClass('active');
+		} else {
+			this.domElem.removeClass('disabled').removeClass('active');
+		}
+	}
+	
+	this.set = function() {
+		var n = $.trim(this.input.val());
+
+		if (n) {
+			this.rte.history.add();
+			if (!this.anchor.parentNode) {
+				this.rte.selection.insertHtml('<a name="'+n+'" title="'+this.rte.i18n('Bookmark')+': '+n+'" class="elrte-anchor"></a>');
+			} else {
+				this.anchor.name = n;
+				this.anchor.title = this.rte.i18n('Bookmark')+': '+n;
+			}
+		} else if (this.anchor.parentNode) {
+			this.rte.history.add();
+			this.anchor.parentNode.removeChild(this.anchor);
+		}
+	}
+}
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/blockquote.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/blockquote.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/blockquote.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/blockquote.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,40 @@
+/**
+ * @class кнопка - Цитата
+ * Если выделение схлопнуто и находится внутри цитаты - она удаляется
+ * Новые цитаты создаются только из несхлопнутого выделения
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.blockquote = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+	
+	this.command = function() {
+		var n, nodes;
+		this.rte.history.add();
+		if (this.rte.selection.collapsed() && (n = this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^BLOCKQUOTE$/))) {
+			$(n).replaceWith($(n).html());
+		} else {
+			nodes = this.rte.selection.selected({wrap : 'all', tag : 'blockquote'});
+			nodes.length && this.rte.selection.select(nodes[0], nodes[nodes.length-1]);
+		}
+		this.rte.ui.update(true);
+	}
+	
+	this.update = function() {
+		if (this.rte.selection.collapsed()) {
+			if (this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^BLOCKQUOTE$/)) {
+				this.domElem.removeClass('disabled').addClass('active');
+			} else {
+				this.domElem.addClass('disabled').removeClass('active');
+			}
+		} else {
+			this.domElem.removeClass('disabled active');
+		}
+	}
+}
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/copy.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/copy.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/copy.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/copy.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,46 @@
+/**
+ * @class кнопки "копировать/вырезать/вставить" 
+ * в firefox показывает предложение нажать Ctl+c, в остальных - копирует
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.copy = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+	
+	this.command = function() {
+		
+		if (this.rte.browser.mozilla) {
+			try {
+				this.rte.doc.execCommand(this.name, false, null);
+			} catch (e) {
+				var s = ' Ctl + C';
+				if (this.name == 'cut') {
+					s = ' Ctl + X';
+				} else if (this.name == 'paste') {
+					s = ' Ctl + V';
+				}
+				var opts = {
+					dialog : {
+						title   : this.rte.i18n('Warning'),
+						buttons : { Ok : function() { $(this).dialog('close'); } }
+					}
+				}
+
+				var d = new elDialogForm(opts);
+				d.append(this.rte.i18n('This operation is disabled in your browser on security reason. Use shortcut instead.')+': '+s).open();
+			}
+		} else {
+			this.constructor.prototype.command.call(this);
+		}
+	}
+}
+
+elRTE.prototype.ui.prototype.buttons.cut   = elRTE.prototype.ui.prototype.buttons.copy;
+elRTE.prototype.ui.prototype.buttons.paste = elRTE.prototype.ui.prototype.buttons.copy;
+
+})(jQuery);
\ No newline at end of file

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/css.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/css.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/css.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/css.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,61 @@
+(function($) {
+	
+	elRTE.prototype.ui.prototype.buttons.css = function(rte, name) {
+		var self = this;
+		this.constructor.prototype.constructor.call(this, rte, name);
+		this.cssStyle  = $('<input type="text" size="42" name="style" />');
+		this.cssClass  = $('<input type="text" size="42" name="class" />');
+		this.elementID = $('<input type="text" size="42" name="id" />');
+		
+		this.command = function() {
+			var n = this.node(), opts;
+			this.rte.selection.saveIERange();
+			if (n) {
+				var opts = {
+					
+					submit : function(e, d) { e.stopPropagation(); e.preventDefault(); d.close(); self.set();  },
+					dialog : {
+						title : this.rte.i18n('Style'),
+						width : 450,
+						resizable : true,
+						modal : true
+					}
+				}
+				this.cssStyle.val($(n).attr('style'));
+				this.cssClass.val($(n).attr('class'));
+				this.elementID.val($(n).attr('id'));
+				var d = new elDialogForm(opts);
+				d.append([this.rte.i18n('Css style'), this.cssStyle],  null, true)
+				d.append([this.rte.i18n('Css class'), this.cssClass],  null, true)
+				d.append([this.rte.i18n('ID'),        this.elementID], null, true)
+				d.open();
+				setTimeout(function() { self.cssStyle.focus() }, 20)
+			}
+		}
+		
+		this.set = function() {
+			var n = this.node();
+			this.rte.selection.restoreIERange();
+			if (n) {
+				$(n).attr('style', this.cssStyle.val());
+				$(n).attr('class', this.cssClass.val());
+				$(n).attr('id',    this.elementID.val());
+				this.rte.ui.update();
+			}
+		}
+		
+		this.node = function() {
+			var n = this.rte.selection.getNode();
+			if (n.nodeType == 3) {
+				n = n.parentNode;
+			}
+			return n.nodeType == 1 && n.nodeName != 'BODY' ? n : null;
+		}
+		
+		this.update = function() {
+			this.domElem.toggleClass('disabled', this.node()?false:true);
+		}
+		
+	}
+	
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/direction.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/direction.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/direction.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/direction.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,93 @@
+
+(function($) {
+	/**
+	 * @class button - right to left direction (not work yet with text nodes in body)
+	 *
+	 * @param  elRTE  rte   объект-редактор
+	 * @param  String name  название кнопки 
+	 *
+	 * @author:    Dmitry Levashov (dio) dio@std42.ru
+	 * Copyright: Studio 42, http://www.std42.ru
+	 **/
+	elRTE.prototype.ui.prototype.buttons.rtl = function(rte, name)  {
+		this.constructor.prototype.constructor.call(this, rte, name);
+		var self = this;
+	
+		this.command = function() {
+			var n = this.rte.selection.getNode(), self = this;
+			if ($(n).attr('dir') == 'rtl' || $(n).parents('[dir="rtl"]').length || $(n).find('[dir="rtl"]').length) {
+				$(n).removeAttr('dir');
+				$(n).parents('[dir="rtl"]').removeAttr('dir');
+				$(n).find('[dir="rtl"]').removeAttr('dir');
+			} else {
+				if (this.rte.dom.is(n, 'textNodes') && this.rte.dom.is(n, 'block')) {
+					$(n).attr('dir', 'rtl');
+				} else {
+					$.each(this.rte.dom.parents(n, 'textNodes'), function(i, n) {
+						if (self.rte.dom.is(n, 'block')) {
+							$(n).attr('dir', 'rtl');
+							return false;
+						}
+					});
+				}
+			}
+			this.rte.ui.update();
+		}
+
+		this.update = function() {
+			var n = this.rte.selection.getNode();
+			this.domElem.removeClass('disabled');
+			if ($(n).attr('dir') == 'rtl' || $(n).parents('[dir="rtl"]').length || $(n).find('[dir="rtl"]').length) {
+				this.domElem.addClass('active');
+			} else {
+				this.domElem.removeClass('active');
+			}
+		}
+	}
+	
+	/**
+	 * @class button - left to right direction (not work yet with text nodes in body)
+	 *
+	 * @param  elRTE  rte   объект-редактор
+	 * @param  String name  название кнопки 
+	 *
+	 * @author:    Dmitry Levashov (dio) dio@std42.ru
+	 * Copyright: Studio 42, http://www.std42.ru
+	 **/
+	elRTE.prototype.ui.prototype.buttons.ltr = function(rte, name)  {
+		this.constructor.prototype.constructor.call(this, rte, name);
+		var self = this;
+	
+		this.command = function() {
+			var n = this.rte.selection.getNode(), self = this;
+			if ($(n).attr('dir') == 'ltr' || $(n).parents('[dir="ltr"]').length || $(n).find('[dir="ltr"]').length) {
+				$(n).removeAttr('dir');
+				$(n).parents('[dir="ltr"]').removeAttr('dir');
+				$(n).find('[dir="ltr"]').removeAttr('dir');
+			} else {
+				if (this.rte.dom.is(n, 'textNodes') && this.rte.dom.is(n, 'block')) {
+					$(n).attr('dir', 'ltr');
+				} else {
+					$.each(this.rte.dom.parents(n, 'textNodes'), function(i, n) {
+						if (self.rte.dom.is(n, 'block')) {
+							$(n).attr('dir', 'ltr');
+							return false;
+						}
+					});
+				}
+			}
+			this.rte.ui.update();
+		}
+
+		this.update = function() {
+			var n = this.rte.selection.getNode();
+			this.domElem.removeClass('disabled');
+			if ($(n).attr('dir') == 'ltr' || $(n).parents('[dir="ltr"]').length || $(n).find('[dir="ltr"]').length) {
+				this.domElem.addClass('active');
+			} else {
+				this.domElem.removeClass('active');
+			}
+		}
+	}
+	
+})(jQuery);
\ No newline at end of file

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/div.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/div.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/div.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/div.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,44 @@
+/**
+ * @class кнопка - DIV
+ * Если выделение схлопнуто и находится внутри div'a - он удаляется
+ * Новые div'ы создаются только из несхлопнутого выделения
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ * 
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.div = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+	
+	this.command = function() {
+		var n, nodes;
+		this.rte.history.add();
+
+		if (this.rte.selection.collapsed()) {
+			n = this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^DIV$/);
+			if (n) {
+				$(n).replaceWith($(n).html());
+			}
+		} else {
+			nodes = this.rte.selection.selected({wrap : 'all', tag : 'div'});
+			nodes.length && this.rte.selection.select(nodes[0], nodes[nodes.length-1]);
+		}
+		this.rte.ui.update(true);
+	}
+	
+	this.update = function() {
+		if (this.rte.selection.collapsed()) {
+			if (this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^DIV$/)) {
+				this.domElem.removeClass('disabled').addClass('active');
+			} else {
+				this.domElem.addClass('disabled active');
+			}
+		} else {
+			this.domElem.removeClass('disabled active');
+		}
+	}
+}
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/docstructure.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/docstructure.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/docstructure.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/docstructure.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,24 @@
+/**
+ * @class кнопка - Включение/выключение показа структуры документа
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ * 
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.docstructure = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+	
+	this.command = function() {
+		this.domElem.toggleClass('active');
+		$(this.rte.doc.body).toggleClass('el-rte-structure');
+	}
+	this.command();
+	
+	this.update = function() {	
+		this.domElem.removeClass('disabled');
+	}
+}
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/elfinder.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/elfinder.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/elfinder.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/elfinder.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,39 @@
+/**
+ * @class button - open elfinder window (not needed for image or link buttons).Used in ELDORADO.CMS for easy file manipulations.
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.elfinder = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+	var self = this,
+		rte = this.rte;
+	this.command = function() {
+		if (self.rte.options.fmAllow && typeof(self.rte.options.fmOpen) == 'function') {
+			self.rte.options.fmOpen( function(url) { 
+				var name = decodeURIComponent(url.split('/').pop().replace(/\+/g, " "));
+				
+				if (rte.selection.collapsed()) {
+					rte.selection.insertHtml('<a href="'+url+'" >'+name+'</a>');
+				} else {
+					rte.doc.execCommand('createLink', false, url);
+				}
+				
+			} );
+		}
+	}
+	
+	this.update = function() {
+		if (self.rte.options.fmAllow && typeof(self.rte.options.fmOpen) == 'function') {
+			this.domElem.removeClass('disabled');
+		} else {
+			this.domElem.addClass('disabled');
+		}
+	}
+}
+
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/flash.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/flash.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/flash.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/flash.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,341 @@
+(function($) {
+	
+	elRTE.prototype.ui.prototype.buttons.flash = function(rte, name) {
+		this.constructor.prototype.constructor.call(this, rte, name);
+		var self = this;
+		this.swf = null;
+		this.placeholder = null;
+		this.src = {
+			url    : $('<input type="text" name="url" />').css('width', '99%'),
+			type   : $('<select name="type"/>')
+						.append('<option value="application/x-shockwave-flash">Flash</option>')
+						.append('<option value="video/quicktime">Quicktime movie</option>')
+						.append('<option value="application/x-mplayer2">Windows media</option>'),
+			width  : $('<input type="text" />').attr('size', 5).css('text-align', 'right'),
+			height : $('<input type="text" />').attr('size', 5).css('text-align', 'right'),
+			wmode  : $('<select />')
+						.append($('<option />').val('').text(this.rte.i18n('Not set', 'dialogs')))
+						.append($('<option />').val('transparent').text(this.rte.i18n('Transparent'))),
+			align  : $('<select />')
+						.append($('<option />').val('').text(this.rte.i18n('Not set', 'dialogs')))
+						.append($('<option />').val('left'       ).text(this.rte.i18n('Left')))
+						.append($('<option />').val('right'      ).text(this.rte.i18n('Right')))
+						.append($('<option />').val('top'        ).text(this.rte.i18n('Top')))
+						.append($('<option />').val('text-top'   ).text(this.rte.i18n('Text top')))
+						.append($('<option />').val('middle'     ).text(this.rte.i18n('middle')))
+						.append($('<option />').val('baseline'   ).text(this.rte.i18n('Baseline')))
+						.append($('<option />').val('bottom'     ).text(this.rte.i18n('Bottom')))
+						.append($('<option />').val('text-bottom').text(this.rte.i18n('Text bottom'))),
+			margin : $('<div />')
+		}
+		
+		this.command = function() {
+
+			var n = this.rte.selection.getEnd(), opts, url='', w='', h='', f, a, d, mid, o, wm;
+			this.rte.selection.saveIERange();
+			this.src.margin.elPaddingInput({ type : 'margin' });
+			this.placeholder = null;
+			this.swf = null;
+			if ($(n).hasClass('elrte-media') && (mid = $(n).attr('rel')) &&  this.rte.filter.scripts[mid]) {
+				this.placeholder = $(n);
+				o = this.rte.filter.scripts[mid];
+				url = '';
+				if (o.embed && o.embed.src) {
+					url = o.embed.src;
+				}
+				if (o.params && o.params.length) {
+					l = o.params.length;
+					while (l--) {
+						if (o.params[l].name == 'src' || o.params[l].name == 'movie') {
+							url =  o.params[l].value;
+						}
+					}
+				}
+				
+				if (o.embed) {
+					w = o.embed.width||parseInt(o.embed.style.width)||'';
+					h = o.embed.height||parseInt(o.embed.style.height)||'';
+					wm = o.embed.wmode||'';
+				} else if (o.obj) {
+					w = o.obj.width||parseInt(o.obj.style.width)||'';
+					h = o.obj.height||parseInt(o.obj.style.height)||'';
+					wm = o.obj.wmode||'';
+				}
+				
+				if (o.obj) {
+					f = o.obj.style['float']||'';
+					a = o.obj.style['vertical-align']||'';
+				} else if (o.embed) {
+					f = o.embed.style['float']||'';
+					a = o.embed.style['vertical-align']||'';
+				}
+				this.src.margin.val(n);
+				this.src.type.val(o.embed ? o.embed.type : '');
+			}
+			if ($(n).hasClass('elrte-swf-placeholder')) {
+				this.placeholder = $(n);
+				url = $(n).attr('rel');
+				w = parseInt($(n).css('width'))||'';
+				h = parseInt($(n).css('height'))||'';
+				f = $(n).css('float');
+				a = $(n).css('vertical-align');
+				this.src.margin.val(n);
+				this.src.wmode.val($(n).attr('wmode'));
+			} 
+			this.src.url.val(url);
+			this.src.width.val(w);
+			this.src.height.val(h);
+			this.src.align.val(f||a);
+			this.src.wmode.val(wm);
+			
+
+			
+
+			var opts = {
+				rtl : this.rte.rtl,
+				submit : function(e, d) { e.stopPropagation(); e.preventDefault(); self.set(); d.close(); },
+				dialog : {
+					width    : 580,
+					position : 'top',
+					title    : this.rte.i18n('Flash')
+				}
+			}
+			var d = new elDialogForm(opts);
+			
+			if (this.rte.options.fmAllow && this.rte.options.fmOpen) {
+				var src = $('<span />').append(this.src.url.css('width', '85%'))
+						.append(
+							$('<span />').addClass('ui-state-default ui-corner-all')
+								.css({'float' : 'right', 'margin-right' : '3px'})
+								.attr('title', self.rte.i18n('Open file manger'))
+								.append($('<span />').addClass('ui-icon ui-icon-folder-open'))
+									.click( function() {
+										self.rte.options.fmOpen( function(url) { self.src.url.val(url).change(); } );
+									})
+									.hover(function() {$(this).addClass('ui-state-hover')}, function() { $(this).removeClass('ui-state-hover')})
+							);
+			} else {
+				var src = this.src.url;
+			}
+			
+			d.append([this.rte.i18n('URL'), src], null, true);
+			d.append([this.rte.i18n('Type'), this.src.type], null, true);
+			d.append([this.rte.i18n('Size'), $('<span />').append(this.src.width).append(' x ').append(this.src.height).append(' px')], null, true)
+			d.append([this.rte.i18n('Wmode'), this.src.wmode], null, true);
+			d.append([this.rte.i18n('Alignment'), this.src.align], null, true);
+			d.append([this.rte.i18n('Margins'), this.src.margin], null, true);
+			
+			
+			
+			d.open();
+			// setTimeout( function() {self.src.url.focus()}, 100)
+			
+			
+			var fs = $('<fieldset />').append($('<legend />').text(this.rte.i18n('Preview')))
+			d.append(fs, 'main');
+			var frame = document.createElement('iframe');
+			$(frame).attr('src', '#').addClass('el-rte-preview').appendTo(fs);
+			html = this.rte.options.doctype+'<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style="padding:0;margin:0;font-size:9px"> Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin</body></html>';
+			frame.contentWindow.document.open();
+			frame.contentWindow.document.write(html);
+			frame.contentWindow.document.close();
+			this.frame = frame.contentWindow.document;
+			this.preview = $(frame.contentWindow.document.body);
+			 				 
+			this.src.type.change(function() {
+				self.src.url.change();
+			});
+
+			this.src.width.change(function() {
+				if (self.swf) {
+					var w = parseInt($(this).val())||'';
+					$(this).val(w);
+					self.swf.css('width', w);
+					self.swf.children('embed').css('width', w);
+				} else {
+					$(this).val('');
+				}
+			});
+
+			this.src.height.change(function() {
+				if (self.swf) {
+					var h = parseInt($(this).val())||'';
+					$(this).val(h);
+					self.swf.css('height', h);
+					self.swf.children('embed').css('height', h);
+				} else {
+					$(this).val('');
+				}
+			});
+			
+			this.src.wmode.change(function() {
+				if (self.swf) {
+					var wm = $(this).val();
+					if (wm) {
+						self.swf.attr('wmode', wm);
+						self.swf.children('embed').attr('wmode', wm);
+					} else {
+						self.swf.removeAttr('wmode');
+						self.swf.children('embed').removeAttr('wmode');
+					}
+				}
+			});
+			
+			this.src.align.change(function() {
+				var v = $(this).val(), f = v=='left' || v=='right';
+				if (self.swf) {
+					self.swf.css({
+						'float' : f ? v : '',
+						'vertical-align' : f ? '' : v
+					});
+				} else {
+					$(this).val('');
+				}
+			});
+			
+			this.src.margin.change(function() {
+				if (self.swf) {
+					var m = self.src.margin.val();
+					if (m.css) {
+						self.swf.css('margin', m.css);
+					} else {
+						self.swf.css('margin-top', m.top);
+						self.swf.css('margin-right', m.right);
+						self.swf.css('margin-bottom', m.bottom);
+						self.swf.css('margin-left', m.left);						
+					}
+				}
+			});
+			
+			this.src.url.change(function() {
+				var url = self.rte.utils.absoluteURL($(this).val()), i, swf;
+				if (url) {
+					i = self.rte.utils.mediaInfo(self.src.type.val());
+					if (!i) {
+						i = self.rte.util.mediaInfo('application/x-shockwave-flash');
+					}
+					swf = '<object classid="'+i.classid+'" codebase="'+i.codebase+'"><param name="src" value="'+url+'" /><embed quality="high" src="'+url+'" type="'+i.type+'"></object>';
+					self.preview.children('object').remove().end().prepend(swf);
+					self.swf = self.preview.children('object').eq(0);
+				} else if (self.swf){
+					self.swf.remove();
+					self.swf = null;
+				}
+				self.src.width.trigger('change');
+				self.src.height.trigger('change');
+				self.src.align.trigger('change');
+
+			}).trigger('change');
+		};
+		
+		this.set = function() {
+			self.swf = null
+			var url = this.rte.utils.absoluteURL(this.src.url.val()),
+				w = parseInt(this.src.width.val()) || '',
+				h = parseInt(this.src.height.val()) || '',
+				wm = this.src.wmode.val(),
+				a = this.src.align.val(),
+				f = a == 'left' || a == 'right' ? a : '',
+				mid = this.placeholder ? this.placeholder.attr('rel') : '', o, _o, c, 
+				m = this.src.margin.val(), margin;
+
+			
+			
+			if (!url) {
+				if (this.placeholder) {
+					this.placeholder.remove();
+					delete this.rte.filter.scripts[mid];
+				}
+			} else {
+				i = self.rte.utils.mediaInfo(self.src.type.val());
+				if (!i) {
+					i = self.rte.util.mediaInfo('application/x-shockwave-flash');
+				}
+				c = this.rte.filter.videoHostRegExp.test(url) ? url.replace(this.rte.filter.videoHostRegExp, "$2") : i.type.replace(/^\w+\/(.+)/, "$1");
+
+				o = {
+					obj : {
+						classid : i.classid[0],
+						codebase : i.codebase,
+						style : {}
+					},
+					params :[ { name : 'src', value : url } ],
+					embed :{
+						src : url,
+						type : i.type,
+						quality : 'high',
+						wmode : wm,
+						style : {}
+					}
+				};
+				
+				if (w) {
+					o.obj.width = w;
+					o.embed.width = w;
+				}
+				if (h) {
+					o.obj.height = h;
+					o.embed.height = h;
+				}
+				if (f) {
+					o.obj.style['float'] = f;
+				} else if (a) {
+					o.obj.style['vertical-align'] = a;
+				}
+				
+				if (m.css) {
+					margin = { margin : m.css };
+				} else {
+					margin = {
+						'margin-top' : m.top,
+						'margin-right' : m.right,
+						'margin-bottom' : m.bottom,
+						'margin-left' : m.left
+					};
+				}
+				
+				o.obj.style = $.extend({}, o.obj.style, margin);
+				
+				if (this.placeholder && mid) {
+					_o = this.rte.filter.scripts[mid]||{};
+
+					o = $.extend(true, _o, o);
+					delete o.obj.style.width;
+					delete o.obj.style.height;
+					delete o.embed.style.width;
+					delete o.embed.style.height;
+					this.rte.filter.scripts[mid] = o;
+					this.placeholder.removeAttr('class');
+				} else {
+					var id = 'media'+Math.random().toString().substring(2);
+					this.rte.filter.scripts[id] = o;
+					this.placeholder = $(this.rte.dom.create('img')).attr('rel', id).attr('src', this.rte.filter.url+'pixel.gif');
+					var ins = true;
+				}
+				this.placeholder.attr('title', this.rte.utils.encode(url)).attr('width', w||150).attr('height', h||100).addClass('elrte-protected elrte-media elrte-media-'+c).css(o.obj.style);
+				if (f) {
+					this.placeholder.css('float', f).css('vertical-align', '');
+				} else if (a) {
+					this.placeholder.css('float', '').css('vertical-align', a);
+				} else {
+					this.placeholder.css('float', '').css('vertical-align', '');
+				}
+				
+				if (ins) {
+					this.rte.window.focus();
+					this.rte.selection.restoreIERange();
+					this.rte.selection.insertNode(this.placeholder.get(0));
+				}
+			}
+		}
+		
+		this.update = function() {
+			this.domElem.removeClass('disabled');
+			var n = this.rte.selection.getNode();
+			this.domElem.toggleClass('active', n && n.nodeName == 'IMG' && $(n).hasClass('elrte-media'))
+			
+		}
+		
+		
+	}
+})(jQuery);
\ No newline at end of file

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fontname.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fontname.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fontname.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fontname.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,64 @@
+/**
+ * @class drop-down menu - font-family for selected text
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.fontname = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+	var self = this;
+	var opts = {
+		tpl      : '<span style="font-family:%val">%label</span>',
+		select   : function(v) { self.set(v); },
+		src      : {
+			''                                              : this.rte.i18n('Font'),
+			'andale mono,sans-serif'                        : 'Andale Mono',
+			'arial,helvetica,sans-serif'                    : 'Arial',
+			'arial black,gadget,sans-serif'                 : 'Arial Black',
+			'book antiqua,palatino,sans-serif'              : 'Book Antiqua',
+			'comic sans ms,cursive'                         : 'Comic Sans MS',
+			'courier new,courier,monospace'                 : 'Courier New',
+			'georgia,palatino,serif'                        : 'Georgia',
+			'helvetica,sans-serif'                          : 'Helvetica',
+			'impact,sans-serif'                             : 'Impact',
+			'lucida console,monaco,monospace'               : 'Lucida console',
+			'lucida sans unicode,lucida grande,sans-serif'  : 'Lucida grande',
+			'tahoma,sans-serif'                             : 'Tahoma',
+			'times new roman,times,serif'                   : 'Times New Roman',
+			'trebuchet ms,lucida grande,verdana,sans-serif' : 'Trebuchet MS',
+			'verdana,geneva,sans-serif'                     : 'Verdana'
+		}
+	}
+	
+	this.select = this.domElem.elSelect(opts);
+	
+	this.command = function() {
+	}
+	
+	this.set = function(size) {
+		this.rte.history.add();
+		var nodes = this.rte.selection.selected({filter : 'textContainsNodes'});
+		$.each(nodes, function() {
+			$this = /^(THEAD|TFOOT|TBODY|COL|COLGROUP|TR)$/.test(this.nodeName) ? $(this).find('td,th') : $(this);
+			$(this).css('font-family', size).find('[style]').css('font-family', '');
+		});
+		this.rte.ui.update();
+	}
+	
+	this.update = function() {
+		this.domElem.removeClass('disabled'); 
+		var n = this.rte.selection.getNode();
+		if (n.nodeType != 1) {
+			n = n.parentNode;
+		}
+		var v = $(n).css('font-family');
+		v = v ? v.toString().toLowerCase().replace(/,\s+/g, ',').replace(/'|"/g, '') : '';
+		this.select.val(opts.src[v] ? v : '');
+	}
+}
+
+})(jQuery);
\ No newline at end of file

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fontsize.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fontsize.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fontsize.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fontsize.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,52 @@
+/**
+ * @class drop-down menu - font size for selected text
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.fontsize = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+	var self = this;
+	var opts = {
+		labelTpl : '%label',
+		tpl      : '<span style="font-size:%val;line-height:1.2em">%label</span>',
+		select   : function(v) { self.set(v); },
+		src      : {
+			''         : this.rte.i18n('Font size'),
+			'xx-small' : this.rte.i18n('Small (8pt)'), 
+			'x-small'  : this.rte.i18n('Small (10px)'), 
+			'small'    : this.rte.i18n('Small (12pt)'), 
+			'medium'   : this.rte.i18n('Normal (14pt)'),
+			'large'    : this.rte.i18n('Large (18pt)'),
+			'x-large'  : this.rte.i18n('Large (24pt)'),
+			'xx-large' : this.rte.i18n('Large (36pt)')
+		}
+	}
+	
+	this.select = this.domElem.elSelect(opts);
+	
+	this.command = function() {
+	}
+	
+	this.set = function(size) {
+		this.rte.history.add();
+		var nodes = this.rte.selection.selected({filter : 'textContainsNodes'});
+		$.each(nodes, function() {
+			$this = /^(THEAD|TFOOT|TBODY|COL|COLGROUP|TR)$/.test(this.nodeName) ? $(this).find('td,th') : $(this);
+			$this.css('font-size', size).find("[style]").css('font-size', '');
+		});
+		this.rte.ui.update();
+	}
+	
+	this.update = function() {
+		this.domElem.removeClass('disabled');
+		var n = this.rte.selection.getNode();
+		this.select.val((m = this.rte.dom.attr(n, 'style').match(/font-size:\s*([^;]+)/i)) ? m[1] : '');
+	}
+}
+
+})(jQuery);
\ No newline at end of file

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/forecolor.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/forecolor.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/forecolor.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/forecolor.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,56 @@
+/**
+ * @class color pallete for text color and background
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.forecolor = function(rte, name) {
+	var self = this;
+	this.constructor.prototype.constructor.call(this, rte, name);
+	var opts = {
+		'class' : '',
+		palettePosition : 'outer',
+		color   : this.defaultColor,
+		update  : function(c) { self.indicator.css('background-color', c); },
+		change  : function(c) { self.set(c) }
+	}
+	
+	this.defaultColor = this.name == 'forecolor' ? '#000000' : '#ffffff';
+	this.picker       = this.domElem.elColorPicker(opts);
+	this.indicator    = $('<div />').addClass('color-indicator').prependTo(this.domElem);
+	
+	this.command = function() {
+	}
+	
+	this.set = function(c) {
+		if (!this.rte.selection.collapsed()) {
+			this.rte.history.add();
+			var nodes = this.rte.selection.selected({collapse : false, wrap : 'text'}),
+				css   = this.name == 'forecolor' ? 'color' : 'background-color';			
+			$.each(nodes, function() {
+				if (/^(THEAD|TBODY|TFOOT|TR)$/.test(this.nodeName)) {
+					$(this).find('td,th').each(function() {
+						$(this).css(css, c).find('*').css(css, '');
+					})
+				} else {
+					$(this).css(css, c).find('*').css(css, '');
+				}
+			});
+			this.rte.ui.update(true);
+		}
+	}
+	
+	this.update = function() {
+		this.domElem.removeClass('disabled');
+		var n = this.rte.selection.getNode();
+		this.picker.val(this.rte.utils.rgb2hex($(n.nodeType != 1 ? n.parentNode : n).css(this.name == 'forecolor' ? 'color' : 'background-color'))||this.defaultColor)
+	}
+}
+
+elRTE.prototype.ui.prototype.buttons.hilitecolor = elRTE.prototype.ui.prototype.buttons.forecolor;
+
+})(jQuery);
\ No newline at end of file

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/formatblock.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/formatblock.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/formatblock.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/formatblock.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,107 @@
+/**
+ * @class drop-down menu - formatting text block
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.formatblock = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+
+	var cmd = this.rte.browser.msie 
+		? function(v) { self.val = v; self.constructor.prototype.command.call(self); }
+		: function(v) { self.ieCommand(v); } 
+	var self = this;
+	var opts = {
+		labelTpl : '%label',
+		tpls     : {'' : '%label'},
+		select   : function(v) { self.formatBlock(v); },
+		src      : {
+			'span'    : this.rte.i18n('Format'),
+			'h1'      : this.rte.i18n('Heading 1'),
+			'h2'      : this.rte.i18n('Heading 2'),
+			'h3'      : this.rte.i18n('Heading 3'),
+			'h4'      : this.rte.i18n('Heading 4'),
+			'h5'      : this.rte.i18n('Heading 5'),
+			'h6'      : this.rte.i18n('Heading 6'),
+			'p'       : this.rte.i18n('Paragraph'),
+			'address' : this.rte.i18n('Address'),
+			'pre'     : this.rte.i18n('Preformatted'),
+			'div'     : this.rte.i18n('Normal (DIV)')
+		}
+	}
+
+	this.select = this.domElem.elSelect(opts);
+	
+	this.command = function() {
+
+	}
+	
+	this.formatBlock = function(v) {
+
+		function format(n, tag) {
+			
+			function replaceChilds(p) {
+				$(p).find('h1,h2,h3,h4,h5,h6,p,address,pre').each(function() {
+					$(this).replaceWith($(this).html());
+				});
+				return p;
+			}
+			
+			if (/^(LI|DT|DD|TD|TH|CAPTION)$/.test(n.nodeName)) {
+				!self.rte.dom.isEmpty(n) && self.rte.dom.wrapContents(replaceChilds(n), tag);
+			} else if (/^(UL|OL|DL|TABLE)$/.test(n.nodeName)) {
+				self.rte.dom.wrap(n, tag);
+			} else {
+				!self.rte.dom.isEmpty(n) && $(replaceChilds(n)).replaceWith( $(self.rte.dom.create(tag)).html($(n).html()));
+			}
+			
+		}
+		this.rte.history.add();
+
+		var tag = v.toUpperCase(),
+			i, n, $n,
+			c = this.rte.selection.collapsed(),
+			bm = this.rte.selection.getBookmark(),
+			nodes = this.rte.selection.selected({
+				collapsed : true,
+				blocks    : true,
+				filter    : 'textContainsNodes',
+				wrap      : 'inline',
+				tag       : 'span'
+			})
+			l = nodes.length,
+			s = $(nodes[0]).prev(),
+			e = $(nodes[nodes.length-1]).next();
+
+		while (l--) {
+			n = nodes[l];
+			$n = $(n);
+			if (tag == 'DIV' || tag == 'SPAN') {
+				if (/^(H[1-6]|P|ADDRESS|PRE)$/.test(n.nodeName)) {
+					$n.replaceWith($(this.rte.dom.create('div')).html($n.html()||''));
+				}
+			} else {
+				if (/^(THEAD|TBODY|TFOOT|TR)$/.test(n.nodeName)) {
+					$n.find('td,th').each(function() { format(this, tag); });
+				} else if (n.nodeName != tag) {
+					format(n, tag);
+				}
+			}
+		}
+
+		this.rte.selection.moveToBookmark(bm);
+
+		this.rte.ui.update(true);
+	}
+	
+	this.update = function() {
+		this.domElem.removeClass('disabled');
+		var n = this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^(H[1-6]|P|ADDRESS|PRE)$/);
+		this.select.val(n ? n.nodeName.toLowerCase() : 'span');
+	}
+}
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fullscreen.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fullscreen.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fullscreen.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/fullscreen.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,87 @@
+/**
+ * @class button - switch to fullscreen mode and back
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.fullscreen = function(rte, name) {
+	var self     = this;
+	this.constructor.prototype.constructor.call(this, rte, name);
+	this.active  = true;
+	this.editor = rte.editor;
+	this.wz = rte.workzone;
+	this.height  = 0;
+	this.delta = 0;
+	this._class = 'el-fullscreen';
+	
+	setTimeout(function() {
+		self.height  = self.wz.height();
+		self.delta   = self.editor.outerHeight()-self.height;
+	}, 50);
+	
+	
+	/**
+	 * Update editor height on window resize in fullscreen view
+	 *
+	 **/
+	function resize() {
+		self.wz.height($(window).height()-self.delta);
+		self.rte.updateHeight();
+	}
+	
+	this.command = function() {
+		var w = $(window),
+			e = this.editor,
+			p = e.parents().filter(function(i, n) { return  !/^(html|body)$/i.test(n.nodeName) && $(n).css('position') == 'relative'; }),
+			wz = this.wz,
+			c = this._class,
+			f = e.hasClass(c),
+			rte = this.rte,
+			s = this.rte.selection,
+			m = $.browser.mozilla,
+			b, h;
+
+		function save() {
+			if (m) {
+				b = s.getBookmark();
+			}
+		}
+		
+		function restore() {
+			if (m) {
+				self.wz.children().toggle();
+				self.rte.source.focus();
+				self.wz.children().toggle();
+				s.moveToBookmark(b);
+			}
+		}
+
+		save();
+		p.css('position', f ? 'relative' : 'static');	
+		
+		if (f) {
+			e.removeClass(c);
+			wz.height(this.height);
+			w.unbind('resize', resize);
+			this.domElem.removeClass('active');
+		} else {
+			e.addClass(c).removeAttr('style');
+			wz.height(w.height() - this.delta).css('width', '100%');
+			w.bind('resize', resize);
+			this.domElem.addClass('active');
+		}
+		rte.updateHeight();	
+		rte.resizable(f);
+		restore();
+		
+	}
+	
+	this.update = function() {
+		this.domElem.removeClass('disabled');
+	}
+}
+})(jQuery);

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

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

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

Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/horizontalrule.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/horizontalrule.js?rev=1178141&view=auto
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/horizontalrule.js (added)
+++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/horizontalrule.js Sun Oct  2 08:06:49 2011
@@ -0,0 +1,101 @@
+/**
+ * @class button - horizontal rule (open dialog window)
+ *
+ * @param  elRTE  rte   объект-редактор
+ * @param  String name  название кнопки 
+ *
+ * @author:    Dmitry Levashov (dio) dio@std42.ru
+ * @copyright: Studio 42, http://www.std42.ru
+ **/
+(function($) {
+elRTE.prototype.ui.prototype.buttons.horizontalrule = function(rte, name) {
+	this.constructor.prototype.constructor.call(this, rte, name);
+	var self = this;
+	this.src = {
+		width   : $('<input type="text" />').attr({'name' : 'width', 'size' : 4}).css('text-align', 'right'),
+		wunit   : $('<select />').attr('name', 'wunit')
+					.append($('<option />').val('%').text('%'))
+					.append($('<option />').val('px').text('px'))
+					.val('%'),
+		height  : $('<input type="text" />').attr({'name' : 'height', 'size' : 4}).css('text-align', 'right'),
+		bg      : $('<div />'),
+		border  : $('<div />'),
+		'class' : $('<input type="text" />').css('width', '100%'),
+		style   : $('<input type="text" />').css('width', '100%')
+	}
+	
+	this.command = function() {
+		this.src.bg.elColorPicker({palettePosition : 'outer', 'class' : 'el-colorpicker ui-icon ui-icon-pencil'});
+		
+		var n   = this.rte.selection.getEnd();
+		this.hr = n.nodeName == 'HR' ? $(n) : $(rte.doc.createElement('hr')).css({width : '100%', height : '1px'});
+		this.src.border.elBorderSelect({styleHeight : 73, value : this.hr});
+		
+		var _w  = this.hr.css('width') || this.hr.attr('width');
+		this.src.width.val(parseInt(_w) || 100);
+		this.src.wunit.val(_w.indexOf('px') != -1 ? 'px' : '%');
+		
+		this.src.height.val( this.rte.utils.toPixels(this.hr.css('height') || this.hr.attr('height')) || 1) ;
+		
+		this.src.bg.val(this.rte.utils.color2Hex(this.hr.css('background-color')));
+		this.src['class'].val(this.rte.dom.attr(this.hr, 'class'));
+		this.src.style.val(this.rte.dom.attr(this.hr, 'style'));
+		
+		var opts = {
+			rtl : this.rte.rtl,
+			submit : function(e, d) { e.stopPropagation(); e.preventDefault(); self.set(); d.close(); },
+			dialog : {
+				title : this.rte.i18n('Horizontal rule')
+			}
+		}
+
+		var d = new elDialogForm(opts);
+		d.append([this.rte.i18n('Width'),          $('<span />').append(this.src.width).append(this.src.wunit) ], null, true)
+			.append([this.rte.i18n('Height'),      $('<span />').append(this.src.height).append(' px')], null, true)
+			.append([this.rte.i18n('Border'),      this.src.border], null, true)
+			.append([this.rte.i18n('Background'),  this.src.bg], null, true)
+			.append([this.rte.i18n('Css class'),   this.src['class']], null, true)
+			.append([this.rte.i18n('Css style'),   this.src.style], null, true)
+			.open();
+	}
+	
+	this.update = function() {
+		this.domElem.removeClass('disabled');
+		if (this.rte.selection.getEnd().nodeName == 'HR') {
+			this.domElem.addClass('active');
+		} else {
+			this.domElem.removeClass('active');
+		}
+	}
+	
+	this.set = function() {
+		this.rte.history.add();
+		!this.hr.parentNode && this.rte.selection.insertNode(this.hr.get(0));
+		var attr = {
+			noshade : true,
+			style   : this.src.style.val()
+		}
+		var b = this.src.border.val();
+		var css = {
+			width  : (parseInt(this.src.width.val()) || 100)+this.src.wunit.val(),
+			height : parseInt(this.src.height.val()) || 1,
+			'background-color' : this.src.bg.val(),
+			border : b.width && b.style ? b.width+' '+b.style+' '+b.color : ''
+		}
+
+		this.hr.removeAttr('class')
+			.removeAttr('style')
+			.removeAttr('width')
+			.removeAttr('height')
+			.removeAttr('align')
+			.attr(attr)
+			.css(css);
+		
+		if (this.src['class'].val()) {
+			this.hr.attr('class', this.src['class'].val());	
+		}
+		this.rte.ui.update()
+	}
+	
+}
+})(jQuery);

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

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

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