123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <!--
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2010 Frederico Caldeira Knabben
- *
- * == BEGIN LICENSE ==
- *
- * Licensed under the terms of any of the following licenses at your
- * choice:
- *
- * - GNU General Public License Version 2 or later (the "GPL")
- * http://www.gnu.org/licenses/gpl.html
- *
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
- * http://www.gnu.org/licenses/lgpl.html
- *
- * - Mozilla Public License Version 1.1 or later (the "MPL")
- * http://www.mozilla.org/MPL/MPL-1.1.html
- *
- * == END LICENSE ==
- *
- * Special Chars Selector dialog window.
- -->
- <html>
- <head>
- <meta name="robots" content="noindex, nofollow">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <style type="text/css">
- .Hand
- {
- cursor: pointer ;
- cursor: hand ;
- }
- .Sample { font-size: 24px; }
- </style>
- <script src="common/fck_dialog_common.js" type="text/javascript"></script>
- <script type="text/javascript">
- var oEditor = window.parent.InnerDialogLoaded() ;
- var oSample ;
- function insertChar(charValue)
- {
- oEditor.FCKUndo.SaveUndoStep() ;
- oEditor.FCK.InsertHtml( charValue || "" ) ;
- window.parent.Cancel() ;
- }
- function over(td)
- {
- if ( ! oSample )
- return ;
- oSample.innerHTML = td.innerHTML ;
- td.className = 'LightBackground SpecialCharsOver Hand' ;
- }
- function out(td)
- {
- if ( ! oSample )
- return ;
- oSample.innerHTML = " " ;
- td.className = 'DarkBackground SpecialCharsOut Hand' ;
- }
- function setDefaults()
- {
- // Gets the sample placeholder.
- oSample = document.getElementById("SampleTD") ;
- // First of all, translates the dialog box texts.
- oEditor.FCKLanguageManager.TranslatePage(document) ;
- window.parent.SetAutoSize( true ) ;
- }
- </script>
- <style type="text/css">
- body, td, input, textarea, select, label { font-family: Arial, Verdana, Geneva, helvetica, sans-serif; font-size: 13px; }
- </style>
- </head>
- <body onload="setDefaults()" style="overflow: hidden">
- <table cellpadding="0" cellspacing="0" width="100%" height="100%">
- <tr>
- <td width="100%">
- <table cellpadding="1" cellspacing="1" align="center" border="0" width="100%" height="100%">
- <script type="text/javascript">
- var aChars = ["!",""","#","$","%","&","\\'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","¬","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"] ;
- var cols = 20 ;
- var i = 0 ;
- while (i < aChars.length)
- {
- document.write("<TR>") ;
- for(var j = 0 ; j < cols ; j++)
- {
- if (aChars[i])
- {
- document.write('<TD width="1%" class="DarkBackground SpecialCharsOut Hand" align="center" onclick="insertChar(\'' + aChars[i].replace(/&/g, "&") + '\')" onmouseover="over(this)" onmouseout="out(this)">') ;
- document.write(aChars[i]) ;
- }
- else
- document.write("<TD class='DarkBackground SpecialCharsOut'> ") ;
- document.write("<\/TD>") ;
- i++ ;
- }
- document.write("<\/TR>") ;
- }
- </script>
- </table>
- </td>
- <td nowrap> </td>
- <td valign="top">
- <table width="40" cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td id="SampleTD" width="40" height="40" align="center" class="DarkBackground SpecialCharsOut Sample"> </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </html>
|