tinymce editor
This commit is contained in:
parent
6ddb7c49e6
commit
9cffe191ac
655 changed files with 16255 additions and 22045 deletions
41
www/extras/tinymce/docs/langs.htm
Executable file
41
www/extras/tinymce/docs/langs.htm
Executable file
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Creating language packs</TITLE>
|
||||
<link href="style.css" rel="stylesheet" type="text/css">
|
||||
</HEAD>
|
||||
|
||||
<BODY>
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
|
||||
<tr>
|
||||
<td><span class="title">Creating language packs</span></td>
|
||||
<td align="right"><a href="index.htm">TOC</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr noshade>
|
||||
<br>
|
||||
Language packs are simply JavaScript name/value arrays placed in the "<FN Code>.js"
|
||||
files in the "lang" direcotry. Remember to allways use the "lang_"
|
||||
prefix for these value names so that they don't override other variables in the
|
||||
templates. The example below shows how the cut, copy and paste texts are lang packed. Notice there are two kinds of language packs one is the general one shared by all themes these are located in the "jscripts/tiny_mce/langs" directory the other optional one is theme specific language packs these are contained in "jscripts/tiny_mce/themes/<some theme>/langs".<br>
|
||||
<br>
|
||||
<table border="0" cellspacing="3" cellpadding="2" class="sample">
|
||||
<tr>
|
||||
|
||||
<td class="samplecontent">tinyMCELang['<font color="#CC0000">lang</font>_cut_desc']
|
||||
= 'Cut (Ctrl+X)';<br>
|
||||
tinyMCELang['<font color="#CC0000">lang</font>_copy_desc'] = 'Copy (Ctrl+C)';<br>
|
||||
tinyMCELang['<font color="#CC0000">lang</font>_paste_desc'] = 'Paste (Ctrl+P)';</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr noshade>
|
||||
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
|
||||
<tr>
|
||||
<td>Go to: <a href="index.htm">Table of contents</a></td>
|
||||
<td align="right"><a href="#">Top</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
</BODY>
|
||||
</HTML>
|
||||
Loading…
Add table
Add a link
Reference in a new issue