Subversion Repositories Applications.papyrus

Rev

Rev 1087 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1075 ddelon 1
<!--
2
 * FCKeditor - The text editor for internet
3
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4
 *
5
 * Licensed under the terms of the GNU Lesser General Public License:
6
 * 		http://www.opensource.org/licenses/lgpl-license.php
7
 *
8
 * For further information visit:
9
 * 		http://www.fckeditor.net/
10
 *
11
 * "Support Open Source software. What about a donation today?"
12
 *
13
 * File Name: fck_specialchar.html
14
 * 	Special Chars Selector dialog window.
15
 *
16
 * File Authors:
17
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
18
-->
19
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
20
<html>
21
	<head>
22
		<meta name="robots" content="noindex, nofollow">
23
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
24
		<style type="text/css">
25
				.Hand
26
				{
27
					cursor: pointer ;
28
					cursor: hand ;
29
				}
30
				.Sample { font-size: 24px; }
31
		</style>
32
		<script type="text/javascript">
33
 
34
var oEditor = window.parent.InnerDialogLoaded() ;
35
 
36
var oSample ;
37
 
38
function insertChar(charValue)
39
{
40
	oEditor.FCK.InsertHtml( charValue || "" ) ;
41
	window.parent.Cancel() ;
42
}
43
 
44
function over(td)
45
{
46
	oSample.innerHTML = td.innerHTML ;
47
	td.className = 'LightBackground SpecialCharsOver Hand' ;
48
}
49
 
50
function out(td)
51
{
52
	oSample.innerHTML = "&nbsp;" ;
53
	td.className = 'DarkBackground SpecialCharsOut Hand' ;
54
}
55
 
56
function setDefaults()
57
{
58
	// Gets the sample placeholder.
59
	oSample = document.getElementById("SampleTD") ;
60
 
61
	// First of all, translates the dialog box texts.
62
	oEditor.FCKLanguageManager.TranslatePage(document) ;
63
}
64
 
65
		</script>
66
	</HEAD>
67
	<BODY onload="setDefaults()" scroll="no">
68
		<table cellpadding="0" cellspacing="0" width="100%" height="100%">
69
			<tr>
70
				<td width="100%">
71
					<table cellpadding="1" cellspacing="1" align="center" border="0" width="100%" height="100%">
72
						<script type="text/javascript">
73
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;"] ;
74
 
75
var cols = 20 ;
76
 
77
var i = 0 ;
78
while (i < aChars.length)
79
{
80
	document.write("<TR>") ;
81
	for(var j = 0 ; j < cols ; j++)
82
	{
83
		if (aChars[i])
84
		{
85
			document.write('<TD width="1%" class="DarkBackground SpecialCharsOut Hand" align="center" onclick="insertChar(\'' + aChars[i].replace(/&/g, "&amp;") + '\')" onmouseover="over(this)" onmouseout="out(this)">') ;
86
			document.write(aChars[i]) ;
87
		}
88
		else
89
			document.write("<TD class='DarkBackground SpecialCharsOut'>&nbsp;") ;
90
		document.write("<\/TD>") ;
91
		i++ ;
92
	}
93
	document.write("<\/TR>") ;
94
}
95
						</script>
96
					</table>
97
				</td>
98
				<td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>
99
				<td valign="top">
100
					<table width="40" cellpadding="0" cellspacing="0" border="0">
101
						<tr>
102
							<td id="SampleTD" width="40" height="40" align="center" class="DarkBackground SpecialCharsOut Sample">&nbsp;</td>
103
						</tr>
104
					</table>
105
				</td>
106
			</tr>
107
		</table>
108
	</BODY>
109
</HTML>