upgrading tinymce to 2.0.5.1
This commit is contained in:
parent
c48e6b98dd
commit
acbf0f01a0
49 changed files with 2705 additions and 0 deletions
23
www/extras/tinymce2/jscripts/tiny_mce/plugins/advhr/css/advhr.css
vendored
Normal file
23
www/extras/tinymce2/jscripts/tiny_mce/plugins/advhr/css/advhr.css
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
input.radio {
|
||||
border: 1px none #000000;
|
||||
background-color: transparent;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.panel_wrapper div.current {
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
#width {
|
||||
width: 50px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#width2 {
|
||||
width: 50px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#size {
|
||||
width: 100px;
|
||||
}
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/autosave/langs/si.js
vendored
Normal file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/autosave/langs/si.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// SI lang variables ISO-8859-2
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
autosave_unload_msg : 'Vaše spremembe se bodo izgubile, če boste naložili drugo stran.'
|
||||
});
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/autosave/langs/tr.js
vendored
Normal file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/autosave/langs/tr.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// TR lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
autosave_unload_msg : 'Başka bir sayfayı görüntülerseniz yaptığınız değişiklikleri kaybedeceksiniz!'
|
||||
});
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/autosave/langs/vi.js
vendored
Executable file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/autosave/langs/vi.js
vendored
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
autosave_unload_msg : 'Các thay đổi của bạn sẽ bị mất nếu bạn di chuyển khỏi trang này.'
|
||||
});
|
||||
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/autosave/langs/zh_cn_utf8.js
vendored
Executable file
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/autosave/langs/zh_cn_utf8.js
vendored
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ).
|
||||
// visit our homepage at: http://www.cube316.net/tinymce/ for more information.
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
autosave_unload_msg : '如果您离开本页,您所作的修改将会消失。'
|
||||
});
|
||||
0
www/extras/tinymce2/jscripts/tiny_mce/plugins/cleanup/editor_plugin.js
vendored
Normal file
0
www/extras/tinymce2/jscripts/tiny_mce/plugins/cleanup/editor_plugin.js
vendored
Normal file
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/cleanup/editor_plugin_src.js
vendored
Normal file
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/cleanup/editor_plugin_src.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* $RCSfile: editor_plugin_src.js,v $
|
||||
* $Revision: 1.10 $
|
||||
* $Date: 2006/02/10 16:29:38 $
|
||||
*
|
||||
* Experimental plugin for new Cleanup routine, this logic will be moved into the core ones it's stable enougth.
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
|
||||
*/
|
||||
|
||||
/* Dummy file since cleanup is now moved to core */
|
||||
1
www/extras/tinymce2/jscripts/tiny_mce/plugins/cleanup/readme.txt
vendored
Normal file
1
www/extras/tinymce2/jscripts/tiny_mce/plugins/cleanup/readme.txt
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
Dummy plugin since cleanup is now moved into core.
|
||||
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/directionality/langs/si.js
vendored
Normal file
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/directionality/langs/si.js
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// SI lang variables ISO-8859-2
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
directionality_ltr_desc : 'Smer od leve proti desni',
|
||||
directionality_rtl_desc : 'Smer od desne proti levi'
|
||||
});
|
||||
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/directionality/langs/tr.js
vendored
Normal file
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/directionality/langs/tr.js
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// TR lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
directionality_ltr_desc : 'Yön soldan saða',
|
||||
directionality_rtl_desc : 'Yön saðdan sola'
|
||||
});
|
||||
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/directionality/langs/vi.js
vendored
Executable file
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/directionality/langs/vi.js
vendored
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
directionality_ltr_desc : 'Hướng trái sang phải',
|
||||
directionality_rtl_desc : 'Hướng phải sang trái'
|
||||
});
|
||||
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/directionality/langs/zh_cn_utf8.js
vendored
Executable file
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/directionality/langs/zh_cn_utf8.js
vendored
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ).
|
||||
// visit our homepage at: http://www.cube316.net/tinymce/ for more information.
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
directionality_ltr_desc : '方向从左往右',
|
||||
directionality_rtl_desc : '方向从右往左'
|
||||
});
|
||||
9
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/blank.htm
vendored
Normal file
9
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/blank.htm
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>blank_page</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
</head>
|
||||
<body onload="parent.setupIframe(document);">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
172
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css
vendored
Normal file
172
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css
vendored
Normal file
|
|
@ -0,0 +1,172 @@
|
|||
/* Hide the advanced tab */
|
||||
#advanced_tab {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright {
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
#doctype, #docencoding {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
#langcode {
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
#bgimage {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
#fontface {
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
#leftmargin, #rightmargin, #topmargin, #bottommargin {
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.panel_wrapper div.current {
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
#stylesheet, #style {
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
/* Head list classes */
|
||||
|
||||
.headlistwrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.addbutton, .removebutton, .moveupbutton, .movedownbutton {
|
||||
border-top: 1px solid;
|
||||
border-left: 1px solid;
|
||||
border-bottom: 1px solid;
|
||||
border-right: 1px solid;
|
||||
border-color: #F0F0EE;
|
||||
cursor: default;
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover {
|
||||
border: 1px solid #0A246A;
|
||||
background-color: #B6BDD2;
|
||||
}
|
||||
|
||||
.addbutton {
|
||||
background-image: url('../images/add.gif');
|
||||
float: left;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.removebutton {
|
||||
background-image: url('../images/remove.gif');
|
||||
float: left;
|
||||
}
|
||||
|
||||
.moveupbutton {
|
||||
background-image: url('../images/move_up.gif');
|
||||
float: left;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.movedownbutton {
|
||||
background-image: url('../images/move_down.gif');
|
||||
float: left;
|
||||
}
|
||||
|
||||
.selected {
|
||||
border: 1px solid #0A246A;
|
||||
background-color: #B6BDD2;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#headlist {
|
||||
width: 100%;
|
||||
margin-top: 3px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#addmenu {
|
||||
position: absolute;
|
||||
border: 1px solid gray;
|
||||
display: none;
|
||||
z-index: 100;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#addmenu a {
|
||||
display: block;
|
||||
width: 100%;
|
||||
line-height: 20px;
|
||||
text-decoration: none;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#addmenu a:hover {
|
||||
background-color: #B6BDD2;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#addmenu span {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#updateElementPanel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#script_element .panel_wrapper div.current {
|
||||
height: 108px;
|
||||
}
|
||||
|
||||
#style_element .panel_wrapper div.current {
|
||||
height: 108px;
|
||||
}
|
||||
|
||||
#link_element .panel_wrapper div.current {
|
||||
height: 140px;
|
||||
}
|
||||
|
||||
#element_script_value {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
#element_comment_value {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
}
|
||||
|
||||
#element_style_value {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.updateElementButton {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
/* MSIE specific styles */
|
||||
|
||||
* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
1
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js
vendored
Normal file
1
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js
vendored
Normal file
File diff suppressed because one or more lines are too long
229
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js
vendored
Normal file
229
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js
vendored
Normal file
|
|
@ -0,0 +1,229 @@
|
|||
/**
|
||||
* $RCSfile: editor_plugin_src.js,v $
|
||||
* $Revision: 1.12 $
|
||||
* $Date: 2006/02/23 16:16:34 $
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
|
||||
*/
|
||||
|
||||
/* Import plugin specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('fullpage', 'en,tr,sv');
|
||||
|
||||
var TinyMCE_FullPagePlugin = {
|
||||
getInfo : function() {
|
||||
return {
|
||||
longname : 'Fullpage',
|
||||
author : 'Moxiecode Systems',
|
||||
authorurl : 'http://tinymce.moxiecode.com',
|
||||
infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullpage.html',
|
||||
version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
|
||||
};
|
||||
},
|
||||
|
||||
getControlHTML : function(cn) {
|
||||
switch (cn) {
|
||||
case "fullpage":
|
||||
return tinyMCE.getButtonHTML(cn, 'lang_fullpage_desc', '{$pluginurl}/images/fullpage.gif', 'mceFullPageProperties');
|
||||
}
|
||||
|
||||
return "";
|
||||
},
|
||||
|
||||
execCommand : function(editor_id, element, command, user_interface, value) {
|
||||
// Handle commands
|
||||
switch (command) {
|
||||
case "mceFullPageProperties":
|
||||
var template = new Array();
|
||||
|
||||
template['file'] = '../../plugins/fullpage/fullpage.htm';
|
||||
template['width'] = 430;
|
||||
template['height'] = 485 + (tinyMCE.isOpera ? 5 : 0);
|
||||
|
||||
template['width'] += tinyMCE.getLang('lang_fullpage_delta_width', 0);
|
||||
template['height'] += tinyMCE.getLang('lang_fullpage_delta_height', 0);
|
||||
|
||||
tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});
|
||||
return true;
|
||||
|
||||
case "mceFullPageUpdate":
|
||||
TinyMCE_FullPagePlugin._addToHead(tinyMCE.getInstanceById(editor_id));
|
||||
return true;
|
||||
}
|
||||
|
||||
// Pass to next handler in chain
|
||||
return false;
|
||||
},
|
||||
|
||||
cleanup : function(type, content, inst) {
|
||||
switch (type) {
|
||||
case "insert_to_editor":
|
||||
var tmp = content.toLowerCase();
|
||||
var pos = tmp.indexOf('<body'), pos2;
|
||||
|
||||
// Split page in header and body chunks
|
||||
if (pos != -1) {
|
||||
pos = tmp.indexOf('>', pos);
|
||||
pos2 = tmp.lastIndexOf('</body>');
|
||||
inst.fullpageTopContent = content.substring(0, pos + 1);
|
||||
content = content.substring(pos + 1, pos2);
|
||||
// tinyMCE.debug(inst.fullpageTopContent, content);
|
||||
} else {
|
||||
if (!inst.fullpageTopContent) {
|
||||
var docType = tinyMCE.getParam("fullpage_default_doctype", '<!DOCTYPE html PUBLIC "-/'+'/W3C//DTD XHTML 1.0 Transitional/'+'/EN" "http:/'+'/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
|
||||
var enc = tinyMCE.getParam("fullpage_default_encoding", 'utf-8');
|
||||
var title = tinyMCE.getParam("fullpage_default_title", 'Untitled document');
|
||||
var lang = tinyMCE.getParam("fullpage_default_langcode", 'en');
|
||||
var pi = tinyMCE.getParam("fullpage_default_xml_pi", true);
|
||||
var ff = tinyMCE.getParam("fullpage_default_font_family", "");
|
||||
var fz = tinyMCE.getParam("fullpage_default_font_size", "");
|
||||
var ds = tinyMCE.getParam("fullpage_default_style", "");
|
||||
var dtc = tinyMCE.getParam("fullpage_default_text_color", "");
|
||||
|
||||
// Xml encode it
|
||||
title = title.replace(/&/g, '&');
|
||||
title = title.replace(/\"/g, '"');
|
||||
title = title.replace(/</g, '<');
|
||||
title = title.replace(/>/g, '>');
|
||||
|
||||
tmp = '';
|
||||
|
||||
// Make default chunk
|
||||
if (pi)
|
||||
tmp += '<?xml version="1.0" encoding="' + enc + '"?>\n';
|
||||
|
||||
tmp += docType + '\n';
|
||||
tmp += '<html xmlns="http:/'+'/www.w3.org/1999/xhtml" lang="' + lang + '" xml:lang="' + lang + '">\n';
|
||||
tmp += '<head>\n';
|
||||
tmp += '\t<title>' + title + '</title>\n';
|
||||
tmp += '\t<meta http-equiv="Content-Type" content="text/html; charset=' + enc + '" />\n';
|
||||
tmp += '</head>\n';
|
||||
tmp += '<body';
|
||||
|
||||
if (ff != '' || fz != '') {
|
||||
tmp += ' style="';
|
||||
|
||||
if (ds != '')
|
||||
tmp += ds + ";";
|
||||
|
||||
if (ff != '')
|
||||
tmp += 'font-family: ' + ff + ";";
|
||||
|
||||
if (fz != '')
|
||||
tmp += 'font-size: ' + fz + ";";
|
||||
|
||||
tmp += '"';
|
||||
}
|
||||
|
||||
if (dtc != '')
|
||||
tmp += ' text="' + dtc + '"';
|
||||
|
||||
tmp += '>\n';
|
||||
|
||||
inst.fullpageTopContent = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
this._addToHead(inst);
|
||||
|
||||
break;
|
||||
|
||||
case "get_from_editor":
|
||||
if (inst.fullpageTopContent)
|
||||
content = inst.fullpageTopContent + content + "\n</body>\n</html>";
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
// Pass through to next handler in chain
|
||||
return content;
|
||||
},
|
||||
|
||||
// Private plugin internal methods
|
||||
|
||||
_addToHead : function(inst) {
|
||||
var doc = inst.getDoc();
|
||||
var head = doc.getElementsByTagName("head")[0];
|
||||
var body = doc.body;
|
||||
var h = inst.fullpageTopContent;
|
||||
var e = doc.createElement("body");
|
||||
var nl, i, le, tmp;
|
||||
|
||||
// Remove stuff we don't want
|
||||
h = h.replace(/(\r|\n)/gi, '');
|
||||
h = h.replace(/<\?[^\>]*\>/gi, '');
|
||||
h = h.replace(/<\/?(!DOCTYPE|head|html)[^\>]*\>/gi, '');
|
||||
h = h.replace(/<script(.*?)<\/script>/gi, '');
|
||||
h = h.replace(/<title(.*?)<\/title>/gi, '');
|
||||
h = h.replace(/<(meta|base)[^>]*>/gi, '');
|
||||
|
||||
// Make link and style elements into pre
|
||||
h = h.replace(/<link([^>]*)\/>/gi, '<pre mce_type="link" $1></pre>');
|
||||
//h = h.replace(/<style([^>]*)>(.*?)<\/style>/gi, '<pre mce_type="style" $1>$2</pre>');
|
||||
|
||||
// Make body a div
|
||||
h = h.replace(/<body/gi, '<div mce_type="body"');
|
||||
h += '</div>';
|
||||
|
||||
// Now crapy MSIE can parse it
|
||||
e.innerHTML = h;
|
||||
|
||||
// Reset all body attributes
|
||||
body.vLink = body.aLink = body.link = body.text = '';
|
||||
body.style.cssText = '';
|
||||
|
||||
// Delete all old links
|
||||
nl = head.getElementsByTagName('link');
|
||||
for (i=0; i<nl.length; i++) {
|
||||
if (tinyMCE.getAttrib(nl[i], 'mce_head') == "true")
|
||||
nl[i].parentNode.removeChild(nl[i]);
|
||||
}
|
||||
|
||||
// Add link elements
|
||||
nl = e.getElementsByTagName('pre');
|
||||
for (i=0; i<nl.length; i++) {
|
||||
tmp = tinyMCE.getAttrib(nl[i], 'media');
|
||||
if (tinyMCE.getAttrib(nl[i], 'mce_type') == "link" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(nl[i], 'rel') == "stylesheet") {
|
||||
le = doc.createElement("link");
|
||||
|
||||
le.rel = "stylesheet";
|
||||
le.href = tinyMCE.getAttrib(nl[i], 'href');
|
||||
le.setAttribute("mce_head", "true");
|
||||
|
||||
head.appendChild(le);
|
||||
}
|
||||
}
|
||||
|
||||
// Add body attributes
|
||||
nl = e.getElementsByTagName('div');
|
||||
if (nl.length > 0) {
|
||||
body.style.cssText = tinyMCE.getAttrib(nl[0], 'style');
|
||||
|
||||
if ((tmp = tinyMCE.getAttrib(nl[0], 'leftmargin')) != '' && body.style.marginLeft == '')
|
||||
body.style.marginLeft = tmp + "px";
|
||||
|
||||
if ((tmp = tinyMCE.getAttrib(nl[0], 'rightmargin')) != '' && body.style.marginRight == '')
|
||||
body.style.marginRight = tmp + "px";
|
||||
|
||||
if ((tmp = tinyMCE.getAttrib(nl[0], 'topmargin')) != '' && body.style.marginTop == '')
|
||||
body.style.marginTop = tmp + "px";
|
||||
|
||||
if ((tmp = tinyMCE.getAttrib(nl[0], 'bottommargin')) != '' && body.style.marginBottom == '')
|
||||
body.style.marginBottom = tmp + "px";
|
||||
|
||||
body.dir = tinyMCE.getAttrib(nl[0], 'dir');
|
||||
body.vLink = tinyMCE.getAttrib(nl[0], 'vlink');
|
||||
body.aLink = tinyMCE.getAttrib(nl[0], 'alink');
|
||||
body.link = tinyMCE.getAttrib(nl[0], 'link');
|
||||
body.text = tinyMCE.getAttrib(nl[0], 'text');
|
||||
|
||||
if ((tmp = tinyMCE.getAttrib(nl[0], 'background')) != '')
|
||||
body.style.backgroundImage = tmp;
|
||||
|
||||
if ((tmp = tinyMCE.getAttrib(nl[0], 'bgcolor')) != '')
|
||||
body.style.backgroundColor = tmp;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
tinyMCE.addPlugin("fullpage", TinyMCE_FullPagePlugin);
|
||||
577
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/fullpage.htm
vendored
Normal file
577
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/fullpage.htm
vendored
Normal file
|
|
@ -0,0 +1,577 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$lang_fullpage_title}</title>
|
||||
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="../../utils/mclayer.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="jscripts/fullpage.js"></script>
|
||||
<link href="css/fullpage.css" rel="stylesheet" type="text/css" />
|
||||
<base target="_self" />
|
||||
</head>
|
||||
<body id="advlink" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
|
||||
<form onsubmit="updateAction();return false;" name="fullpage" action="#">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li id="meta_tab" class="current"><span><a href="javascript:mcTabs.displayTab('meta_tab','meta_panel');" onmousedown="return false;">{$lang_fullpage_meta_tab}</a></span></li>
|
||||
<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{$lang_fullpage_appearance_tab}</a></span></li>
|
||||
<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_fullpage_advanced_tab}</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel_wrapper">
|
||||
<div id="meta_panel" class="panel current">
|
||||
<fieldset>
|
||||
<legend>{$lang_fullpage_meta_props}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td nowrap="nowrap"><label for="metatitle">{$lang_fullpage_meta_title}</label> </td>
|
||||
<td><input type="text" id="metatitle" name="metatitle" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><label for="metakeywords">{$lang_fullpage_meta_keywords}</label> </td>
|
||||
<td><textarea id="metakeywords" name="metakeywords" rows="3"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><label for="metadescription">{$lang_fullpage_meta_description}</label> </td>
|
||||
<td><textarea id="metadescription" name="metadescription" rows="3"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><label for="metaauthor">{$lang_fullpage_author}</label> </td>
|
||||
<td><input type="text" id="metaauthor" name="metaauthor" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><label for="metacopyright">{$lang_fullpage_copyright}</label> </td>
|
||||
<td><input type="text" id="metacopyright" name="metacopyright" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><label for="metarobots">{$lang_fullpage_meta_robots}</label> </td>
|
||||
<td>
|
||||
<select id="metarobots" name="metarobots">
|
||||
<option value="">{$lang_not_set}</option>
|
||||
<option value="index,follow">{$lang_fullpage_meta_index_follow}</option>
|
||||
<option value="index,nofollow">{$lang_fullpage_meta_index_nofollow}</option>
|
||||
<option value="noindex,follow">{$lang_fullpage_meta_noindex_follow}</option>
|
||||
<option value="noindex,nofollow">{$lang_fullpage_meta_noindex_nofollow}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{$lang_fullpage_langprops}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="docencoding">{$lang_fullpage_encoding}</label></td>
|
||||
<td>
|
||||
<select id="docencoding" name="docencoding">
|
||||
<option value="">{$lang_not_set}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><label for="doctypes">{$lang_fullpage_doctypes}</label> </td>
|
||||
<td>
|
||||
<select id="doctypes" name="doctypes">
|
||||
<option value="">{$lang_not_set}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><label for="langcode">{$lang_fullpage_langcode}</label> </td>
|
||||
<td><input type="text" id="langcode" name="langcode" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="langdir">{$lang_fullpage_langdir}</label></td>
|
||||
<td>
|
||||
<select id="langdir" name="langdir">
|
||||
<option value="">{$lang_not_set}</option>
|
||||
<option value="ltr">{$lang_fullpage_ltr}</option>
|
||||
<option value="rtl">{$lang_fullpage_rtl}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><label for="xml_pi">{$lang_fullpage_xml_pi}</label> </td>
|
||||
<td><input type="checkbox" id="xml_pi" name="xml_pi" class="checkbox" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div id="appearance_panel" class="panel">
|
||||
<fieldset>
|
||||
<legend>{$lang_fullpage_appearance_textprops}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="fontface">{$lang_fullpage_fontface}</label></td>
|
||||
<td>
|
||||
<select id="fontface" name="fontface" onchange="changedStyleField(this);">
|
||||
<option value="">{$lang_not_set}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label for="fontsize">{$lang_fullpage_fontsize}</label></td>
|
||||
<td>
|
||||
<select id="fontsize" name="fontsize" onchange="changedStyleField(this);">
|
||||
<option value="">{$lang_not_set}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label for="textcolor">{$lang_fullpage_textcolor}</label></td>
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');changedStyleField(this);" /></td>
|
||||
<td id="textcolor_pickcontainer"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{$lang_fullpage_appearance_bgprops}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="bgimage">{$lang_fullpage_bgimage}</label></td>
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="bgimage" name="bgimage" type="text" value="" onchange="changedStyleField(this);" /></td>
|
||||
<td id="bgimage_pickcontainer"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="bgcolor">{$lang_fullpage_bgcolor}</label></td>
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedStyleField(this);" /></td>
|
||||
<td id="bgcolor_pickcontainer"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{$lang_fullpage_appearance_marginprops}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="leftmargin">{$lang_fullpage_left_margin}</label></td>
|
||||
<td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="changedStyleField(this);" /></td>
|
||||
<td class="column1"><label for="rightmargin">{$lang_fullpage_right_margin}</label></td>
|
||||
<td><input id="rightmargin" name="rightmargin" type="text" value="" onchange="changedStyleField(this);" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="topmargin">{$lang_fullpage_top_margin}</label></td>
|
||||
<td><input id="topmargin" name="topmargin" type="text" value="" onchange="changedStyleField(this);" /></td>
|
||||
<td class="column1"><label for="bottommargin">{$lang_fullpage_bottom_margin}</label></td>
|
||||
<td><input id="bottommargin" name="bottommargin" type="text" value="" onchange="changedStyleField(this);" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{$lang_fullpage_appearance_linkprops}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="link_color">{$lang_fullpage_link_color}</label></td>
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');changedStyleField(this);" /></td>
|
||||
<td id="link_color_pickcontainer"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td class="column1"><label for="visited_color">{$lang_fullpage_visited_color}</label></td>
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');changedStyleField(this);" /></td>
|
||||
<td id="visited_color_pickcontainer"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label for="active_color">{$lang_fullpage_active_color}</label></td>
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');changedStyleField(this);" /></td>
|
||||
<td id="active_color_pickcontainer"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
|
||||
<!-- <td class="column1"><label for="hover_color">{$lang_fullpage_hover_color}</label></td>
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="hover_color" name="hover_color" type="text" value="" size="9" onchange="changedStyleField(this);" /></td>
|
||||
<td id="hover_color_pickcontainer"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td> -->
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{$lang_fullpage_appearance_style}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="stylesheet">{$lang_fullpage_stylesheet}</label></td>
|
||||
<td><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="stylesheet" name="stylesheet" type="text" value="" /></td>
|
||||
<td id="stylesheet_browsercontainer"> </td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="style">{$lang_fullpage_style}</label></td>
|
||||
<td><input id="style" name="style" type="text" value="" onchange="changedStyleField(this);" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div id="advanced_panel" class="panel">
|
||||
<div id="addmenu">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr><td><a href="javascript:addHeadElm('title');" onmousedown="return false;"><span>{$lang_fullpage_add_title}</span></a></td></tr>
|
||||
<tr><td><a href="javascript:addHeadElm('meta');" onmousedown="return false;"><span>{$lang_fullpage_add_meta}</span></a></td></tr>
|
||||
<tr><td><a href="javascript:addHeadElm('script');" onmousedown="return false;"><span>{$lang_fullpage_add_script}</span></a></td></tr>
|
||||
<tr><td><a href="javascript:addHeadElm('style');" onmousedown="return false;"><span>{$lang_fullpage_add_style}</span></a></td></tr>
|
||||
<tr><td><a href="javascript:addHeadElm('link');" onmousedown="return false;"><span>{$lang_fullpage_add_link}</span></a></td></tr>
|
||||
<tr><td><a href="javascript:addHeadElm('base');" onmousedown="return false;"><span>{$lang_fullpage_add_base}</span></a></td></tr>
|
||||
<tr><td><a href="javascript:addHeadElm('comment');" onmousedown="return false;"><span>{$lang_fullpage_add_comment}</span></a></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<fieldset>
|
||||
<legend>{$lang_fullpage_head_elements}</legend>
|
||||
|
||||
<div class="headlistwrapper">
|
||||
<div class="toolbar">
|
||||
<div style="float: left">
|
||||
<a id="addbutton" href="javascript:showAddMenu();" onmousedown="return false;" class="addbutton" title="{$lang_fullpage_add}"></a>
|
||||
<a href="#" onmousedown="return false;" class="removebutton" title="{$lang_fullpage_remove}"></a>
|
||||
</div>
|
||||
<div style="float: right">
|
||||
<a href="#" onmousedown="return false;" class="moveupbutton" title="{$lang_fullpage_moveup}"></a>
|
||||
<a href="#" onmousedown="return false;" class="movedownbutton" title="{$lang_fullpage_movedown}"></a>
|
||||
</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
<select id="headlist" size="26" onchange="updateHeadElm(this.options[this.selectedIndex].value);">
|
||||
<option value="title_0"><title>Some title bla bla bla</title></option>
|
||||
<option value="meta_1"><meta name="keywords">Some bla bla bla</meta></option>
|
||||
<option value="meta_2"><meta name="description">Some bla bla bla bla bla bla bla bla bla</meta></option>
|
||||
<option value="script_3"><script language="javascript">...</script></option>
|
||||
<option value="style_4"><style>...</style></option>
|
||||
<option value="base_5"><base href="." /></option>
|
||||
<option value="comment_6"><!-- ... --></option>
|
||||
<option value="link_7"><link href="." /></option>
|
||||
</select>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="meta_element">
|
||||
<legend>{$lang_fullpage_meta_element}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="element_meta_type">{$lang_fullpage_type}</label></td>
|
||||
<td><select id="element_meta_type">
|
||||
<option value="name">name</option>
|
||||
<option value="http-equiv">http-equiv</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_meta_name">{$lang_fullpage_name}</label></td>
|
||||
<td><input id="element_meta_name" name="element_meta_name" type="text" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_meta_content">{$lang_fullpage_content}</label></td>
|
||||
<td><input id="element_meta_content" name="element_meta_content" type="text" value="" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="button" id="meta_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="title_element">
|
||||
<legend>{$lang_fullpage_title_element}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="element_title">{$lang_fullpage_meta_title}</label></td>
|
||||
<td><input id="element_title" name="element_title" type="text" value="" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="button" id="title_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="script_element">
|
||||
<legend>{$lang_fullpage_script_element}</legend>
|
||||
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li id="script_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('script_props_tab','script_props_panel');" onmousedown="return false;">{$lang_fullpage_properties}</a></span></li>
|
||||
<li id="script_value_tab"><span><a href="javascript:mcTabs.displayTab('script_value_tab','script_value_panel');" onmousedown="return false;">{$lang_fullpage_value}</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<br style="clear: both" />
|
||||
|
||||
<div class="panel_wrapper">
|
||||
<div id="script_props_panel" class="panel current">
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="element_script_type">{$lang_fullpage_type}</label></td>
|
||||
<td><select id="element_script_type">
|
||||
<option value="text/javascript">text/javascript</option>
|
||||
<option value="text/jscript">text/jscript</option>
|
||||
<option value="text/vbscript">text/vbscript</option>
|
||||
<option value="text/vbs">text/vbs</option>
|
||||
<option value="text/ecmascript">text/ecmascript</option>
|
||||
<option value="text/xml">text/xml</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_script_src">{$lang_fullpage_src}</label></td>
|
||||
<td><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="element_script_src" name="element_script_src" type="text" value="" /></td>
|
||||
<td id="script_src_pickcontainer"> </td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_script_charset">{$lang_fullpage_charset}</label></td>
|
||||
<td><select id="element_script_charset"><option value="">{$lang_not_set}</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_script_defer">{$lang_fullpage_defer}</label></td>
|
||||
<td><input type="checkbox" id="element_script_defer" name="element_script_defer" class="checkbox" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="script_value_panel" class="panel">
|
||||
<textarea id="element_script_value"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="button" id="script_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="style_element">
|
||||
<legend>{$lang_fullpage_style_element}</legend>
|
||||
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li id="style_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('style_props_tab','style_props_panel');" onmousedown="return false;">{$lang_fullpage_properties}</a></span></li>
|
||||
<li id="style_value_tab"><span><a href="javascript:mcTabs.displayTab('style_value_tab','style_value_panel');" onmousedown="return false;">{$lang_fullpage_value}</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<br style="clear: both" />
|
||||
|
||||
<div class="panel_wrapper">
|
||||
<div id="style_props_panel" class="panel current">
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="element_style_type">{$lang_fullpage_type}</label></td>
|
||||
<td><select id="element_style_type">
|
||||
<option value="text/css">text/css</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_style_media">{$lang_fullpage_media}</label></td>
|
||||
<td><select id="element_style_media"></select></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="style_value_panel" class="panel">
|
||||
<textarea id="element_style_value"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="button" id="style_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="base_element">
|
||||
<legend>{$lang_fullpage_base_element}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="element_base_href">{$lang_fullpage_href}</label></td>
|
||||
<td><input id="element_base_href" name="element_base_href" type="text" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_base_target">{$lang_fullpage_target}</label></td>
|
||||
<td><input id="element_base_target" name="element_base_target" type="text" value="" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="button" id="base_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="link_element">
|
||||
<legend>{$lang_fullpage_link_element}</legend>
|
||||
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li id="link_general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('link_general_tab','link_general_panel');" onmousedown="return false;">{$lang_fullpage_general_props}</a></span></li>
|
||||
<li id="link_advanced_tab"><span><a href="javascript:mcTabs.displayTab('link_advanced_tab','link_advanced_panel');" onmousedown="return false;">{$lang_fullpage_advanced_props}</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<br style="clear: both" />
|
||||
|
||||
<div class="panel_wrapper">
|
||||
<div id="link_general_panel" class="panel current">
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="element_link_href">{$lang_fullpage_href}</label></td>
|
||||
<td><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="element_link_href" name="element_link_href" type="text" value="" /></td>
|
||||
<td id="link_href_pickcontainer"> </td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_link_title">{$lang_fullpage_meta_title}</label></td>
|
||||
<td><input id="element_link_title" name="element_link_title" type="text" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_link_type">{$lang_fullpage_type}</label></td>
|
||||
<td><select id="element_link_type" name="element_link_type">
|
||||
<option value="text/css">text/css</option>
|
||||
<option value="text/javascript">text/javascript</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_link_media">{$lang_fullpage_media}</label></td>
|
||||
<td><select id="element_link_media" name="element_link_media"></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="element_style_rel">{$lang_fullpage_rel}</label></td>
|
||||
<td><select id="element_style_rel" name="element_style_rel">
|
||||
<option value="">{$lang_not_set}</option>
|
||||
<option value="stylesheet">Stylesheet</option>
|
||||
<option value="alternate">Alternate</option>
|
||||
<option value="designates">Designates</option>
|
||||
<option value="start">Start</option>
|
||||
<option value="next">Next</option>
|
||||
<option value="prev">Prev</option>
|
||||
<option value="contents">Contents</option>
|
||||
<option value="index">Index</option>
|
||||
<option value="glossary">Glossary</option>
|
||||
<option value="copyright">Copyright</option>
|
||||
<option value="chapter">Chapter</option>
|
||||
<option value="subsection">Subsection</option>
|
||||
<option value="appendix">Appendix</option>
|
||||
<option value="help">Help</option>
|
||||
<option value="bookmark">Bookmark</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="link_advanced_panel" class="panel">
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label for="element_link_charset">{$lang_fullpage_charset}</label></td>
|
||||
<td><select id="element_link_charset"><option value="">{$lang_not_set}</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_link_hreflang">{$lang_fullpage_hreflang}</label></td>
|
||||
<td><input id="element_link_hreflang" name="element_link_hreflang" type="text" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label for="element_link_target">{$lang_fullpage_target}</label></td>
|
||||
<td><input id="element_link_target" name="element_link_target" type="text" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="element_style_rev">{$lang_fullpage_rev}</label></td>
|
||||
<td><select id="element_style_rev" name="element_style_rev">
|
||||
<option value="">{$lang_not_set}</option>
|
||||
<option value="alternate">Alternate</option>
|
||||
<option value="designates">Designates</option>
|
||||
<option value="stylesheet">Stylesheet</option>
|
||||
<option value="start">Start</option>
|
||||
<option value="next">Next</option>
|
||||
<option value="prev">Prev</option>
|
||||
<option value="contents">Contents</option>
|
||||
<option value="index">Index</option>
|
||||
<option value="glossary">Glossary</option>
|
||||
<option value="copyright">Copyright</option>
|
||||
<option value="chapter">Chapter</option>
|
||||
<option value="subsection">Subsection</option>
|
||||
<option value="appendix">Appendix</option>
|
||||
<option value="help">Help</option>
|
||||
<option value="bookmark">Bookmark</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="button" id="link_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="comment_element">
|
||||
<legend>{$lang_fullpage_comment_element}</legend>
|
||||
|
||||
<textarea id="element_comment_value"></textarea>
|
||||
|
||||
<input type="button" id="comment_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mceActionPanel">
|
||||
<div style="float: left">
|
||||
<input type="button" id="insert" name="update" value="{$lang_update}" onclick="updateAction();" />
|
||||
</div>
|
||||
|
||||
<div style="float: right">
|
||||
<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/add.gif
vendored
Normal file
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/add.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 893 B |
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/fullpage.gif
vendored
Normal file
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/fullpage.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 632 B |
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/move_down.gif
vendored
Normal file
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/move_down.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 194 B |
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/move_up.gif
vendored
Normal file
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/move_up.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 200 B |
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/remove.gif
vendored
Normal file
BIN
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/images/remove.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 180 B |
580
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/jscripts/fullpage.js
vendored
Normal file
580
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/jscripts/fullpage.js
vendored
Normal file
|
|
@ -0,0 +1,580 @@
|
|||
//
|
||||
|
||||
var defaultDocTypes =
|
||||
'XHTML 1.0 Transitional=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">,' +
|
||||
'XHTML 1.0 Frameset=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">,' +
|
||||
'XHTML 1.0 Strict=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">,' +
|
||||
'XHTML 1.1=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">">,' +
|
||||
'HTML 4.01 Transitional=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">,' +
|
||||
'HTML 4.01 Strict=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">,' +
|
||||
'HTML 4.01 Frameset=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">';
|
||||
|
||||
var defaultEncodings =
|
||||
'Western european (iso-8859-1)=iso-8859-1,' +
|
||||
'Central European (iso-8859-2)=iso-8859-2,' +
|
||||
'Unicode (UTF-8)=utf-8,' +
|
||||
'Chinese traditional (Big5)=big5,' +
|
||||
'Cyrillic (iso-8859-5)=iso-8859-5,' +
|
||||
'Japanese (iso-2022-jp)=iso-2022-jp,' +
|
||||
'Greek (iso-8859-7)=iso-8859-7,' +
|
||||
'Korean (iso-2022-kr)=iso-2022-kr,' +
|
||||
'ASCII (us-ascii)=us-ascii';
|
||||
|
||||
var defaultMediaTypes =
|
||||
'all=all,' +
|
||||
'screen=screen,' +
|
||||
'print=print,' +
|
||||
'tty=tty,' +
|
||||
'tv=tv,' +
|
||||
'projection=projection,' +
|
||||
'handheld=handheld,' +
|
||||
'braille=braille,' +
|
||||
'aural=aural';
|
||||
|
||||
var defaultFontNames = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings';
|
||||
var defaultFontSizes = '10px,11px,12px,13px,14px,15px,16px';
|
||||
|
||||
var addMenuLayer = new MCLayer("addmenu");
|
||||
var lastElementType = null;
|
||||
var topDoc;
|
||||
|
||||
function init() {
|
||||
var f = document.forms['fullpage'];
|
||||
var i, p, doctypes, encodings, mediaTypes, fonts;
|
||||
var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
|
||||
|
||||
// Setup doctype select box
|
||||
doctypes = tinyMCE.getParam("fullpage_doctypes", defaultDocTypes).split(',');
|
||||
for (i=0; i<doctypes.length; i++) {
|
||||
p = doctypes[i].split('=');
|
||||
|
||||
if (p.length > 1)
|
||||
addSelectValue(f, 'doctypes', p[0], p[1]);
|
||||
}
|
||||
|
||||
// Setup fonts select box
|
||||
fonts = tinyMCE.getParam("fullpage_fonts", defaultFontNames).split(';');
|
||||
for (i=0; i<fonts.length; i++) {
|
||||
p = fonts[i].split('=');
|
||||
|
||||
if (p.length > 1)
|
||||
addSelectValue(f, 'fontface', p[0], p[1]);
|
||||
}
|
||||
|
||||
// Setup fontsize select box
|
||||
fonts = tinyMCE.getParam("fullpage_fontsizes", defaultFontSizes).split(',');
|
||||
for (i=0; i<fonts.length; i++)
|
||||
addSelectValue(f, 'fontsize', fonts[i], fonts[i]);
|
||||
|
||||
// Setup mediatype select boxs
|
||||
mediaTypes = tinyMCE.getParam("fullpage_media_types", defaultMediaTypes).split(',');
|
||||
for (i=0; i<mediaTypes.length; i++) {
|
||||
p = mediaTypes[i].split('=');
|
||||
|
||||
if (p.length > 1) {
|
||||
addSelectValue(f, 'element_style_media', p[0], p[1]);
|
||||
addSelectValue(f, 'element_link_media', p[0], p[1]);
|
||||
}
|
||||
}
|
||||
|
||||
// Setup encodings select box
|
||||
encodings = tinyMCE.getParam("fullpage_encodings", defaultEncodings).split(',');
|
||||
for (i=0; i<encodings.length; i++) {
|
||||
p = encodings[i].split('=');
|
||||
|
||||
if (p.length > 1) {
|
||||
addSelectValue(f, 'docencoding', p[0], p[1]);
|
||||
addSelectValue(f, 'element_script_charset', p[0], p[1]);
|
||||
addSelectValue(f, 'element_link_charset', p[0], p[1]);
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
|
||||
document.getElementById('link_color_pickcontainer').innerHTML = getColorPickerHTML('link_color_pick','link_color');
|
||||
//document.getElementById('hover_color_pickcontainer').innerHTML = getColorPickerHTML('hover_color_pick','hover_color');
|
||||
document.getElementById('visited_color_pickcontainer').innerHTML = getColorPickerHTML('visited_color_pick','visited_color');
|
||||
document.getElementById('active_color_pickcontainer').innerHTML = getColorPickerHTML('active_color_pick','active_color');
|
||||
document.getElementById('textcolor_pickcontainer').innerHTML = getColorPickerHTML('textcolor_pick','textcolor');
|
||||
document.getElementById('stylesheet_browsercontainer').innerHTML = getBrowserHTML('stylesheetbrowser','stylesheet','file','fullpage');
|
||||
document.getElementById('link_href_pickcontainer').innerHTML = getBrowserHTML('link_href_browser','element_link_href','file','fullpage');
|
||||
document.getElementById('script_src_pickcontainer').innerHTML = getBrowserHTML('script_src_browser','element_script_src','file','fullpage');
|
||||
document.getElementById('bgimage_pickcontainer').innerHTML = getBrowserHTML('bgimage_browser','bgimage','image','fullpage');
|
||||
|
||||
// Resize some elements
|
||||
if (isVisible('stylesheetbrowser'))
|
||||
document.getElementById('stylesheet').style.width = '220px';
|
||||
|
||||
if (isVisible('link_href_browser'))
|
||||
document.getElementById('element_link_href').style.width = '230px';
|
||||
|
||||
if (isVisible('bgimage_browser'))
|
||||
document.getElementById('bgimage').style.width = '210px';
|
||||
|
||||
// Create iframe
|
||||
var iframe = document.createElement('iframe');
|
||||
|
||||
iframe.id = 'tempFrame';
|
||||
iframe.style.display = 'none';
|
||||
iframe.src = tinyMCE.baseURL + "/plugins/fullpage/blank.htm";
|
||||
|
||||
document.body.appendChild(iframe);
|
||||
|
||||
tinyMCEPopup.resizeToInnerSize();
|
||||
}
|
||||
|
||||
function setupIframe(doc) {
|
||||
var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
|
||||
var hc = inst.fullpageTopContent;
|
||||
var f = document.forms[0];
|
||||
var xmlVer, xmlEnc, docType;
|
||||
var nodes, i, x, name, value, tmp, l;
|
||||
|
||||
// Keep it from not loading/executing stuff
|
||||
hc = hc.replace(/<script>/gi, '<script type="text/javascript">');
|
||||
hc = hc.replace(/\ssrc=/gi, " mce_src=");
|
||||
hc = hc.replace(/\shref=/gi, " mce_href=");
|
||||
hc = hc.replace(/\stype=/gi, " mce_type=");
|
||||
hc = hc.replace(/<script/gi, '<script type="text/unknown" ');
|
||||
|
||||
// Add end to make it DOM parseable
|
||||
hc += '</body></html>';
|
||||
|
||||
topDoc = doc;
|
||||
doc.open();
|
||||
doc.write(hc);
|
||||
doc.close();
|
||||
|
||||
// ------- Setup options for genral tab
|
||||
|
||||
// Parse xml and doctype
|
||||
xmlVer = getReItem(/<\?\s*?xml.*?version\s*?=\s*?"(.*?)".*?\?>/gi, hc, 1);
|
||||
xmlEnc = getReItem(/<\?\s*?xml.*?encoding\s*?=\s*?"(.*?)".*?\?>/gi, hc, 1);
|
||||
docType = getReItem(/<\!DOCTYPE.*?>/gi, hc, 0);
|
||||
f.langcode.value = getReItem(/lang="(.*?)"/gi, hc, 1);
|
||||
|
||||
// Get title
|
||||
f.metatitle.value = tinyMCE.entityDecode(getReItem(/<title>(.*?)<\/title>/gi, hc, 1));
|
||||
|
||||
// Check for meta encoding
|
||||
nodes = doc.getElementsByTagName("meta");
|
||||
for (i=0; i<nodes.length; i++) {
|
||||
name = tinyMCE.getAttrib(nodes[i], 'name');
|
||||
value = tinyMCE.getAttrib(nodes[i], 'content');
|
||||
httpEquiv = tinyMCE.getAttrib(nodes[i], 'httpEquiv');
|
||||
|
||||
switch (name.toLowerCase()) {
|
||||
case "keywords":
|
||||
f.metakeywords.value = value;
|
||||
break;
|
||||
|
||||
case "description":
|
||||
f.metadescription.value = value;
|
||||
break;
|
||||
|
||||
case "author":
|
||||
f.metaauthor.value = value;
|
||||
break;
|
||||
|
||||
case "copyright":
|
||||
f.metacopyright.value = value;
|
||||
break;
|
||||
|
||||
case "robots":
|
||||
selectByValue(f, 'metarobots', value, true, true);
|
||||
break;
|
||||
}
|
||||
|
||||
switch (httpEquiv.toLowerCase()) {
|
||||
case "content-type":
|
||||
tmp = getReItem(/charset\s*=\s*(.*)\s*/gi, value, 1);
|
||||
|
||||
// Override XML encoding
|
||||
if (tmp != "")
|
||||
xmlEnc = tmp;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
selectByValue(f, 'doctypes', docType, true, true);
|
||||
selectByValue(f, 'docencoding', xmlEnc, true, true);
|
||||
selectByValue(f, 'langdir', tinyMCE.getAttrib(doc.body, 'dir'), true, true);
|
||||
|
||||
if (xmlVer != '')
|
||||
f.xml_pi.checked = true;
|
||||
|
||||
// ------- Setup options for appearance tab
|
||||
|
||||
// Get primary stylesheet
|
||||
nodes = doc.getElementsByTagName("link");
|
||||
for (i=0; i<nodes.length; i++) {
|
||||
l = nodes[i];
|
||||
tmp = tinyMCE.getAttrib(l, 'media');
|
||||
|
||||
if (tinyMCE.getAttrib(l, 'mce_type') == "text/css" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(l, 'rel') == "stylesheet") {
|
||||
f.stylesheet.value = tinyMCE.getAttrib(l, 'mce_href');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Get from style elements
|
||||
nodes = doc.getElementsByTagName("style");
|
||||
for (i=0; i<nodes.length; i++) {
|
||||
tmp = parseStyleElement(nodes[i]);
|
||||
|
||||
for (x=0; x<tmp.length; x++) {
|
||||
// if (tmp[x].rule.indexOf('a:hover') != -1 && tmp[x].data['color'])
|
||||
// f.hover_color.value = tmp[x].data['color'];
|
||||
|
||||
if (tmp[x].rule.indexOf('a:visited') != -1 && tmp[x].data['color'])
|
||||
f.visited_color.value = tmp[x].data['color'];
|
||||
|
||||
if (tmp[x].rule.indexOf('a:link') != -1 && tmp[x].data['color'])
|
||||
f.link_color.value = tmp[x].data['color'];
|
||||
|
||||
if (tmp[x].rule.indexOf('a:active') != -1 && tmp[x].data['color'])
|
||||
f.active_color.value = tmp[x].data['color'];
|
||||
}
|
||||
}
|
||||
|
||||
// Get from body attribs
|
||||
|
||||
/* f.leftmargin.value = tinyMCE.getAttrib(doc.body, "leftmargin");
|
||||
f.rightmargin.value = tinyMCE.getAttrib(doc.body, "rightmargin");
|
||||
f.topmargin.value = tinyMCE.getAttrib(doc.body, "topmargin");
|
||||
f.bottommargin.value = tinyMCE.getAttrib(doc.body, "bottommargin");*/
|
||||
f.textcolor.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "text"));
|
||||
f.active_color.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "alink"));
|
||||
f.link_color.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "link"));
|
||||
f.visited_color.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "vlink"));
|
||||
f.bgcolor.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "bgcolor"));
|
||||
f.bgimage.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "background"));
|
||||
|
||||
// Get from style info
|
||||
var style = tinyMCE.parseStyle(tinyMCE.getAttrib(doc.body, 'style'));
|
||||
|
||||
if (style['font-family'])
|
||||
selectByValue(f, 'fontface', style['font-family'], true, true);
|
||||
else
|
||||
selectByValue(f, 'fontface', tinyMCE.getParam("fullpage_default_fontface", ""), true, true);
|
||||
|
||||
if (style['font-size'])
|
||||
selectByValue(f, 'fontsize', style['font-size'], true, true);
|
||||
else
|
||||
selectByValue(f, 'fontsize', tinyMCE.getParam("fullpage_default_fontsize", ""), true, true);
|
||||
|
||||
if (style['color'])
|
||||
f.textcolor.value = convertRGBToHex(style['color']);
|
||||
|
||||
if (style['background-image'])
|
||||
f.bgimage.value = style['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
|
||||
|
||||
if (style['background-color'])
|
||||
f.bgcolor.value = convertRGBToHex(style['background-color']);
|
||||
|
||||
if (style['margin']) {
|
||||
tmp = style['margin'].replace(/[^0-9 ]/g, '');
|
||||
tmp = tmp.split(/ +/);
|
||||
f.topmargin.value = tmp.length > 0 ? tmp[0] : '';
|
||||
f.rightmargin.value = tmp.length > 1 ? tmp[1] : tmp[0];
|
||||
f.bottommargin.value = tmp.length > 2 ? tmp[2] : tmp[0];
|
||||
f.leftmargin.value = tmp.length > 3 ? tmp[3] : tmp[0];
|
||||
}
|
||||
|
||||
if (style['margin-left'])
|
||||
f.leftmargin.value = style['margin-left'].replace(/[^0-9]/g, '');
|
||||
|
||||
if (style['margin-right'])
|
||||
f.rightmargin.value = style['margin-right'].replace(/[^0-9]/g, '');
|
||||
|
||||
if (style['margin-top'])
|
||||
f.topmargin.value = style['margin-top'].replace(/[^0-9]/g, '');
|
||||
|
||||
if (style['margin-bottom'])
|
||||
f.bottommargin.value = style['margin-bottom'].replace(/[^0-9]/g, '');
|
||||
|
||||
f.style.value = tinyMCE.serializeStyle(style);
|
||||
|
||||
updateColor('textcolor_pick', 'textcolor');
|
||||
updateColor('bgcolor_pick', 'bgcolor');
|
||||
updateColor('visited_color_pick', 'visited_color');
|
||||
updateColor('active_color_pick', 'active_color');
|
||||
updateColor('link_color_pick', 'link_color');
|
||||
//updateColor('hover_color_pick', 'hover_color');
|
||||
}
|
||||
|
||||
function updateAction() {
|
||||
var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
|
||||
var f = document.forms[0];
|
||||
var nl, i, h, v, s, head, html, l, tmp, addlink = true;
|
||||
|
||||
head = topDoc.getElementsByTagName('head')[0];
|
||||
|
||||
// Fix scripts without a type
|
||||
nl = topDoc.getElementsByTagName('script');
|
||||
for (i=0; i<nl.length; i++) {
|
||||
if (tinyMCE.getAttrib(nl[i], 'mce_type') == '')
|
||||
nl[i].setAttribute('mce_type', 'text/javascript');
|
||||
}
|
||||
|
||||
// Get primary stylesheet
|
||||
nl = topDoc.getElementsByTagName("link");
|
||||
for (i=0; i<nl.length; i++) {
|
||||
l = nl[i];
|
||||
|
||||
tmp = tinyMCE.getAttrib(l, 'media');
|
||||
|
||||
if (tinyMCE.getAttrib(l, 'mce_type') == "text/css" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(l, 'rel') == "stylesheet") {
|
||||
addlink = false;
|
||||
|
||||
if (f.stylesheet.value == '')
|
||||
l.parentNode.removeChild(l);
|
||||
else
|
||||
l.setAttribute('mce_href', f.stylesheet.value);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Add new link
|
||||
if (f.stylesheet.value != '') {
|
||||
l = topDoc.createElement('link');
|
||||
|
||||
l.setAttribute('mce_type', 'text/css');
|
||||
l.setAttribute('mce_href', f.stylesheet.value);
|
||||
l.setAttribute('rel', 'stylesheet');
|
||||
|
||||
head.appendChild(l);
|
||||
}
|
||||
|
||||
setMeta(head, 'keywords', f.metakeywords.value);
|
||||
setMeta(head, 'description', f.metadescription.value);
|
||||
setMeta(head, 'author', f.metaauthor.value);
|
||||
setMeta(head, 'copyright', f.metacopyright.value);
|
||||
setMeta(head, 'robots', getSelectValue(f, 'metarobots'));
|
||||
setMeta(head, 'Content-Type', getSelectValue(f, 'docencoding'));
|
||||
|
||||
topDoc.body.dir = getSelectValue(f, 'langdir');
|
||||
topDoc.body.style.cssText = f.style.value;
|
||||
|
||||
topDoc.body.setAttribute('vLink', f.visited_color.value);
|
||||
topDoc.body.setAttribute('link', f.link_color.value);
|
||||
topDoc.body.setAttribute('text', f.textcolor.value);
|
||||
topDoc.body.setAttribute('aLink', f.active_color.value);
|
||||
|
||||
topDoc.body.style.fontFamily = getSelectValue(f, 'fontface');
|
||||
topDoc.body.style.fontSize = getSelectValue(f, 'fontsize');
|
||||
topDoc.body.style.backgroundColor = f.bgcolor.value;
|
||||
|
||||
if (f.leftmargin.value != '')
|
||||
topDoc.body.style.marginLeft = f.leftmargin.value + 'px';
|
||||
|
||||
if (f.rightmargin.value != '')
|
||||
topDoc.body.style.marginRight = f.rightmargin.value + 'px';
|
||||
|
||||
if (f.bottommargin.value != '')
|
||||
topDoc.body.style.marginBottom = f.bottommargin.value + 'px';
|
||||
|
||||
if (f.topmargin.value != '')
|
||||
topDoc.body.style.marginTop = f.topmargin.value + 'px';
|
||||
|
||||
html = topDoc.getElementsByTagName('html')[0];
|
||||
html.setAttribute('lang', f.langcode.value);
|
||||
html.setAttribute('xml:lang', f.langcode.value);
|
||||
|
||||
if (f.bgimage.value != '')
|
||||
topDoc.body.style.backgroundImage = "url('" + f.bgimage.value + "')";
|
||||
else
|
||||
topDoc.body.style.backgroundImage = '';
|
||||
|
||||
inst.cleanup.addRuleStr('-title,meta[http-equiv|name|content],base[href|target],link[href|rel|type|title|media],style[type],script[type|language|src],html[lang|xml:lang|xmlns],body[style|dir|vlink|link|text|alink],head');
|
||||
|
||||
h = inst.cleanup.serializeNodeAsHTML(topDoc.documentElement);
|
||||
|
||||
h = h.substring(0, h.lastIndexOf('</body>'));
|
||||
|
||||
if (h.indexOf('<title>') == -1)
|
||||
h = h.replace(/<head.*?>/, '$&\n' + '<title>' + inst.cleanup.xmlEncode(f.metatitle.value) + '</title>');
|
||||
else
|
||||
h = h.replace(/<title>(.*?)<\/title>/, '<title>' + inst.cleanup.xmlEncode(f.metatitle.value) + '</title>');
|
||||
|
||||
if ((v = getSelectValue(f, 'doctypes')) != '')
|
||||
h = v + '\n' + h;
|
||||
|
||||
if (f.xml_pi.checked) {
|
||||
s = '<?xml version="1.0"';
|
||||
|
||||
if ((v = getSelectValue(f, 'docencoding')) != '')
|
||||
s += ' encoding="' + v + '"';
|
||||
|
||||
s += '?>\n';
|
||||
h = s + h;
|
||||
}
|
||||
|
||||
inst.fullpageTopContent = h;
|
||||
|
||||
tinyMCEPopup.execCommand('mceFullPageUpdate', false, '');
|
||||
tinyMCEPopup.close();
|
||||
}
|
||||
|
||||
function setMeta(he, k, v) {
|
||||
var nl, i, m;
|
||||
|
||||
nl = he.getElementsByTagName('meta');
|
||||
for (i=0; i<nl.length; i++) {
|
||||
if (k == 'Content-Type' && tinyMCE.getAttrib(nl[i], 'http-equiv') == k) {
|
||||
if (v == '')
|
||||
nl[i].parentNode.removeChild(nl[i]);
|
||||
else
|
||||
nl[i].setAttribute('content', "text/html; charset=" + v);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (tinyMCE.getAttrib(nl[i], 'name') == k) {
|
||||
if (v == '')
|
||||
nl[i].parentNode.removeChild(nl[i]);
|
||||
else
|
||||
nl[i].setAttribute('content', v);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (v == '')
|
||||
return;
|
||||
|
||||
m = topDoc.createElement('meta');
|
||||
|
||||
if (k == 'Content-Type')
|
||||
m.httpEquiv = k;
|
||||
else
|
||||
m.setAttribute('name', k);
|
||||
|
||||
m.setAttribute('content', v);
|
||||
he.appendChild(m);
|
||||
}
|
||||
|
||||
function parseStyleElement(e) {
|
||||
var v = e.innerHTML;
|
||||
var p, i, r;
|
||||
|
||||
v = v.replace(/<!--/gi, '');
|
||||
v = v.replace(/-->/gi, '');
|
||||
v = v.replace(/[\n\r]/gi, '');
|
||||
v = v.replace(/\s+/gi, ' ');
|
||||
|
||||
r = new Array();
|
||||
p = v.split(/{|}/);
|
||||
|
||||
for (i=0; i<p.length; i+=2) {
|
||||
if (p[i] != "")
|
||||
r[r.length] = {rule : tinyMCE.trim(p[i]), data : tinyMCE.parseStyle(p[i+1])};
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
function serializeStyleElement(d) {
|
||||
var i, s, st;
|
||||
|
||||
s = '<!--\n';
|
||||
|
||||
for (i=0; i<d.length; i++) {
|
||||
s += d[i].rule + ' {\n';
|
||||
|
||||
st = tinyMCE.serializeStyle(d[i].data);
|
||||
|
||||
if (st != '')
|
||||
st += ';';
|
||||
|
||||
s += st.replace(/;/g, ';\n');
|
||||
s += '}\n';
|
||||
|
||||
if (i != d.length - 1)
|
||||
s += '\n';
|
||||
}
|
||||
|
||||
s += '\n-->';
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
function getReItem(r, s, i) {
|
||||
var c = r.exec(s);
|
||||
|
||||
if (c && c.length > i)
|
||||
return c[i];
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
function changedStyleField(field) {
|
||||
//alert(field.id);
|
||||
}
|
||||
|
||||
function showAddMenu() {
|
||||
var re = document.getElementById('addbutton');
|
||||
|
||||
addMenuLayer.moveRelativeTo(re, 'tr');
|
||||
if (addMenuLayer.isMSIE)
|
||||
addMenuLayer.moveBy(2, 0);
|
||||
|
||||
addMenuLayer.show();
|
||||
addMenuLayer.setAutoHide(true, hideAddMenu);
|
||||
addMenuLayer.addCSSClass(re, 'selected');
|
||||
}
|
||||
|
||||
function hideAddMenu(l, e, mx, my) {
|
||||
var re = document.getElementById('addbutton');
|
||||
addMenuLayer.removeCSSClass(re, 'selected');
|
||||
}
|
||||
|
||||
function addHeadElm(type) {
|
||||
var le = document.getElementById('headlist');
|
||||
var re = document.getElementById('addbutton');
|
||||
var te = document.getElementById(type + '_element');
|
||||
|
||||
if (lastElementType)
|
||||
lastElementType.style.display = 'none';
|
||||
|
||||
te.style.display = 'block';
|
||||
|
||||
lastElementType = te;
|
||||
|
||||
addMenuLayer.hide();
|
||||
addMenuLayer.removeCSSClass(re, 'selected');
|
||||
|
||||
document.getElementById(type + '_updateelement').value = tinyMCE.getLang('lang_insert', 'Insert', true);
|
||||
|
||||
le.size = 10;
|
||||
}
|
||||
|
||||
function updateHeadElm(item) {
|
||||
var type = item.substring(0, item.indexOf('_'));
|
||||
var le = document.getElementById('headlist');
|
||||
var re = document.getElementById('addbutton');
|
||||
var te = document.getElementById(type + '_element');
|
||||
|
||||
if (lastElementType)
|
||||
lastElementType.style.display = 'none';
|
||||
|
||||
te.style.display = 'block';
|
||||
|
||||
lastElementType = te;
|
||||
|
||||
addMenuLayer.hide();
|
||||
addMenuLayer.removeCSSClass(re, 'selected');
|
||||
|
||||
document.getElementById(type + '_updateelement').value = tinyMCE.getLang('lang_update', 'Update', true);
|
||||
|
||||
le.size = 10;
|
||||
}
|
||||
|
||||
function cancelElementUpdate() {
|
||||
var le = document.getElementById('headlist');
|
||||
|
||||
if (lastElementType)
|
||||
lastElementType.style.display = 'none';
|
||||
|
||||
le.size = 26;
|
||||
}
|
||||
92
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/langs/en.js
vendored
Normal file
92
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/langs/en.js
vendored
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCE.addToLang('fullpage',{
|
||||
title : 'Document properties',
|
||||
desc : 'Document properties',
|
||||
meta_tab : 'General',
|
||||
appearance_tab : 'Appearance',
|
||||
advanced_tab : 'Advanced',
|
||||
meta_props : 'Meta information',
|
||||
langprops : 'Language and encoding',
|
||||
meta_title : 'Title',
|
||||
meta_keywords : 'Keywords',
|
||||
meta_description : 'Description',
|
||||
meta_robots : 'Robots',
|
||||
doctypes : 'Doctype',
|
||||
langcode : 'Language code',
|
||||
langdir : 'Language direction',
|
||||
ltr : 'Left to right',
|
||||
rtl : 'Right to left',
|
||||
xml_pi : 'XML declaration',
|
||||
encoding : 'Character encoding',
|
||||
appearance_bgprops : 'Background properties',
|
||||
appearance_marginprops : 'Body margins',
|
||||
appearance_linkprops : 'Link colors',
|
||||
appearance_textprops : 'Text properties',
|
||||
bgcolor : 'Background color',
|
||||
bgimage : 'Background image',
|
||||
left_margin : 'Left margin',
|
||||
right_margin : 'Right margin',
|
||||
top_margin : 'Top margin',
|
||||
bottom_margin : 'Bottom margin',
|
||||
text_color : 'Text color',
|
||||
font_size : 'Font size',
|
||||
font_face : 'Font face',
|
||||
link_color : 'Link color',
|
||||
hover_color : 'Hover color',
|
||||
visited_color : 'Visited color',
|
||||
active_color : 'Active color',
|
||||
textcolor : 'Color',
|
||||
fontsize : 'Font size',
|
||||
fontface : 'Font family',
|
||||
meta_index_follow : 'Index and follow the links',
|
||||
meta_index_nofollow : 'Index and don\'t follow the links',
|
||||
meta_noindex_follow : 'Do not index but follow the links',
|
||||
meta_noindex_nofollow : 'Do not index and don\'t follow the links',
|
||||
appearance_style : 'Stylesheet and style properties',
|
||||
stylesheet : 'Stylesheet',
|
||||
style : 'Style',
|
||||
author : 'Author',
|
||||
copyright : 'Copyright',
|
||||
add : 'Add new element',
|
||||
remove : 'Remove selected element',
|
||||
moveup : 'Move selected element up',
|
||||
movedown : 'Move selected element down',
|
||||
head_elements : 'Head elements',
|
||||
info : 'Information',
|
||||
info_text : '',
|
||||
add_title : 'Title element',
|
||||
add_meta : 'Meta element',
|
||||
add_script : 'Script element',
|
||||
add_style : 'Style element',
|
||||
add_link : 'Link element',
|
||||
add_base : 'Base element',
|
||||
add_comment : 'Comment node',
|
||||
title_element : 'Title element',
|
||||
script_element : 'Script element',
|
||||
style_element : 'Style element',
|
||||
base_element : 'Base element',
|
||||
link_element : 'Link element',
|
||||
meta_element : 'Meta element',
|
||||
comment_element : 'Comment',
|
||||
src : 'Src',
|
||||
language : 'Language',
|
||||
href : 'Href',
|
||||
target : 'Target',
|
||||
rel : 'Rel',
|
||||
type : 'Type',
|
||||
charset : 'Charset',
|
||||
defer : 'Defer',
|
||||
media : 'Media',
|
||||
properties : 'Properties',
|
||||
name : 'Name',
|
||||
value : 'Value',
|
||||
content : 'Content',
|
||||
rel : 'Rel',
|
||||
rev : 'Rev',
|
||||
hreflang : 'Href lang',
|
||||
general_props : 'General',
|
||||
advanced_props : 'Advanced',
|
||||
delta_width : 0,
|
||||
delta_height : 0
|
||||
});
|
||||
92
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/langs/vi.js
vendored
Executable file
92
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/langs/vi.js
vendored
Executable file
|
|
@ -0,0 +1,92 @@
|
|||
// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa
|
||||
|
||||
tinyMCE.addToLang('fullpage',{
|
||||
title : 'Thuộc tính văn bản',
|
||||
desc : 'Thuộc tính văn bản',
|
||||
meta_tab : 'Chung',
|
||||
appearance_tab : 'Xuất hiện',
|
||||
advanced_tab : 'Nâng cao',
|
||||
meta_props : 'Thông tin siêu dữ liệu',
|
||||
langprops : 'Ngôn ngữ và bộ mã',
|
||||
meta_title : 'Tiêu đề',
|
||||
meta_keywords : 'Từ khóa',
|
||||
meta_description : 'Mô tả',
|
||||
meta_robots : 'Robots',
|
||||
doctypes : 'Doctype',
|
||||
langcode : 'Mã ngôn ngữ',
|
||||
langdir : 'Hướng ngôn ngữ',
|
||||
ltr : 'Trái sang phải',
|
||||
rtl : 'Phải sang trái',
|
||||
xml_pi : 'Khai báo XML',
|
||||
encoding : 'Bộ mã ký tự',
|
||||
appearance_bgprops : 'Thuộc tính nền',
|
||||
appearance_marginprops : 'Lề',
|
||||
appearance_linkprops : 'Màu liên kết',
|
||||
appearance_textprops : 'Thuộc tính văn bản',
|
||||
bgcolor : 'Màu nền',
|
||||
bgimage : 'Ảnh nền',
|
||||
left_margin : 'Lề trái',
|
||||
right_margin : 'Lề phải',
|
||||
top_margin : 'Lề trên',
|
||||
bottom_margin : 'Lề dưới',
|
||||
text_color : 'Màu văn bản',
|
||||
font_size : 'Kích thước font chữ',
|
||||
font_face : 'Tên font',
|
||||
link_color : 'Màu liên kết',
|
||||
hover_color : 'Màu khi di chuột lên',
|
||||
visited_color : 'Màu khi đã ghé thăm',
|
||||
active_color : 'Màu khi nhấn',
|
||||
textcolor : 'Màu chữ',
|
||||
fontsize : 'Kích thước font chữ',
|
||||
fontface : 'Tên font',
|
||||
meta_index_follow : 'Chỉ mục và theo các liên kết',
|
||||
meta_index_nofollow : 'Chỉ mục và không theo các liên kết',
|
||||
meta_noindex_follow : 'Không phải chỉ mục nhưng theo các liên kết',
|
||||
meta_noindex_nofollow : 'Không phải chỉ mục và không theo các liên kết',
|
||||
appearance_style : 'Đinh dạng phong cách và thuộc tính phong cách',
|
||||
stylesheet : 'Định dạng phong cách',
|
||||
style : 'Phong cách',
|
||||
author : 'Tác giả',
|
||||
copyright : 'Bản quyền',
|
||||
add : 'Thêm một thành phần mới',
|
||||
remove : 'Xóa thành phần đã chọn',
|
||||
moveup : 'Di chuyển thành phần đã chọn lên trên',
|
||||
movedown : 'Di chuyển thành phần đã chọn xuống dưới',
|
||||
head_elements : 'Mục đầu',
|
||||
info : 'Thông tin',
|
||||
info_text : '',
|
||||
add_title : 'Thành phần tiêu đề',
|
||||
add_meta : 'Thành phần siêu dữ liệu',
|
||||
add_script : 'Thành phần Script',
|
||||
add_style : 'Thành phần phong cách',
|
||||
add_link : 'Thành phần liên kết',
|
||||
add_base : 'Thành phần cơ sở',
|
||||
add_comment : 'Nút chú thích',
|
||||
title_element : 'Thành phần tiêu đề',
|
||||
script_element : 'Thành phần Script',
|
||||
style_element : 'Thành phần phong cách',
|
||||
base_element : 'Thành phần cơ sở',
|
||||
link_element : 'Thành phần liên kết',
|
||||
meta_element : 'Thành phần siêu dữ liệu',
|
||||
comment_element : 'Chú thích',
|
||||
src : 'Src',
|
||||
language : 'Ngôn ngữ',
|
||||
href : 'Href',
|
||||
target : 'Target',
|
||||
rel : 'Rel',
|
||||
type : 'Type',
|
||||
charset : 'Charset',
|
||||
defer : 'Defer',
|
||||
media : 'Media',
|
||||
properties : 'Properties',
|
||||
name : 'Name',
|
||||
value : 'Value',
|
||||
content : 'Content',
|
||||
rel : 'Rel',
|
||||
rev : 'Rev',
|
||||
hreflang : 'Href lang',
|
||||
general_props : 'General',
|
||||
advanced_props : 'Advanced',
|
||||
delta_width : 0,
|
||||
delta_height : 0
|
||||
});
|
||||
93
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/langs/zh_cn.js
vendored
Executable file
93
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/langs/zh_cn.js
vendored
Executable file
|
|
@ -0,0 +1,93 @@
|
|||
// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ).
|
||||
// visit our homepage at: http://www.cube316.net/tinymce/ for more information.
|
||||
|
||||
tinyMCE.addToLang('fullpage',{
|
||||
title : '文档属性',
|
||||
desc : '文档属性',
|
||||
meta_tab : '常规',
|
||||
appearance_tab : '显示',
|
||||
advanced_tab : '高级',
|
||||
meta_props : 'Meta信息',
|
||||
langprops : '语言和编码',
|
||||
meta_title : '标题',
|
||||
meta_keywords : '关键字',
|
||||
meta_description : '描述',
|
||||
meta_robots : '机器人',
|
||||
doctypes : 'Doctype',
|
||||
langcode : '语言代码',
|
||||
langdir : '文字方向',
|
||||
ltr : '从左往右',
|
||||
rtl : '从右往左',
|
||||
xml_pi : 'XML申明',
|
||||
encoding : '字符编码',
|
||||
appearance_bgprops : '背景属性',
|
||||
appearance_marginprops : '页面边距',
|
||||
appearance_linkprops : '链接颜色',
|
||||
appearance_textprops : '文字属性',
|
||||
bgcolor : '背景颜色',
|
||||
bgimage : '背景图片',
|
||||
left_margin : '左边距',
|
||||
right_margin : '右边距',
|
||||
top_margin : '上边距',
|
||||
bottom_margin : '下边距',
|
||||
text_color : '文字颜色',
|
||||
font_size : '字体大小',
|
||||
font_face : '字体',
|
||||
link_color : '链接颜色',
|
||||
hover_color : '悬停颜色',
|
||||
visited_color : '访问过的颜色',
|
||||
active_color : '激活时颜色',
|
||||
textcolor : '颜色',
|
||||
fontsize : '字体大小',
|
||||
fontface : '字体',
|
||||
meta_index_follow : '索引并跟随链接',
|
||||
meta_index_nofollow : '索引但不跟随链接',
|
||||
meta_noindex_follow : '不索引,跟随链接',
|
||||
meta_noindex_nofollow : '不索引也不跟随链接',
|
||||
appearance_style : '样式表和样式属性',
|
||||
stylesheet : '样式表',
|
||||
style : '样式',
|
||||
author : '作者',
|
||||
copyright : '版权',
|
||||
add : '添加新元素',
|
||||
remove : '移除选中的元素',
|
||||
moveup : '向上移动选中的元素',
|
||||
movedown : '向下移动选中的元素',
|
||||
head_elements : '头元素',
|
||||
info : '信息',
|
||||
info_text : '',
|
||||
add_title : 'Title元素',
|
||||
add_meta : 'Meta元素',
|
||||
add_script : 'Script元素',
|
||||
add_style : 'Style元素',
|
||||
add_link : 'Link元素',
|
||||
add_base : 'Base元素',
|
||||
add_comment : 'Comment节点',
|
||||
title_element : 'Title元素',
|
||||
script_element : 'Script元素',
|
||||
style_element : 'Style元素',
|
||||
base_element : 'Base元素t',
|
||||
link_element : 'Link元素',
|
||||
meta_element : 'Meta元素',
|
||||
comment_element : '注释',
|
||||
src : 'Src',
|
||||
language : '语言',
|
||||
href : '链接',
|
||||
target : '目标',
|
||||
rel : 'Rel',
|
||||
type : '类型',
|
||||
charset : '字符集',
|
||||
defer : '延迟',
|
||||
media : '媒体',
|
||||
properties : '属性',
|
||||
name : '名称',
|
||||
value : '值',
|
||||
content : '内容',
|
||||
rel : 'Rel',
|
||||
rev : 'Rev',
|
||||
hreflang : 'Href lang',
|
||||
general_props : '常规',
|
||||
advanced_props : '高级',
|
||||
delta_width : 0,
|
||||
delta_height : 0
|
||||
});
|
||||
93
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/langs/zh_cn_utf8.js
vendored
Executable file
93
www/extras/tinymce2/jscripts/tiny_mce/plugins/fullpage/langs/zh_cn_utf8.js
vendored
Executable file
|
|
@ -0,0 +1,93 @@
|
|||
// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ).
|
||||
// visit our homepage at: http://www.cube316.net/tinymce/ for more information.
|
||||
|
||||
tinyMCE.addToLang('fullpage',{
|
||||
title : '文档属性',
|
||||
desc : '文档属性',
|
||||
meta_tab : '常规',
|
||||
appearance_tab : '显示',
|
||||
advanced_tab : '高级',
|
||||
meta_props : 'Meta信息',
|
||||
langprops : '语言和编码',
|
||||
meta_title : '标题',
|
||||
meta_keywords : '关键字',
|
||||
meta_description : '描述',
|
||||
meta_robots : '机器人',
|
||||
doctypes : 'Doctype',
|
||||
langcode : '语言代码',
|
||||
langdir : '文字方向',
|
||||
ltr : '从左往右',
|
||||
rtl : '从右往左',
|
||||
xml_pi : 'XML申明',
|
||||
encoding : '字符编码',
|
||||
appearance_bgprops : '背景属性',
|
||||
appearance_marginprops : '页面边距',
|
||||
appearance_linkprops : '链接颜色',
|
||||
appearance_textprops : '文字属性',
|
||||
bgcolor : '背景颜色',
|
||||
bgimage : '背景图片',
|
||||
left_margin : '左边距',
|
||||
right_margin : '右边距',
|
||||
top_margin : '上边距',
|
||||
bottom_margin : '下边距',
|
||||
text_color : '文字颜色',
|
||||
font_size : '字体大小',
|
||||
font_face : '字体',
|
||||
link_color : '链接颜色',
|
||||
hover_color : '悬停颜色',
|
||||
visited_color : '访问过的颜色',
|
||||
active_color : '激活时颜色',
|
||||
textcolor : '颜色',
|
||||
fontsize : '字体大小',
|
||||
fontface : '字体',
|
||||
meta_index_follow : '索引并跟随链接',
|
||||
meta_index_nofollow : '索引但不跟随链接',
|
||||
meta_noindex_follow : '不索引,跟随链接',
|
||||
meta_noindex_nofollow : '不索引也不跟随链接',
|
||||
appearance_style : '样式表和样式属性',
|
||||
stylesheet : '样式表',
|
||||
style : '样式',
|
||||
author : '作者',
|
||||
copyright : '版权',
|
||||
add : '添加新元素',
|
||||
remove : '移除选中的元素',
|
||||
moveup : '向上移动选中的元素',
|
||||
movedown : '向下移动选中的元素',
|
||||
head_elements : '头元素',
|
||||
info : '信息',
|
||||
info_text : '',
|
||||
add_title : 'Title元素',
|
||||
add_meta : 'Meta元素',
|
||||
add_script : 'Script元素',
|
||||
add_style : 'Style元素',
|
||||
add_link : 'Link元素',
|
||||
add_base : 'Base元素',
|
||||
add_comment : 'Comment节点',
|
||||
title_element : 'Title元素',
|
||||
script_element : 'Script元素',
|
||||
style_element : 'Style元素',
|
||||
base_element : 'Base元素t',
|
||||
link_element : 'Link元素',
|
||||
meta_element : 'Meta元素',
|
||||
comment_element : '注释',
|
||||
src : 'Src',
|
||||
language : '语言',
|
||||
href : '链接',
|
||||
target : '目标',
|
||||
rel : 'Rel',
|
||||
type : '类型',
|
||||
charset : '字符集',
|
||||
defer : '延迟',
|
||||
media : '媒体',
|
||||
properties : '属性',
|
||||
name : '名称',
|
||||
value : '值',
|
||||
content : '内容',
|
||||
rel : 'Rel',
|
||||
rev : 'Rev',
|
||||
hreflang : 'Href lang',
|
||||
general_props : '常规',
|
||||
advanced_props : '高级',
|
||||
delta_width : 0,
|
||||
delta_height : 0
|
||||
});
|
||||
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/iespell/langs/si.js
vendored
Normal file
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/iespell/langs/si.js
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// SI lang variables ISO-8859-2
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
iespell_desc : 'Zaženi črkovanje',
|
||||
iespell_download : "ieSpell ni zaznan. Kliknite OK za skok na stran za prenos."
|
||||
});
|
||||
|
||||
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/iespell/langs/tr.js
vendored
Normal file
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/iespell/langs/tr.js
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// TR lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
iespell_desc : 'Yazım denetimini çalıştır',
|
||||
iespell_download : "ieSpell bulunamadı. Download sayfasına gitmek için 'OK' tıklayınız"
|
||||
});
|
||||
|
||||
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/iespell/langs/vi.js
vendored
Executable file
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/iespell/langs/vi.js
vendored
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
iespell_desc : 'Chạy kiểm tra chính tả',
|
||||
iespell_download : "Khong thấy kiểm tra chính tả ieSpell. Kích nút OK để đến trang tải xuống."
|
||||
});
|
||||
|
||||
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/iespell/langs/zh_cn_utf8.js
vendored
Executable file
7
www/extras/tinymce2/jscripts/tiny_mce/plugins/iespell/langs/zh_cn_utf8.js
vendored
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ).
|
||||
// visit our homepage at: http://www.cube316.net/tinymce/ for more information.
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
iespell_desc : '运行拼写检查',
|
||||
iespell_download : "未检测到 ieSpell 拼写检查,点击 OK 前往下载页面。"
|
||||
});
|
||||
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/insertdatetime/langs/si.js
vendored
Normal file
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/insertdatetime/langs/si.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// SI lang variables ISO-8859-2
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insertdate_def_fmt : '%d.%m.%Y',
|
||||
inserttime_def_fmt : '%H:%M:%S',
|
||||
insertdate_desc : 'Vstavi datum',
|
||||
inserttime_desc : 'Vstavi uro',
|
||||
inserttime_months_long : new Array("Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "August", "September", "Oktober", "November", "December"),
|
||||
inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"),
|
||||
inserttime_day_long : new Array("Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"),
|
||||
inserttime_day_short : new Array("Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned")
|
||||
});
|
||||
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/insertdatetime/langs/tr.js
vendored
Normal file
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/insertdatetime/langs/tr.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// TR lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insertdate_def_fmt : '%d-%m-%Y',
|
||||
inserttime_def_fmt : '%H:%M:%S',
|
||||
insertdate_desc : 'Tarihi ekle',
|
||||
inserttime_desc : 'Zamaný ekle',
|
||||
inserttime_months_long : new Array("Ocak", "Þubat", "Mart", "Nisan", "Mayýs", "Haziran", "Temmuz", "Aðustos", "Eylül", "Ekim", "Kasým", "Aralýk"),
|
||||
inserttime_months_short : new Array("Ock", "Þub", "Mar", "Nis", "May", "Haz", "Tem", "Aðu", "Eyl", "Eki", "Kas", "Ara"),
|
||||
inserttime_day_long : new Array("Pazar", "Pazartesi", "Salý", "Çarþamba", "Perþembe", "Cuma", "Cumartesi", "Pazar"),
|
||||
inserttime_day_short : new Array("Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt", "Paz")
|
||||
})
|
||||
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/insertdatetime/langs/vi.js
vendored
Executable file
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/insertdatetime/langs/vi.js
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insertdate_def_fmt : '%d-%m-%Y',
|
||||
inserttime_def_fmt : '%H:%M:%S',
|
||||
insertdate_desc : 'Thêm ngày',
|
||||
inserttime_desc : 'Thêm thời gian',
|
||||
inserttime_months_long : new Array("Tháng Một", "Tháng Hai", "Tháng Ba", "Tháng Tư", "Tháng Năm", "Tháng Sáu", "Tháng Bảy", "Tháng Tám", "Tháng Chín", "Tháng Mười", "Tháng M.Một", "Tháng M.Hai"),
|
||||
inserttime_months_short : new Array("ThMột", "ThHai", "ThBa", "ThTư", "ThNăm", "ThSáu", "ThBảy", "ThTám", "ThChín", "ThMười", "ThM.Một", "ThM.Hai"),
|
||||
inserttime_day_long : new Array("Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy", "Chủ nhật"),
|
||||
inserttime_day_short : new Array("CN", "T2", "T3", "T4", "T5", "T6", "T7", "CN")
|
||||
});
|
||||
13
www/extras/tinymce2/jscripts/tiny_mce/plugins/insertdatetime/langs/zh_cn_utf8.js
vendored
Executable file
13
www/extras/tinymce2/jscripts/tiny_mce/plugins/insertdatetime/langs/zh_cn_utf8.js
vendored
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ).
|
||||
// visit our homepage at: http://www.cube316.net/tinymce/ for more information.
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insertdate_def_fmt : '%Y-%m-%d',
|
||||
inserttime_def_fmt : '%H:%M:%S',
|
||||
insertdate_desc : '插入当前日期',
|
||||
inserttime_desc : '插入当前时间',
|
||||
inserttime_months_long : new Array("一月份", "二月份", "三月份", "四月份", "五月份", "六月份", "七月份", "八月份", "九月份", "十月份", "十一月份", "十二月份"),
|
||||
inserttime_months_short : new Array("一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"),
|
||||
inserttime_day_long : new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"),
|
||||
inserttime_day_short : new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日")
|
||||
});
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/preview/langs/si.js
vendored
Normal file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/preview/langs/si.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// SI lang variables ISO-8859-2
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
preview_desc : 'Predogled'
|
||||
});
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/preview/langs/tr.js
vendored
Normal file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/preview/langs/tr.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// TR lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
preview_desc : 'Önizleme'
|
||||
});
|
||||
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/preview/langs/vi.js
vendored
Executable file
5
www/extras/tinymce2/jscripts/tiny_mce/plugins/preview/langs/vi.js
vendored
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
preview_desc : 'Xem trước'
|
||||
});
|
||||
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/preview/langs/zh_cn_utf8.js
vendored
Executable file
6
www/extras/tinymce2/jscripts/tiny_mce/plugins/preview/langs/zh_cn_utf8.js
vendored
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ).
|
||||
// visit our homepage at: http://www.cube316.net/tinymce/ for more information.
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
preview_desc : '预览'
|
||||
});
|
||||
14
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/langs/en.js
vendored
Executable file
14
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/langs/en.js
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCE.addToLang('spellchecker',{
|
||||
desc : 'Toggle spellchecker',
|
||||
menu : 'Spellchecker settings',
|
||||
ignore_word : 'Ignore word',
|
||||
ignore_words : 'Ignore all',
|
||||
langs : 'Languages',
|
||||
wait : 'Please wait...',
|
||||
swait : 'Spellchecking, please wait...',
|
||||
sug : 'Suggestions',
|
||||
no_sug : 'No suggestions',
|
||||
no_mpell : 'No misspellings found.'
|
||||
});
|
||||
17
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/langs/nb.js
vendored
Executable file
17
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/langs/nb.js
vendored
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen
|
||||
|
||||
tinyMCE.addToLang('spellchecker',{
|
||||
desc : 'Stavekontroll',
|
||||
menu : 'Oppsett stavekontroll',
|
||||
ignore_word : 'Ignorer ordet',
|
||||
ignore_words : 'Ignorer alt',
|
||||
langs : 'Språk',
|
||||
wait : 'Vennligst vent...',
|
||||
swait : 'Stavekontroll pågår, vennligst vent...',
|
||||
sug : 'Forslag',
|
||||
no_sug : 'Ingen forslag',
|
||||
no_mpell : 'Ingen stavefeil funnet.'
|
||||
});
|
||||
|
||||
|
||||
|
||||
17
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/langs/nn.js
vendored
Executable file
17
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/langs/nn.js
vendored
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
// nb = Norwegian (nynorsk) lang variables by Knut B. Jacobsen
|
||||
|
||||
tinyMCE.addToLang('spellchecker',{
|
||||
desc : 'Stavekontroll',
|
||||
menu : 'Oppsett stavekontroll',
|
||||
ignore_word : 'Ignorer ordet',
|
||||
ignore_words : 'Ignorer alt',
|
||||
langs : 'Språk',
|
||||
wait : 'Vennligst vent...',
|
||||
swait : 'Stavekontroll pågår, vennligst vent...',
|
||||
sug : 'Forslag',
|
||||
no_sug : 'Ingen forslag',
|
||||
no_mpell : 'Ingen stavefeil funnet.'
|
||||
});
|
||||
|
||||
|
||||
|
||||
14
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/langs/sv.js
vendored
Executable file
14
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/langs/sv.js
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
// SV lang variables
|
||||
|
||||
tinyMCE.addToLang('spellchecker',{
|
||||
desc : 'Slå av/på rättstavning',
|
||||
menu : 'Rättstavnings inställningar',
|
||||
ignore_word : 'Ignorera ord',
|
||||
ignore_words : 'Ignorera alla',
|
||||
langs : 'Språk',
|
||||
wait : 'Vad god vänta...',
|
||||
swait : 'Stavningskontroll utförs, vad god vänta...',
|
||||
sug : 'Förslag',
|
||||
no_sug : 'Inga förslag',
|
||||
no_mpell : 'Inga felstavningar kunde hittas.'
|
||||
});
|
||||
75
www/extras/tinymce2/jscripts/tiny_mce/plugins/table/langs/si.js
vendored
Normal file
75
www/extras/tinymce2/jscripts/tiny_mce/plugins/table/langs/si.js
vendored
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
// SI lang variables ISO-8859-2
|
||||
|
||||
tinyMCE.addToLang('table',{
|
||||
general_tab : 'Splošno',
|
||||
advanced_tab : 'Napredno',
|
||||
general_props : 'Splošne lastnosti',
|
||||
advanced_props : 'Napredne lastnosti',
|
||||
desc : 'Vstavi novo tabelo',
|
||||
row_before_desc : 'Vstavi vrstico pred',
|
||||
row_after_desc : 'Vstavi vrstico za',
|
||||
delete_row_desc : 'Zbriši vrstico',
|
||||
col_before_desc : 'Vstavi stolpec pred',
|
||||
col_after_desc : 'Vstavi stolpec za',
|
||||
delete_col_desc : 'Zbriši stolpec',
|
||||
rowtype : 'Vrstica v delu tabele',
|
||||
title : 'Vstavi/uredi tabelo',
|
||||
width : 'Širina',
|
||||
height : 'Višina',
|
||||
cols : 'Št. stolpcev',
|
||||
rows : 'Št. vrstic',
|
||||
cellspacing : 'Razmik med celicami',
|
||||
cellpadding : 'Odmik med celicami',
|
||||
border : 'Okvir',
|
||||
align : 'Poravnava',
|
||||
align_default : 'Privzeto',
|
||||
align_left : 'Levo',
|
||||
align_right : 'Desno',
|
||||
align_middle : 'Na sredino',
|
||||
row_title : 'Lastnosti vrstice',
|
||||
cell_title : 'Lastnosti celice',
|
||||
cell_type : 'Tip celice',
|
||||
row_desc : 'Lastnosti vrstice',
|
||||
cell_desc : 'Lastnosti celice',
|
||||
valign : 'Navpična poravnava',
|
||||
align_top : 'Na vrh',
|
||||
align_bottom : 'Na dno',
|
||||
props_desc : 'Lastnosti tabele',
|
||||
bordercolor : 'Barva okvirja',
|
||||
bgcolor : 'Barva ozadja',
|
||||
merge_cells_title : 'Združi celice',
|
||||
split_cells_desc : 'Razdeli celice',
|
||||
merge_cells_desc : 'Združi celice',
|
||||
cut_row_desc : 'Izreži vrstico',
|
||||
copy_row_desc : 'Kopiraj vrstico',
|
||||
paste_row_before_desc : 'Prilepi tabelo pred',
|
||||
paste_row_after_desc : 'Prilepi tabelo za',
|
||||
id : 'Id',
|
||||
style: 'Stil',
|
||||
langdir : 'Smer jezika',
|
||||
langcode : 'Koda jezika',
|
||||
mime : 'MIME type tarče',
|
||||
ltr : 'Od leve proti desni',
|
||||
rtl : 'Od desne proti levi',
|
||||
bgimage : 'Slika za ozadje',
|
||||
summary : 'Naslov',
|
||||
td : "Podatki",
|
||||
th : "Glava",
|
||||
cell_cell : 'Posodobi trenutno celico',
|
||||
cell_row : 'Posodobi vse celice v vrstici',
|
||||
cell_all : 'Posodobi vse celice v tabeli',
|
||||
row_row : 'Posodobi trenutno vrstico',
|
||||
row_odd : 'Posodobi lihe vrstice v tabeli',
|
||||
row_even : 'Posodobi sode vrstice v tabeli',
|
||||
row_all : 'Posodobi vse vrstice v tabeli',
|
||||
thead : 'Glava tabele',
|
||||
tbody : 'Telo tabele',
|
||||
tfoot : 'Dno tabele',
|
||||
del : 'Zbriši tabelo',
|
||||
scope : 'Domena',
|
||||
row : 'Vrstica',
|
||||
col : 'Stolpec',
|
||||
rowgroup : 'Skupina vrstic',
|
||||
colgroup : 'Skupina stolpcev',
|
||||
missing_scope: 'Ali ste prepričani, da želite nadaljevati brez domene za to celico v glavi tabele? Brez nje bodo lahko imeli uporabniki s posebnimi potrebami probleme pri razumevanju vsebine tabele.'
|
||||
});
|
||||
75
www/extras/tinymce2/jscripts/tiny_mce/plugins/table/langs/tr.js
vendored
Normal file
75
www/extras/tinymce2/jscripts/tiny_mce/plugins/table/langs/tr.js
vendored
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCE.addToLang('table',{
|
||||
general_tab : 'Genel',
|
||||
advanced_tab : 'Gelişmiş',
|
||||
general_props : 'Genel özellikler',
|
||||
advanced_props : 'Gelişmiş özellikler',
|
||||
desc : 'Yeni tablo ekle',
|
||||
row_before_desc : 'Satır ekle(öncesinde)',
|
||||
row_after_desc : 'Satır ekle(sonrasında)',
|
||||
delete_row_desc : 'Satırı sil',
|
||||
col_before_desc : 'Kolon ekle(öncesinde)',
|
||||
col_after_desc : 'Kolon ekle(sonrasında)',
|
||||
delete_col_desc : 'Kolonu sil',
|
||||
rowtype : 'Row in table part',
|
||||
title : 'Tablo ekle/düzenle',
|
||||
width : 'Genişlik',
|
||||
height : 'Yükseklik',
|
||||
cols : 'Kolonlar',
|
||||
rows : 'Satırlar',
|
||||
cellspacing : 'Hücre boşluğu',
|
||||
cellpadding : 'Hücre dolğusu',
|
||||
border : 'Sınır kalınlık',
|
||||
align : 'Hizalama',
|
||||
align_default : 'Varsayılan',
|
||||
align_left : 'Sol',
|
||||
align_right : 'Sağ',
|
||||
align_middle : 'Orta',
|
||||
row_title : 'Tablo satır özellikleri',
|
||||
cell_title : 'Tablo hücre özellikleri',
|
||||
cell_type : 'Hücre tipi',
|
||||
row_desc : 'Tablo satır özellikleri',
|
||||
cell_desc : 'Tablo hücre özellikleri',
|
||||
valign : 'Düşey hizalama',
|
||||
align_top : 'Üst',
|
||||
align_bottom : 'Alt',
|
||||
props_desc : 'Tablo özellikleri',
|
||||
bordercolor : 'Sınır rengi',
|
||||
bgcolor : 'Arkaplan rengi',
|
||||
merge_cells_title : 'Tablo hücrelerini birleştir',
|
||||
split_cells_desc : 'Tablo hücrelerini ayır',
|
||||
merge_cells_desc : 'Tablo hücrelerini birleştir',
|
||||
cut_row_desc : 'Tablo satırını kes',
|
||||
copy_row_desc : 'Tablo satırını kopyala',
|
||||
paste_row_before_desc : 'Tablo satırı yapıştır(önce)',
|
||||
paste_row_after_desc : 'Tablo satırı yapıştır(sonra)',
|
||||
id : 'Id',
|
||||
style: 'Stil',
|
||||
langdir : 'Yazım yönü',
|
||||
langcode : 'Dil kodu',
|
||||
mime : 'Hedef MIME tipi',
|
||||
ltr : 'Soldan sağa',
|
||||
rtl : 'Sağdan sola',
|
||||
bgimage : 'Arkaplan resmi',
|
||||
summary : 'Özet',
|
||||
td : "Veri",
|
||||
th : "Başlık",
|
||||
cell_cell : 'Hücreyi güncelle',
|
||||
cell_row : 'Satırdaki tüm hücreleri güncelle',
|
||||
cell_all : 'Tablodaki tüm hücreleri güncelle',
|
||||
row_row : 'Satırı güncelle',
|
||||
row_odd : 'Tablodaki sırası tek olan satırları güncelle',
|
||||
row_even : 'Tablodaki sırası çift olan satırları güncelle',
|
||||
row_all : 'Tablodaki tüm satırları güncelle',
|
||||
thead : 'Tablo başlığı',
|
||||
tbody : 'Tablo gövdesi',
|
||||
tfoot : 'Table altı',
|
||||
del : 'Tabloyu sil',
|
||||
scope : 'Kapsam',
|
||||
row : 'Satır',
|
||||
col : 'Kolon',
|
||||
rowgroup : 'Satır Gurubu',
|
||||
colgroup : 'Kolon Gurubu',
|
||||
missing_scope: 'Tablo başlık hüclerlerinin kapsamlarını belirmeden devam etmek istediğinize emin misiniz? Eğer belirtmesseniz tablo görünümünde problemler olabilir!'
|
||||
});
|
||||
75
www/extras/tinymce2/jscripts/tiny_mce/plugins/table/langs/vi.js
vendored
Executable file
75
www/extras/tinymce2/jscripts/tiny_mce/plugins/table/langs/vi.js
vendored
Executable file
|
|
@ -0,0 +1,75 @@
|
|||
// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa
|
||||
|
||||
tinyMCE.addToLang('table',{
|
||||
general_tab : 'Chung',
|
||||
advanced_tab : 'Nâng cao',
|
||||
general_props : 'Thuộc tính chung',
|
||||
advanced_props : 'Thuộc tính nâng cao',
|
||||
desc : 'Thêm một bảng mới',
|
||||
row_before_desc : 'Thêm hàng trước',
|
||||
row_after_desc : 'Thêm hàng sau',
|
||||
delete_row_desc : 'Xóa hàng',
|
||||
col_before_desc : 'Thêm cột bên trái',
|
||||
col_after_desc : 'Thêm cột bên phải',
|
||||
delete_col_desc : 'Xóa cột',
|
||||
rowtype : 'Hàng trong một phần bảng',
|
||||
title : 'Thêm/Sửa bảng',
|
||||
width : 'Độ rộng',
|
||||
height : 'Chiều cao',
|
||||
cols : 'Cột',
|
||||
rows : 'Hàng',
|
||||
cellspacing : 'Khoảng cách ô',
|
||||
cellpadding : 'Căn lề ô',
|
||||
border : 'Khung bao quanh',
|
||||
align : 'Căn lề',
|
||||
align_default : 'Mặc định',
|
||||
align_left : 'Trái',
|
||||
align_right : 'Phải',
|
||||
align_middle : 'Giữa',
|
||||
row_title : 'Thuộc tính hàng',
|
||||
cell_title : 'Thuộc tính ô',
|
||||
cell_type : 'Kiểu ô',
|
||||
row_desc : 'Thuộc tính hàng',
|
||||
cell_desc : 'Thuộc tính ô',
|
||||
valign : 'Căn lề chiều dọc',
|
||||
align_top : 'Trên cùng',
|
||||
align_bottom : 'Dưới cùng',
|
||||
props_desc : 'Thuộc tính bảng',
|
||||
bordercolor : 'Màu khung',
|
||||
bgcolor : 'Màu nền',
|
||||
merge_cells_title : 'Trộn ô',
|
||||
split_cells_desc : 'Tách ô',
|
||||
merge_cells_desc : 'Trộn ô',
|
||||
cut_row_desc : 'Cắt hàng của bảng',
|
||||
copy_row_desc : 'Sao chép hàng của bảng',
|
||||
paste_row_before_desc : 'Dán hàng lên trên',
|
||||
paste_row_after_desc : 'Dán hàng xuống dưới',
|
||||
id : 'Id',
|
||||
style: 'Style',
|
||||
langdir : 'Hướng ngôn ngữ',
|
||||
langcode : 'Mã ngôn ngữ',
|
||||
mime : 'Kiểu MIME mục tiêu',
|
||||
ltr : 'Trái sang phải',
|
||||
rtl : 'Phải sang trái',
|
||||
bgimage : 'Ảnh nền',
|
||||
summary : 'Tóm tắt',
|
||||
td : "Dữ liệu",
|
||||
th : "Tiêu đề",
|
||||
cell_cell : 'Cập nhật ô hiện thời',
|
||||
cell_row : 'Cập nhật tất cả các ô trong hàng',
|
||||
cell_all : 'Cập nhật tất cả các ô trong bảng',
|
||||
row_row : 'Cập nhật hàng hiện thời',
|
||||
row_odd : 'Cập nhật các hàng lẻ trong bảng',
|
||||
row_even : 'Cập nhật các hàng chẵn trong bảng',
|
||||
row_all : 'Cập nhật tất cả các hàng trong bảng',
|
||||
thead : 'Đầu bảng',
|
||||
tbody : 'Thân bảng',
|
||||
tfoot : 'Chân bảng',
|
||||
del : 'Xóa bảng',
|
||||
scope : 'Phạm vi',
|
||||
row : 'Hàng',
|
||||
col : 'Cột',
|
||||
rowgroup : 'Nhóm hàng',
|
||||
colgroup : 'Nhóm cột',
|
||||
missing_scope: 'Bạn có chắc bạn muốn tiếp tục mà không cần xác định phạm vi cho ô tiêu đề bảng này? Nếu thiếu nó, có thể những người sử dụng khuyết thiếu sẽ khó có thể hiểu nội dung của dữ liệu trong bảng.'
|
||||
});
|
||||
76
www/extras/tinymce2/jscripts/tiny_mce/plugins/table/langs/zh_cn_utf8.js
vendored
Executable file
76
www/extras/tinymce2/jscripts/tiny_mce/plugins/table/langs/zh_cn_utf8.js
vendored
Executable file
|
|
@ -0,0 +1,76 @@
|
|||
// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ).
|
||||
// visit our homepage at: http://www.cube316.net/tinymce/ for more information.
|
||||
|
||||
tinyMCE.addToLang('table',{
|
||||
general_tab : '一般',
|
||||
advanced_tab : '高级',
|
||||
general_props : '一般属性',
|
||||
advanced_props : '高技属性',
|
||||
desc : '插入一个新表',
|
||||
row_before_desc : '向前插入一行',
|
||||
row_after_desc : '向后插入一行',
|
||||
delete_row_desc : '删除行',
|
||||
col_before_desc : '向左插入一列',
|
||||
col_after_desc : '向右插入一列',
|
||||
delete_col_desc : '删除列',
|
||||
rowtype : '行种类',
|
||||
title : '插入/修改 表',
|
||||
width : '宽',
|
||||
height : '高',
|
||||
cols : '列数',
|
||||
rows : '行数',
|
||||
cellspacing : '单元格空间',
|
||||
cellpadding : '单元格填充',
|
||||
border : '边框',
|
||||
align : '对齐',
|
||||
align_default : '默认',
|
||||
align_left : '居左',
|
||||
align_right : '居右',
|
||||
align_middle : '居中',
|
||||
row_title : '行标题',
|
||||
cell_title : '单元格标题',
|
||||
cell_type : '单元格种类',
|
||||
row_desc : '行描述',
|
||||
cell_desc : '单元格描述',
|
||||
valign : '垂直对齐',
|
||||
align_top : '顶端',
|
||||
align_bottom : '底端',
|
||||
props_desc : '表属性',
|
||||
bordercolor : '边框颜色',
|
||||
bgcolor : '背景颜色',
|
||||
merge_cells_title : '合并表中单元格标题',
|
||||
split_cells_desc : '分类表中单元格描述',
|
||||
merge_cells_desc : '合并表中单元格描述',
|
||||
cut_row_desc : '剪切行',
|
||||
copy_row_desc : '复制行',
|
||||
paste_row_before_desc : '向前粘贴一行',
|
||||
paste_row_after_desc : '向后粘贴一行',
|
||||
id : '表识',
|
||||
style: '样式',
|
||||
langdir : '书写方向',
|
||||
langcode : '语言编码',
|
||||
mime : '目标 MIME 种类',
|
||||
ltr : '从左到右',
|
||||
rtl : '从右到左',
|
||||
bgimage : '背景图片',
|
||||
summary : '小结',
|
||||
td : "数据",
|
||||
th : "页眉",
|
||||
cell_cell : '更新当前单元格',
|
||||
cell_row : '更新行中所有单元格',
|
||||
cell_all : '更新表中所有单元格',
|
||||
row_row : '更新当前行',
|
||||
row_odd : '更新奇数行',
|
||||
row_even : '更新偶数行',
|
||||
row_all : '更新表中所有行',
|
||||
thead : '表头',
|
||||
tbody : '表中',
|
||||
tfoot : '表尾',
|
||||
del : '删除表',
|
||||
scope : '区域',
|
||||
row : '行',
|
||||
col : '列',
|
||||
rowgroup : '行集团',
|
||||
colgroup : '列集团',
|
||||
missing_scope: '您确认要在没有声明编辑区域时继续吗?没有声明编辑区域将使阅读者看起来很费力。'
|
||||
});
|
||||
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/cs.js
vendored
Normal file
12
www/extras/tinymce2/jscripts/tiny_mce/plugins/zoom/langs/cs.js
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Czech lang variables
|
||||
* encoding: utf-8
|
||||
*
|
||||
* $Id: cs.js,v 1.1 2006/01/11 14:35:10 spocke Exp $
|
||||
*/
|
||||
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
zoom_prefix : 'Měřítko zobrazení'
|
||||
});
|
||||
|
||||
212
www/extras/tinymce2/jscripts/tiny_mce/utils/mclayer.js
vendored
Normal file
212
www/extras/tinymce2/jscripts/tiny_mce/utils/mclayer.js
vendored
Normal file
|
|
@ -0,0 +1,212 @@
|
|||
/**
|
||||
* $RCSfile: mclayer.js,v $
|
||||
* $Revision: 1.2 $
|
||||
* $Date: 2006/02/06 20:11:09 $
|
||||
*
|
||||
* Moxiecode floating layer script.
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
|
||||
*/
|
||||
|
||||
function MCLayer(id) {
|
||||
this.id = id;
|
||||
this.settings = new Array();
|
||||
this.blockerElement = null;
|
||||
this.isMSIE = navigator.appName == "Microsoft Internet Explorer";
|
||||
this.events = false;
|
||||
this.autoHideCallback = null;
|
||||
}
|
||||
|
||||
MCLayer.prototype = {
|
||||
moveRelativeTo : function(re, p, a) {
|
||||
var rep = this.getAbsPosition(re);
|
||||
var w = parseInt(re.offsetWidth);
|
||||
var h = parseInt(re.offsetHeight);
|
||||
var x, y;
|
||||
|
||||
switch (p) {
|
||||
case "tl":
|
||||
break;
|
||||
|
||||
case "tr":
|
||||
x = rep.absLeft + w;
|
||||
y = rep.absTop;
|
||||
break;
|
||||
|
||||
case "bl":
|
||||
break;
|
||||
|
||||
case "br":
|
||||
break;
|
||||
}
|
||||
|
||||
this.moveTo(x, y);
|
||||
},
|
||||
|
||||
moveBy : function(dx, dy) {
|
||||
var e = this.getElement();
|
||||
var x = parseInt(e.style.left);
|
||||
var y = parseInt(e.style.top);
|
||||
|
||||
e.style.left = (x + dx) + "px";
|
||||
e.style.top = (y + dy) + "px";
|
||||
|
||||
this.updateBlocker();
|
||||
},
|
||||
|
||||
moveTo : function(x, y) {
|
||||
var e = this.getElement();
|
||||
|
||||
e.style.left = x + "px";
|
||||
e.style.top = y + "px";
|
||||
|
||||
this.updateBlocker();
|
||||
},
|
||||
|
||||
show : function() {
|
||||
MCLayer.visibleLayer = this;
|
||||
|
||||
this.getElement().style.display = 'block';
|
||||
this.updateBlocker();
|
||||
},
|
||||
|
||||
hide : function() {
|
||||
this.getElement().style.display = 'none';
|
||||
this.updateBlocker();
|
||||
},
|
||||
|
||||
setAutoHide : function(s, cb) {
|
||||
this.autoHideCallback = cb;
|
||||
this.registerEventHandlers();
|
||||
},
|
||||
|
||||
getElement : function() {
|
||||
return document.getElementById(this.id);
|
||||
},
|
||||
|
||||
updateBlocker : function() {
|
||||
if (!this.isMSIE)
|
||||
return;
|
||||
|
||||
var e = this.getElement();
|
||||
var b = this.getBlocker();
|
||||
var x = this.parseInt(e.style.left);
|
||||
var y = this.parseInt(e.style.top);
|
||||
var w = this.parseInt(e.offsetWidth);
|
||||
var h = this.parseInt(e.offsetHeight);
|
||||
|
||||
b.style.left = x + 'px';
|
||||
b.style.top = y + 'px';
|
||||
b.style.width = w + 'px';
|
||||
b.style.height = h + 'px';
|
||||
b.style.display = e.style.display;
|
||||
},
|
||||
|
||||
getBlocker : function() {
|
||||
if (!this.blockerElement) {
|
||||
var d = document, b = d.createElement("iframe");
|
||||
|
||||
b.style.cssText = 'display: none; left: 0px; position: absolute; top: 0';
|
||||
b.src = 'javascript:false;';
|
||||
b.frameBorder = '0';
|
||||
b.scrolling = 'no';
|
||||
|
||||
d.body.appendChild(b);
|
||||
this.blockerElement = b;
|
||||
}
|
||||
|
||||
return this.blockerElement;
|
||||
},
|
||||
|
||||
getAbsPosition : function(n) {
|
||||
var p = {absLeft : 0, absTop : 0};
|
||||
|
||||
while (n) {
|
||||
p.absLeft += n.offsetLeft;
|
||||
p.absTop += n.offsetTop;
|
||||
n = n.offsetParent;
|
||||
}
|
||||
|
||||
return p;
|
||||
},
|
||||
|
||||
registerEventHandlers : function() {
|
||||
if (!this.events) {
|
||||
var d = document;
|
||||
|
||||
this.addEvent(d, 'mousedown', MCLayer.prototype.onMouseDown);
|
||||
|
||||
this.events = true;
|
||||
}
|
||||
},
|
||||
|
||||
addEvent : function(o, n, h) {
|
||||
if (o.attachEvent)
|
||||
o.attachEvent("on" + n, h);
|
||||
else
|
||||
o.addEventListener(n, h, false);
|
||||
},
|
||||
|
||||
onMouseDown : function(e) {
|
||||
e = typeof(e) == "undefined" ? window.event : e;
|
||||
var b = document.body;
|
||||
var l = MCLayer.visibleLayer;
|
||||
|
||||
if (l) {
|
||||
var mx = l.isMSIE ? e.clientX + b.scrollLeft : e.pageX;
|
||||
var my = l.isMSIE ? e.clientY + b.scrollTop : e.pageY;
|
||||
var el = l.getElement();
|
||||
var x = parseInt(el.style.left);
|
||||
var y = parseInt(el.style.top);
|
||||
var w = parseInt(el.offsetWidth);
|
||||
var h = parseInt(el.offsetHeight);
|
||||
|
||||
if (!(mx > x && mx < x + w && my > y && my < y + h)) {
|
||||
MCLayer.visibleLayer = null;
|
||||
|
||||
if (l.autoHideCallback && l.autoHideCallback(l, e, mx, my))
|
||||
return true;
|
||||
|
||||
l.hide();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
addCSSClass : function(e, c) {
|
||||
this.removeCSSClass(e, c);
|
||||
var a = this.explode(' ', e.className);
|
||||
a[a.length] = c;
|
||||
e.className = a.join(' ');
|
||||
},
|
||||
|
||||
removeCSSClass : function(e, c) {
|
||||
var a = this.explode(' ', e.className), i;
|
||||
|
||||
for (i=0; i<a.length; i++) {
|
||||
if (a[i] == c)
|
||||
a[i] = '';
|
||||
}
|
||||
|
||||
e.className = a.join(' ');
|
||||
},
|
||||
|
||||
explode : function(d, s) {
|
||||
var ar = s.split(d);
|
||||
var oar = new Array();
|
||||
|
||||
for (var i = 0; i<ar.length; i++) {
|
||||
if (ar[i] != "")
|
||||
oar[oar.length] = ar[i];
|
||||
}
|
||||
|
||||
return oar;
|
||||
},
|
||||
|
||||
parseInt : function(s) {
|
||||
if (s == null || s == '')
|
||||
return 0;
|
||||
|
||||
return parseInt(s);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue