more tinymce stuff

This commit is contained in:
JT Smith 2005-12-05 15:44:37 +00:00
parent 5a60010a6f
commit b19f4cf952
468 changed files with 11635 additions and 0 deletions

View file

@ -0,0 +1,6 @@
function TinyMCE_zoom_getInfo(){return{longname:'Zoom',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_zoom.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_zoom_getControlHTML(control_name){if(!tinyMCE.isMSIE||tinyMCE.isMSIE5_0||tinyMCE.isOpera)return "";switch(control_name){case "zoom":return '<select id="{$editor_id}_formatSelect" name="{$editor_id}_zoomSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceZoom\',false,this.options[this.selectedIndex].value);" class="mceSelectList">\
<option value="100%">+ 100%</option>\
<option value="150%">+ 150%</option>\
<option value="200%">+ 200%</option>\
<option value="250%">+ 250%</option>\
</select>';}return "";}function TinyMCE_zoom_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceZoom":tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom=value;tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom=value;return true;}return false;}

View file

@ -0,0 +1,47 @@
/* Import plugin specific language pack */
function TinyMCE_zoom_getInfo() {
return {
longname : 'Zoom',
author : 'Moxiecode Systems',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_zoom.html',
version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
};
};
/**
* Returns the HTML contents of the zoom control.
*/
function TinyMCE_zoom_getControlHTML(control_name) {
if (!tinyMCE.isMSIE || tinyMCE.isMSIE5_0 || tinyMCE.isOpera)
return "";
switch (control_name) {
case "zoom":
return '<select id="{$editor_id}_formatSelect" name="{$editor_id}_zoomSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceZoom\',false,this.options[this.selectedIndex].value);" class="mceSelectList">\
<option value="100%">+ 100%</option>\
<option value="150%">+ 150%</option>\
<option value="200%">+ 200%</option>\
<option value="250%">+ 250%</option>\
</select>';
}
return "";
}
/**
* Executes the mceZoom command.
*/
function TinyMCE_zoom_execCommand(editor_id, element, command, user_interface, value) {
// Handle commands
switch (command) {
case "mceZoom":
tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom = value;
tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom = value;
return true;
}
// Pass to next handler in chain
return false;
}

View file

@ -0,0 +1,3 @@
// Español por matiasl-AR
tinyMCELang['lang_zoom_prefix'] = 'Aumento de Tamaño';

View file

@ -0,0 +1,3 @@
// Traduit par Normand Lamoureux le 2005-11-12
tinyMCELang['lang_zoom_prefix'] = 'Augmenter la taille';

View file

@ -0,0 +1,5 @@
// HE lang variables by Liron Newman, http://eesh.net
tinyMCE.addToLang('',{
zoom_prefix : '&#230;&aring;í'
});

View file

@ -0,0 +1,10 @@
/**
* pt_br lang variables
* Brazilian Portuguese
*
* Authors :
* Marcio Barbosa (mpg) <mpg@mpg.com.br>
* Last Updated : November 26, 2005
* TinyMCE Version : 2.0RC4
*/
tinyMCELang['lang_zoom_prefix'] = 'Aumentar de Tamanho';

View file

@ -0,0 +1,5 @@
// RU cp1251 lang variables
tinyMCE.addToLang('',{
zoom_prefix : 'ìàñøòàá'
});

View file

@ -0,0 +1,5 @@
// RU KOI8-R lang variables
tinyMCE.addToLang('',{
zoom_prefix : 'ÍÁÓÛÔÁÂ'
});

View file

@ -0,0 +1,5 @@
// RU UTF-8 lang variables
tinyMCE.addToLang('',{
zoom_prefix : 'масштаб'
});

View file

@ -0,0 +1,6 @@
// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com
// 繁體中文 BIG-5 ;數位應用坊製作; twapweb_AT_gmail_DOT_com
tinyMCE.addToLang('',{
zoom_prefix : '放大'
});

View file

@ -0,0 +1,6 @@
// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com
// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com
tinyMCE.addToLang('',{
zoom_prefix : '放大'
});

View file

@ -0,0 +1 @@
Check the TinyMCE documentation for details on this plugin.