event refactor, landing on HEAD!
[freeside.git] / httemplate / elements / fckeditor / editor / dialog / fck_specialchar.html
diff --git a/httemplate/elements/fckeditor/editor/dialog/fck_specialchar.html b/httemplate/elements/fckeditor/editor/dialog/fck_specialchar.html
new file mode 100644 (file)
index 0000000..e6d0a5a
--- /dev/null
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >\r
+<!--\r
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben\r
+ *\r
+ * == BEGIN LICENSE ==\r
+ *\r
+ * Licensed under the terms of any of the following licenses at your\r
+ * choice:\r
+ *\r
+ *  - GNU General Public License Version 2 or later (the "GPL")\r
+ *    http://www.gnu.org/licenses/gpl.html\r
+ *\r
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
+ *    http://www.gnu.org/licenses/lgpl.html\r
+ *\r
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")\r
+ *    http://www.mozilla.org/MPL/MPL-1.1.html\r
+ *\r
+ * == END LICENSE ==\r
+ *\r
+ * Special Chars Selector dialog window.\r
+-->\r
+<html>\r
+       <head>\r
+               <meta name="robots" content="noindex, nofollow">\r
+               <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
+               <style type="text/css">\r
+                               .Hand\r
+                               {\r
+                                       cursor: pointer ;\r
+                                       cursor: hand ;\r
+                               }\r
+                               .Sample { font-size: 24px; }\r
+               </style>\r
+               <script type="text/javascript">\r
+\r
+var oEditor = window.parent.InnerDialogLoaded() ;\r
+\r
+var oSample ;\r
+\r
+function insertChar(charValue)\r
+{\r
+       oEditor.FCK.InsertHtml( charValue || "" ) ;\r
+       window.parent.Cancel() ;\r
+}\r
+\r
+function over(td)\r
+{\r
+       oSample.innerHTML = td.innerHTML ;\r
+       td.className = 'LightBackground SpecialCharsOver Hand' ;\r
+}\r
+\r
+function out(td)\r
+{\r
+       oSample.innerHTML = "&nbsp;" ;\r
+       td.className = 'DarkBackground SpecialCharsOut Hand' ;\r
+}\r
+\r
+function setDefaults()\r
+{\r
+       // Gets the sample placeholder.\r
+       oSample = document.getElementById("SampleTD") ;\r
+\r
+       // First of all, translates the dialog box texts.\r
+       oEditor.FCKLanguageManager.TranslatePage(document) ;\r
+}\r
+\r
+               </script>\r
+       </HEAD>\r
+       <BODY onload="setDefaults()" scroll="no">\r
+               <table cellpadding="0" cellspacing="0" width="100%" height="100%">\r
+                       <tr>\r
+                               <td width="100%">\r
+                                       <table cellpadding="1" cellspacing="1" align="center" border="0" width="100%" height="100%">\r
+                                               <script type="text/javascript">\r
+var aChars = ["!","&quot;","#","$","%","&amp;","\\'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","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","{","|","}","~","&euro;","&lsquo;","&rsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&not;","&reg;","&macr;","&deg;","&plusmn;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&raquo;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"] ;\r
+\r
+var cols = 20 ;\r
+\r
+var i = 0 ;\r
+while (i < aChars.length)\r
+{\r
+       document.write("<TR>") ;\r
+       for(var j = 0 ; j < cols ; j++)\r
+       {\r
+               if (aChars[i])\r
+               {\r
+                       document.write('<TD width="1%" class="DarkBackground SpecialCharsOut Hand" align="center" onclick="insertChar(\'' + aChars[i].replace(/&/g, "&amp;") + '\')" onmouseover="over(this)" onmouseout="out(this)">') ;\r
+                       document.write(aChars[i]) ;\r
+               }\r
+               else\r
+                       document.write("<TD class='DarkBackground SpecialCharsOut'>&nbsp;") ;\r
+               document.write("<\/TD>") ;\r
+               i++ ;\r
+       }\r
+       document.write("<\/TR>") ;\r
+}\r
+                                               </script>\r
+                                       </table>\r
+                               </td>\r
+                               <td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>\r
+                               <td valign="top">\r
+                                       <table width="40" cellpadding="0" cellspacing="0" border="0">\r
+                                               <tr>\r
+                                                       <td id="SampleTD" width="40" height="40" align="center" class="DarkBackground SpecialCharsOut Sample">&nbsp;</td>\r
+                                               </tr>\r
+                                       </table>\r
+                               </td>\r
+                       </tr>\r
+               </table>\r
+       </BODY>\r
+</HTML>
\ No newline at end of file