Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcellsmerge.js
------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcellsmerge.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcellsmerge.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcellsplit.js URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcellsplit.js?rev=1178141&view=auto ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcellsplit.js (added) +++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcellsplit.js Sun Oct 2 08:06:49 2011 @@ -0,0 +1,77 @@ +/** + * @class button - split merged cell + * + * @param elRTE rte обÑекÑ-ÑедакÑÐ¾Ñ + * @param String name название кнопки + * @todo split not merged cell + * + * @author: Dmitry Levashov (dio) [hidden email] + * @copyright: Studio 42, http://www.std42.ru + **/ +(function($) { +elRTE.prototype.ui.prototype.buttons.tbcellsplit = function(rte, name) { + this.constructor.prototype.constructor.call(this, rte, name); + + this.command = function() { + var n = this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^(TD|TH)$/); + if (n) { + this.rte.history.add(); + var colspan = parseInt(this.rte.dom.attr(n, 'colspan')); + var rowspan = parseInt(this.rte.dom.attr(n, 'rowspan')); + if (colspan>1 || rowspan>1) { + var cnum = colspan-1; + var rnum = rowspan-1; + var tb = this.rte.dom.parent(n, /^TABLE$/); + var tbm = this.rte.dom.tableMatrix(tb); + + // ÑÑейки в ÑекÑÑем ÑÑÐ´Ñ + if (cnum) { + for (var i=0; i<cnum; i++) { + $(this.rte.dom.create(n.nodeName)).html(' ').insertAfter(n); + } + } + if (rnum) { + var ndx = this.rte.dom.indexesOfCell(n, tbm) + var rndx = ndx[0]; + var cndx = ndx[1]; + // ÑÑейки в ÑледÑÑÐ¸Ñ ÑÑÐ´Ð°Ñ + for (var r=rndx+1; r < rndx+rnum+1; r++) { + var cell; + + if (!tbm[r][cndx].nodeName) { + if (tbm[r][cndx-1].nodeName) { + cell = tbm[r][cndx-1]; + } else { + for (var i=cndx-1; i>=0; i--) { + if (tbm[r][i].nodeName) { + cell =tbm[r][i]; + break; + } + } + } + if (cell) { + for (var i=0; i<= cnum; i++) { + $(this.rte.dom.create(cell.nodeName)).html(' ').insertAfter(cell); + } + } + } + }; + } + $(n).removeAttr('colspan').removeAttr('rowspan'); + this.rte.dom.fixTable(tb); + } + } + this.rte.ui.update(true); + } + + this.update = function() { + var n = this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^(TD|TH)$/); + if (n && (parseInt(this.rte.dom.attr(n, 'colspan'))>1 || parseInt(this.rte.dom.attr(n, 'rowspan'))>1)) { + 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/tbcellsplit.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcellsplit.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcellsplit.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcollbefore.js URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcollbefore.js?rev=1178141&view=auto ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcollbefore.js (added) +++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcollbefore.js Sun Oct 2 08:06:49 2011 @@ -0,0 +1,49 @@ +/** + * @class button - Insert new column in table(before or after current) + * + * @param elRTE rte обÑекÑ-ÑедакÑÐ¾Ñ + * @param String name название кнопки + * + * @author: Dmitry Levashov (dio) [hidden email] + * @copyright: Studio 42, http://www.std42.ru + **/ +(function($) { +elRTE.prototype.ui.prototype.buttons.tbcolbefore = function(rte, name) { + this.constructor.prototype.constructor.call(this, rte, name); + var self = this; + + this.command = function() { + var self = this; + var cells = this.rte.dom.tableColumn(this.rte.selection.getNode(), false, true); + if (cells.length) { + this.rte.history.add(); + $.each(cells, function() { + var $this = $(this); + var cp = parseInt($this.attr('colspan')||1) + if (cp >1) { + $this.attr('colspan', cp+1); + } else { + var c = $(self.rte.dom.create(this.nodeName)).html(' '); + if (self.name == 'tbcolbefore') { + c.insertBefore(this); + } else { + c.insertAfter(this); + } + } + }); + this.rte.ui.update(); + } + } + + this.update = function() { + if (this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^(TD|TH)$/)) { + this.domElem.removeClass('disabled'); + } else { + this.domElem.addClass('disabled'); + } + } +} + +elRTE.prototype.ui.prototype.buttons.tbcolafter = elRTE.prototype.ui.prototype.buttons.tbcolbefore; + +})(jQuery); Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcollbefore.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcollbefore.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcollbefore.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcolrm.js URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcolrm.js?rev=1178141&view=auto ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcolrm.js (added) +++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcolrm.js Sun Oct 2 08:06:49 2011 @@ -0,0 +1,51 @@ +/** + * @class button - remove table colunm + * + * @param elRTE rte обÑекÑ-ÑедакÑÐ¾Ñ + * @param String name название кнопки + * + * @author: Dmitry Levashov (dio) [hidden email] + * @copyright: Studio 42, http://www.std42.ru + **/ +(function($) { +elRTE.prototype.ui.prototype.buttons.tbcolrm = function(rte, name) { + this.constructor.prototype.constructor.call(this, rte, name); + var self = this; + + this.command = function() { + var n = this.rte.selection.getNode(); + var c = this.rte.dom.selfOrParent(n, /^(TD|TH)$/); + var prev = $(c).prev('td,th').get(0); + var next = $(c).next('td,th').get(0); + var tb = this.rte.dom.parent(n, /^TABLE$/); + var cells = this.rte.dom.tableColumn(n, false, true); + + if (cells.length) { + this.rte.history.add(); + $.each(cells, function() { + var $this = $(this); + var cp = parseInt($this.attr('colspan')||1); + if ( cp>1 ) { + $this.attr('colspan', cp-1); + } else { + $this.remove(); + } + }); + this.rte.dom.fixTable(tb); + if (prev || next) { + this.rte.selection.selectContents(prev ? prev : next).collapse(true); + } + this.rte.ui.update(true); + } + } + + this.update = function() { + if (this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^(TD|TH)$/)) { + 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/tbcolrm.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcolrm.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbcolrm.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowbefore.js URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowbefore.js?rev=1178141&view=auto ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowbefore.js (added) +++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowbefore.js Sun Oct 2 08:06:49 2011 @@ -0,0 +1,75 @@ +/** + * @class Ð¼ÐµÐ½Ñ - ÐовÑй ÑÑд в ÑаблиÑе + * + * @param elRTE rte обÑекÑ-ÑедакÑÐ¾Ñ + * @param String name название кнопки + **/ +elRTE.prototype.ui.prototype.buttons.tbrowbefore = function(rte, name) { + this.constructor.prototype.constructor.call(this, rte, name); + + this.command = function() { + var n = this.rte.selection.getNode(); + var c = this.rte.dom.selfOrParent(n, /^(TD|TH)$/); + var r = this.rte.dom.selfOrParent(c, /^TR$/); + var mx = this.rte.dom.tableMatrix(this.rte.dom.selfOrParent(c, /^TABLE$/)); + + if (c && r && mx) { + this.rte.history.add(); + var before = this.name == 'tbrowbefore'; + var ro = $(r).prevAll('tr').length; + var cnt = 0; + var mdf = []; + + function _find(x, y) { + while (y>0) { + y--; + if (mx[y] && mx[y][x] && mx[y][x].nodeName) { + return mx[y][x]; + } + } + } + + for (var i=0; i<mx[ro].length; i++) { + if (mx[ro][i] && mx[ro][i].nodeName) { + var cell = $(mx[ro][i]); + var colspan = parseInt(cell.attr('colspan')||1); + if (parseInt(cell.attr('rowspan')||1) > 1) { + if (before) { + cnt += colspan; + } else { + mdf.push(cell); + } + } else { + cnt += colspan; + } + } else if (mx[ro][i] == '-') { + cell = _find(i, ro); + cell && mdf.push($(cell)); + } + } + var row = $(this.rte.dom.create('tr')); + for (var i=0; i<cnt; i++) { + row.append('<td> </td>'); + } + if (before) { + row.insertBefore(r); + } else { + row.insertAfter(r); + } + $.each(mdf, function() { + $(this).attr('rowspan', parseInt($(this).attr('rowspan')||1)+1); + }); + this.rte.ui.update(); + } + } + + this.update = function() { + if (this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^TR$/)) { + this.domElem.removeClass('disabled'); + } else { + this.domElem.addClass('disabled'); + } + } +} + +elRTE.prototype.ui.prototype.buttons.tbrowafter = elRTE.prototype.ui.prototype.buttons.tbrowbefore; Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowbefore.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowbefore.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowbefore.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowrm.js URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowrm.js?rev=1178141&view=auto ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowrm.js (added) +++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowrm.js Sun Oct 2 08:06:49 2011 @@ -0,0 +1,106 @@ +/** + * @class button - remove table row + * + * @param elRTE rte обÑекÑ-ÑедакÑÐ¾Ñ + * @param String name название кнопки + * + * @author: Dmitry Levashov (dio) [hidden email] + * @copyright: Studio 42, http://www.std42.ru + **/ +(function($) { +elRTE.prototype.ui.prototype.buttons.tbrowrm = function(rte, name) { + this.constructor.prototype.constructor.call(this, rte, name); + var self = this; + this.command = function() { + + var n = this.rte.selection.getNode(), + c = this.rte.dom.selfOrParent(n, /^(TD|TH)$/), + r = this.rte.dom.selfOrParent(c, /^TR$/), + tb = this.rte.dom.selfOrParent(c, /^TABLE$/), + mx = this.rte.dom.tableMatrix(tb); + + if (c && r && mx.length) { + this.rte.history.add(); + if (mx.length==1) { + $(tb).remove(); + return this.rte.ui.update(); + } + var mdf = []; + var ro = $(r).prevAll('tr').length; + + function _find(x, y) { + while (y>0) { + y--; + if (mx[y] && mx[y][x] && mx[y][x].nodeName) { + return mx[y][x]; + } + } + } + + // move cell with rowspan>1 to next row + function _move(cell, x) { + y = ro+1; + var sibling= null; + if (mx[y]) { + for (var _x=0; _x<x; _x++) { + if (mx[y][_x] && mx[y][_x].nodeName) { + sibling = mx[y][_x]; + } + }; + + cell = cell.remove(); + if (sibling) { + cell.insertAfter(sibling); + } else { + cell.prependTo($(r).next('tr').eq(0)); + } + } + } + + function _cursorPos(column) { + for (var i = 0; i<column.length; i++) { + if (column[i] == c) { + return i<column.length-1 ? column[i+1] : column[i-1]; + } + } + } + + for (var i=0; i<mx[ro].length; i++) { + var cell = null; + var move = false; + if (mx[ro][i] && mx[ro][i].nodeName) { + cell = mx[ro][i]; + move = true; + } else if (mx[ro][i] == '-' && (cell = _find(i, ro))) { + move = false; + } + if (cell) { + cell = $(cell); + var rowspan = parseInt(cell.attr('rowspan')||1); + if (rowspan>1) { + cell.attr('rowspan', rowspan-1); + move && _move(cell, i, ro); + } + } + }; + + var _c = _cursorPos(this.rte.dom.tableColumn(c)); + if (_c) { + this.rte.selection.selectContents(_c).collapse(true); + } + + $(r).remove(); + } + this.rte.ui.update(); + } + + this.update = function() { + if (this.rte.dom.selfOrParent(this.rte.selection.getNode(), /^TR$/)) { + this.domElem.removeClass('disabled'); + } else { + this.domElem.addClass('disabled'); + } + } +} + +})(jQuery); \ No newline at end of file Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowrm.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowrm.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/tbrowrm.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/undo.js URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/undo.js?rev=1178141&view=auto ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/undo.js (added) +++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/undo.js Sun Oct 2 08:06:49 2011 @@ -0,0 +1,31 @@ +/** + * @class кнопка - оÑмена повÑÐ¾Ñ Ð´ÐµÐ¹ÑÑвий + * + * @param elRTE rte обÑекÑ-ÑедакÑÐ¾Ñ + * @param String name название кнопки + * + * @author: Dmitry Levashov (dio) [hidden email] + * @copyright: Studio 42, http://www.std42.ru + **/ +(function($) { + elRTE.prototype.ui.prototype.buttons.undo = function(rte, name) { + this.constructor.prototype.constructor.call(this, rte, name); + + this.command = function() { + if (this.name == 'undo' && this.rte.history.canBack()) { + this.rte.history.back(); + this.rte.ui.update(); + } else if (this.name == 'redo' && this.rte.history.canFwd()) { + this.rte.history.fwd(); + this.rte.ui.update(); + } + } + + this.update = function() { + this.domElem.toggleClass('disabled', this.name == 'undo' ? !this.rte.history.canBack() : !this.rte.history.canFwd()); + } + } + + elRTE.prototype.ui.prototype.buttons.redo = elRTE.prototype.ui.prototype.buttons.undo; + +})(jQuery); \ No newline at end of file Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/undo.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/undo.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/undo.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/unlink.js URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/unlink.js?rev=1178141&view=auto ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/unlink.js (added) +++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/unlink.js Sun Oct 2 08:06:49 2011 @@ -0,0 +1,60 @@ +/** + * @class button - remove link + * + * @param elRTE rte обÑекÑ-ÑедакÑÐ¾Ñ + * @param String name название кнопки + * + * @author: Dmitry Levashov (dio) [hidden email] + * @copyright: Studio 42, http://www.std42.ru + **/ +(function($) { + + elRTE.prototype.ui.prototype.buttons.unlink = function(rte, name) { + this.constructor.prototype.constructor.call(this, rte, name); + + this.command = function() { + + var n = this.rte.selection.getNode(), + l = this.rte.dom.selfOrParentLink(n); + + function isLink(n) { return n.nodeName == 'A' && n.href; } + + if (!l) { + + var sel = $.browser.msie ? this.rte.selection.selected() : this.rte.selection.selected({wrap : false}); + if (sel.length) { + for (var i=0; i < sel.length; i++) { + if (isLink(sel[i])) { + l = sel[i]; + break; + } + }; + if (!l) { + l = this.rte.dom.parent(sel[0], isLink) || this.rte.dom.parent(sel[sel.length-1], isLink); + } + } + } + + if (l) { + this.rte.history.add(); + this.rte.selection.select(l); + this.rte.doc.execCommand('unlink', false, null); + this.rte.ui.update(true); + } + + } + + this.update = function() { + var n = this.rte.selection.getNode(); + if (this.rte.dom.selfOrParentLink(n)) { + this.domElem.removeClass('disabled').addClass('active'); + } else if (this.rte.dom.selectionHas(function(n) { return n.nodeName == 'A' && n.href; })) { + this.domElem.removeClass('disabled').addClass('active'); + } else { + this.domElem.addClass('disabled').removeClass('active'); + } + } + } + +})(jQuery); + Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/unlink.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/unlink.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/elrte/js/ui/unlink.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/post.php URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/post.php?rev=1178141&view=auto ============================================================================== --- ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/post.php (added) +++ ofbiz/trunk/framework/images/webapp/images/jquery/plugins/elrte-1.3/src/post.php Sun Oct 2 08:06:49 2011 @@ -0,0 +1,10 @@ +<?php +set_magic_quotes_runtime(0); + +if (isset($_GET['debug'])) { + echo '<pre>'; + print_r($_POST); +} else { + echo stripslashes($_POST['editor']) ; +} + \ No newline at end of file Modified: ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl?rev=1178141&r1=1178140&r2=1178141&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl (original) +++ ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl Sun Oct 2 08:06:49 2011 @@ -83,18 +83,18 @@ under the License. <#if value?has_content>${value}</#if><#t/> </textarea><#lt/> <#if visualEditorEnable?has_content> - <script language="javascript" src="/images/jquery/plugins/elrteEditor/elrte.min.js" type="text/javascript"></script><#rt/> + <script language="javascript" src="/images/jquery/plugins/elrte-1.3/js/elrte.min.js" type="text/javascript"></script><#rt/> <#if language?has_content && language != "en"> - <script language="javascript" src="/images/jquery/plugins/elrteEditor/i18n/elrte.${language!"en"}.js" type="text/javascript"></script><#rt/> + <script language="javascript" src="/images/jquery/plugins/elrte-1.3/i18n/elrte.${language!"en"}.js" type="text/javascript"></script><#rt/> </#if> - <link href="/images/jquery/plugins/elrteEditor/css/elrte.full.css" rel="stylesheet" type="text/css"> + <link href="/images/jquery/plugins/elrte-1.3/css/elrte.full.css" rel="stylesheet" type="text/css"> <script language="javascript" type="text/javascript"> var opts = { cssClass : 'el-rte', lang : '${language!"en"}', toolbar : '${buttons?default("maxi")}', doctype : '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">', //'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">', - cssfiles : ['/images/jquery/plugins/elrteEditor/css/elrte-inner.css'] + cssfiles : ['/images/jquery/plugins/elrte-1.3/css/elrte-inner.css'] } jQuery('#${id?default("")}').elrte(opts); </script> Modified: ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl?rev=1178141&r1=1178140&r2=1178141&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl (original) +++ ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl Sun Oct 2 08:06:49 2011 @@ -496,14 +496,14 @@ under the License. <td width="60%" valign="top"> <table cellspacing="0"> <tr><td> - <script language="javascript" src="/images/jquery/plugins/elrteEditor/elrte.min.js" type="text/javascript"></script> - <link href="/images/jquery/plugins/elrteEditor/css/elrte.full.css" rel="stylesheet" type="text/css"> + <script language="javascript" src="/images/jquery/plugins/elrte-1.3/js/elrte.min.js" type="text/javascript"></script> + <link href="/images/jquery/plugins/elrte-1.3/css/elrte.full.css" rel="stylesheet" type="text/css"> <script language="javascript" type="text/javascript"> var opts = { cssClass : 'el-rte', toolbar : 'maxi', doctype : '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">', //'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">', - cssfiles : ['/images/jquery/plugins/elrteEditor/css/elrte-inner.css'] + cssfiles : ['/images/jquery/plugins/elrte-1.3/css/elrte-inner.css'] } </script> <textarea id="description" name="description" style="width:800px; height:300px"> |
Free forum by Nabble | Edit this page |