Added TinyMCE editor functions & Updated TinyMCE to TinyMCE-jQuery 3.4b1

This commit is contained in:
Deon George
2011-01-07 17:56:20 +11:00
parent a862249fed
commit ad5b674d22
1224 changed files with 50965 additions and 50821 deletions

View File

@@ -1 +1 @@
(function(){tinymce.create('tinymce.plugins.AdvancedHRPlugin',{init:function(ed,url){ed.addCommand('mceAdvancedHr',function(){ed.windowManager.open({file:url+'/rule.htm',width:250+parseInt(ed.getLang('advhr.delta_width',0)),height:160+parseInt(ed.getLang('advhr.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('advhr',{title:'advhr.advhr_desc',cmd:'mceAdvancedHr'});ed.onNodeChange.add(function(ed,cm,n){cm.setActive('advhr',n.nodeName=='HR');});ed.onClick.add(function(ed,e){e=e.target;if(e.nodeName==='HR')ed.selection.select(e);});},getInfo:function(){return{longname:'Advanced HR',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advhr',tinymce.plugins.AdvancedHRPlugin);})();
(function(){tinymce.create("tinymce.plugins.AdvancedHRPlugin",{init:function(a,b){a.addCommand("mceAdvancedHr",function(){a.windowManager.open({file:b+"/rule.htm",width:250+parseInt(a.getLang("advhr.delta_width",0)),height:160+parseInt(a.getLang("advhr.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("advhr",{title:"advhr.advhr_desc",cmd:"mceAdvancedHr"});a.onNodeChange.add(function(d,c,e){c.setActive("advhr",e.nodeName=="HR")});a.onClick.add(function(c,d){d=d.target;if(d.nodeName==="HR"){c.selection.select(d)}})},getInfo:function(){return{longname:"Advanced HR",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advhr",tinymce.plugins.AdvancedHRPlugin)})();

View File

@@ -1,8 +1,11 @@
/**
* $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $
* editor_plugin_src.js
*
* @author Moxiecode
* @copyright Copyright <20> 2004-2008, Moxiecode Systems AB, All rights reserved.
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ar.advhr_dlg',{
width:"\u0627\u0644\u0639\u0631\u0636",
size:"\u0627\u0644\u0625\u0631\u062A\u0641\u0627\u0639",
noshade:"\u0628\u062F\u0648\u0646 \u0638\u0644"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('bg.advhr_dlg',{
width:"\u0428\u0438\u0440\u0438\u043D\u0430",
size:"\u0412\u0438\u0441\u043E\u0447\u0438\u043D\u0430",
noshade:"\u0411\u0435\u0437 \u0441\u044F\u043D\u043A\u0430"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('br.advhr_dlg',{
width:"Largura",
size:"Altura",
noshade:"Sem sombra"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('bs.advhr_dlg',{
width:"\u0160irina",
size:"Visina",
noshade:"Bez sjene"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ca.advhr_dlg',{
width:"Amplada",
size:"Al\u00E7ada",
noshade:"Sense ombra"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ch.advhr_dlg',{
width:"\u5BBD",
size:"\u957F",
noshade:"\u65E0\u9634\u5F71"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('cs.advhr_dlg',{
width:"\u0160\u00ED\u0159ka",
size:"V\u00FD\u0161ka",
noshade:"Bez st\u00EDnu"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('da.advhr_dlg',{
width:"Bredde",
size:"H\u00F8jde",
noshade:"Ingen skygge"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('de.advhr_dlg',{
width:"Breite",
size:"H\u00F6he",
noshade:"Kein Schatten"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('dv.advhr_dlg',{
width:"Width",
size:"Height",
noshade:"No shadow"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('el.advhr_dlg',{
width:"\u03A0\u03BB\u03AC\u03C4\u03BF\u03C2",
size:"\u038E\u03C8\u03BF\u03C2",
noshade:"\u03A7\u03C9\u03C1\u03AF\u03C2 \u03C3\u03BA\u03B9\u03AC"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('es.advhr_dlg',{
width:"Ancho",
size:"Alto",
noshade:"Sin sombra"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('et.advhr_dlg',{
width:"Laius",
size:"K\u00F5rgus",
noshade:"Ilma varjuta"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('fa.advhr_dlg',{
width:"\u067E\u0647\u0646\u0627",
size:"\u0627\u0631\u062A\u0641\u0627\u0639",
noshade:"\u0628\u062F\u0648\u0646 \u0633\u0627\u06CC\u0647"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('fi.advhr_dlg',{
width:"Leveys",
size:"Korkeus",
noshade:"Ei varjoa"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('fr.advhr_dlg',{
width:"Largeur",
size:"Hauteur",
noshade:"Pas d'ombre"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('gl.advhr_dlg',{
width:"Ancho",
size:"Alto",
noshade:"Sen sombra"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('he.advhr_dlg',{
width:"\u05E8\u05D5\u05D7\u05D1",
size:"\u05D2\u05D5\u05D1\u05D4",
noshade:"\u05DC\u05DC\u05D0 \u05E6\u05DC"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('hr.advhr_dlg',{
width:"\u0160irina",
size:"Visina",
noshade:"Bez sjene"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('hu.advhr_dlg',{
width:"Sz\u00E9less\u00E9g",
size:"Magass\u00E1g",
noshade:"\u00C1rny\u00E9k n\u00E9lk\u00FCl"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ia.advhr_dlg',{
width:"\u5BBD",
size:"\u957F",
noshade:"\u65E0\u9634\u5F71"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ii.advhr_dlg',{
width:"\u5BBD",
size:"\u957F",
noshade:"\u65E0\u9634\u5F71"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('is.advhr_dlg',{
width:"Breidd",
size:"H\u00E6\u00F0",
noshade:"Enginn skuggi"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('it.advhr_dlg',{
width:"Width",
size:"Height",
noshade:"Senza ombreggiatura"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ja.advhr_dlg',{
width:"\u5E45",
size:"\u9AD8\u3055",
noshade:"\u5F71\u306A\u3057"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ko.advhr_dlg',{
width:"\uD3ED",
size:"\uB192\uC774",
noshade:"\uADF8\uB9BC\uC790\uC5C6\uC74C"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('lt.advhr_dlg',{
width:"Ilgis",
size:"Auk\u0161tis",
noshade:"Be \u0161e\u0161\u0117lio"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('lv.advhr_dlg',{
width:"Platums",
size:"Augstums",
noshade:"Bez \u0113nas"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('mk.advhr_dlg',{
width:"\u0160irina",
size:"Visina",
noshade:"Bez sjene"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('mn.advhr_dlg',{
width:"\u04E8\u0440\u0433\u04E9\u043D",
size:"\u04E8\u043D\u0434\u04E9\u0440",
noshade:"\u0421\u04AF\u04AF\u0434\u044D\u0440\u0433\u04AF\u0439"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ms.advhr_dlg',{
width:"Lebar",
size:"Tinggi",
noshade:"Tanpa bayang"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('nb.advhr_dlg',{
width:"Bredde",
size:"St\u00F8rrelse",
noshade:"Ingen skygge"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('nl.advhr_dlg',{
width:"Breedte",
size:"Hoogte",
noshade:"Geen schaduw"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('nn.advhr_dlg',{
width:"Breidd",
size:"Storleik",
noshade:"Inga skugge"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('pl.advhr_dlg',{
width:"Szeroko\u015B\u0107",
size:"Wysoko\u015B\u0107",
noshade:"Bez cienia"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('pt.advhr_dlg',{
width:"Largura",
size:"Altura",
noshade:"Sem sombra"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ro.advhr_dlg',{
width:"L\u0103\u0163ime",
size:"\u00CEn\u0103l\u0163ime",
noshade:"F\u0103r\u0103 umbre"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('ru.advhr_dlg',{
width:"\u0428\u0438\u0440\u0438\u043D\u0430",
size:"\u0412\u044B\u0441\u043E\u0442\u0430",
noshade:"\u041D\u0435\u0442 \u0442\u0435\u043D\u0438"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('sc.advhr_dlg',{
width:"\u5BBD",
size:"\u957F",
noshade:"\u65E0\u9634\u5F71"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('se.advhr_dlg',{
width:"Bredd",
size:"H\u00F6jd",
noshade:"Ingen skugga"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('si.advhr_dlg',{
width:"Width",
size:"Height",
noshade:"No shadow"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('sk.advhr_dlg',{
width:"\u0160\u00EDrka",
size:"V\u00FD\u0161ka",
noshade:"Bez tie\u0148a"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('sl.advhr_dlg',{
width:"\u0160irina",
size:"Vi\u0161ina",
noshade:"Brez sen\u010Denja"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('sq.advhr_dlg',{
width:"Gjer\u00EBsia",
size:"Gjat\u00EBsia",
noshade:"Pa hije"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('sr.advhr_dlg',{
width:"\u0160irina",
size:"Visina",
noshade:"Bez sjene"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('sv.advhr_dlg',{
width:"Bredd",
size:"H\u00F6jd",
noshade:"Ingen skugga"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('tr.advhr_dlg',{
width:"Geni\u015Flik",
size:"Y\u00FCkseklik",
noshade:"G\u00F6lge yok"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('tt.advhr_dlg',{
width:"\u5BEC",
size:"\u9577",
noshade:"\u7121\u9670\u5F71"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('tw.advhr_dlg',{
width:"\u5BEC",
size:"\u9577",
noshade:"\u7121\u9670\u5F71"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('uk.advhr_dlg',{
width:"\u0428\u0438\u0440\u0438\u043D\u0430",
size:"\u0412\u0438\u0441\u043E\u0442\u0430",
noshade:"\u0411\u0435\u0437 \u0442\u0456\u043D\u0456"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('vi.advhr_dlg',{
width:"Chi\u1EC1u r\u1ED9ng",
size:"Chi\u1EC1u cao",
noshade:"Kh\u00F4ng \u0111\u1ED5 b\u00F3ng"
});

View File

@@ -1,5 +0,0 @@
tinyMCE.addI18n('zh.advhr_dlg',{
width:"\u5BBD",
size:"\u957F",
noshade:"\u65E0\u9634\u5F71"
});

View File

@@ -7,7 +7,6 @@
<script type="text/javascript" src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script>
<link href="css/advhr.css" rel="stylesheet" type="text/css" />
<base target="_self" />
</head>
<body>
<form onsubmit="AdvHRDialog.update();return false;" action="#">
@@ -22,7 +21,7 @@
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td><label for="width">{#advhr_dlg.width}</label></td>
<td nowrap="nowrap">
<td class="nowrap">
<input id="width" name="width" type="text" value="" class="mceFocus" />
<select name="width2" id="width2">
<option value="">px</option>
@@ -50,13 +49,8 @@
</div>
<div class="mceActionPanel">
<div style="float: left">
<input type="submit" id="insert" name="insert" value="{#insert}" />
</div>
<div style="float: right">
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
</div>
<input type="submit" id="insert" name="insert" value="{#insert}" />
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
</div>
</form>
</body>