more tinymce stuff
This commit is contained in:
parent
5a60010a6f
commit
b19f4cf952
468 changed files with 11635 additions and 0 deletions
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/editor_plugin.js
vendored
Normal file
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/editor_plugin.js
vendored
Normal 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;}
|
||||
47
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/editor_plugin_src.js
vendored
Normal file
47
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/editor_plugin_src.js
vendored
Normal 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;
|
||||
}
|
||||
3
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/es.js
vendored
Normal file
3
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/es.js
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
// Español por matiasl-AR
|
||||
|
||||
tinyMCELang['lang_zoom_prefix'] = 'Aumento de Tamaño';
|
||||
3
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/fr.js
vendored
Normal file
3
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/fr.js
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
// Traduit par Normand Lamoureux le 2005-11-12
|
||||
|
||||
tinyMCELang['lang_zoom_prefix'] = 'Augmenter la taille';
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/he.js
vendored
Normal file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/he.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// HE lang variables by Liron Newman, http://eesh.net
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
zoom_prefix : 'æåí'
|
||||
});
|
||||
10
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/pt_br.js
vendored
Normal file
10
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/pt_br.js
vendored
Normal 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';
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/ru.js
vendored
Normal file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/ru.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// RU cp1251 lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
zoom_prefix : 'ìàñøòàá'
|
||||
});
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/ru_KOI8-R.js
vendored
Normal file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/ru_KOI8-R.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// RU KOI8-R lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
zoom_prefix : 'ÍÁÓÛÔÁÂ'
|
||||
});
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/ru_UTF-8.js
vendored
Normal file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/ru_UTF-8.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// RU UTF-8 lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
zoom_prefix : 'масштаб'
|
||||
});
|
||||
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/zh_tw.js
vendored
Normal file
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/zh_tw.js
vendored
Normal 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 : '放大'
|
||||
});
|
||||
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/zh_tw_utf8.js
vendored
Normal file
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/zh_tw_utf8.js
vendored
Normal 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 : '放大'
|
||||
});
|
||||
1
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/readme.txt
vendored
Normal file
1
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/readme.txt
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
Check the TinyMCE documentation for details on this plugin.
|
||||
Loading…
Add table
Add a link
Reference in a new issue