ILIAS
eassessment Revision 61809
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
dlg_ins_char.php
Go to the documentation of this file.
1
<!--
2
################################################################################
3
##
4
## HTML Text Editing Component for hosting in Web Pages
5
## Copyright (C) 2001 Ramesys (Contracting Services) Limited
6
##
7
## This library is free software; you can redistribute it and/or
8
## modify it under the terms of the GNU Lesser General Public
9
## License as published by the Free Software Foundation; either
10
## version 2.1 of the License, or (at your option) any later version.
11
##
12
## This library is distributed in the hope that it will be useful,
13
## but WITHOUT ANY WARRANTY; without even the implied warranty of
14
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
## Lesser General Public License for more details.
16
##
17
## You should have received a copy of the GNU LesserGeneral Public License
18
## along with this program; if not a copy can be obtained from
19
##
20
## http://www.gnu.org/copyleft/lesser.html
21
##
22
## or by writing to:
23
##
24
## Free Software Foundation, Inc.
25
## 59 Temple Place - Suite 330,
26
## Boston,
27
## MA 02111-1307,
28
## USA.
29
##
30
## Original Developer:
31
##
32
## Austin David France
33
## Ramesys (Contracting Services) Limited
34
## Mentor House
35
## Ainsworth Street
36
## Blackburn
37
## Lancashire
38
## BB1 6AY
39
## United Kingdom
40
## email: Austin.France@Ramesys.com
41
##
42
## Home Page: http://richtext.sourceforge.net/
43
## Support: http://richtext.sourceforge.net/
44
##
45
################################################################################
46
-->
47
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
48
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
49
<head>
50
<title>Sonderzeichen</title>
51
<meta http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
52
<link rel=
"stylesheet"
type=
"text/css"
href=
"dialog.css"
/>
53
<link rel=
"stylesheet"
type=
"text/css"
href=
"ui.css"
/>
54
<script type=
"text/javascript"
src=
"charmap.js"
></script>
55
56
<script type=
"text/javascript"
src=
"popup.js"
></script>
57
<script type=
"text/javascript"
>
58
//<![CDATA[
59
function
Init() {
60
__dlg_init();
61
}
62
/* var chars = ["!",""","#","$","%","&","'","(",")","*","+","-",".","/","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","{","|","}","~","€","ƒ","„","…","†","‡","ˆ","\‰","Š","‹","Œ","‘","’","’","“","”","•","–","—","˜","™","š","›","œ","Ÿ","¡","¢","£","£","¤","¥","¦","§","¨","©","ª","«","¬","","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ü","ý","þ","ÿ"]
63
64
function tab(w,h) {
65
var strtab = ["<table border='0' cellspacing='0' cellpadding='0' align='center' bordercolor='#dcdcdc' bgcolor='#C0C0C0'>"]
66
var k = 0;
67
for(var i = 0; i < w; i++) {
68
strtab[strtab.length] = "<tr>";
69
for(var j = 0; j < h; j++) {
70
strtab[strtab.length] = "<td class='chr' width='14' align='center' onClick='getchar(this)' onMouseOver='hover(this,true)' onMouseOut='hover(this,false)'>"+(chars[k]||'')+"</td>";
71
k++;
72
}
73
strtab[strtab.length]="</tr>";
74
}
75
strtab[strtab.length] = "</table>";
76
return strtab.join("\n");
77
}
78
79
function hover(obj,val) {
80
if (!obj.innerHTML) {
81
obj.style.cursor = "default";
82
return;
83
}
84
obj.style.border = val ? "1px solid black" : "1px solid #dcdcdc";
85
//obj.style.backgroundColor = val ? "black" : "#C0C0C0"
86
//obj.style.color = val ? "white" : "black";
87
}*/
88
function
getchar(sChar) {
89
__dlg_close(sChar);
90
return
false
;
91
}
92
function
cancel() {
93
__dlg_close(null);
94
return
false
;
95
}
96
//]]>
97
</script>
98
99
</head>
100
<body
id
=
"charmap"
onload=
"Init()"
>
101
<table align=
"center"
border=
"0"
cellspacing=
"0"
cellpadding=
"2"
>
102
<tr>
103
<td colspan=
"2"
class
=
"title"
>Sonderzeichen</td>
104
</tr>
105
<tr>
106
<td
id
=
"charmapView"
rowspan=
"2"
align=
"left"
valign=
"top"
>
107
</td>
108
<td width=
"100"
align=
"center"
valign=
"top"
>
109
<table border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100"
style=
"height:100px"
>
110
<tr>
111
<td
id
=
"codeV"
> </td>
112
</tr>
113
<tr>
114
<td
id
=
"codeN"
> </td>
115
</tr>
116
</table>
117
</td>
118
</tr>
119
<tr>
120
<td valign=
"bottom"
style=
"padding-bottom: 3px;"
>
121
<table width=
"100"
align=
"center"
border=
"0"
cellpadding=
"2"
cellspacing=
"0"
>
122
<tr>
123
<td align=
"center"
style=
"border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;"
>HTML-Code</td>
124
</tr>
125
<tr>
126
<td style=
"font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;"
id
=
"codeA"
align=
"center"
> </td>
127
</tr>
128
<tr>
129
<td style=
"font-size: 1px;"
> </td>
130
</tr>
131
<tr>
132
<td align=
"center"
style=
"border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;"
>NUM-Code</td>
133
</tr>
134
<tr>
135
<td style=
"font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;"
id
=
"codeB"
align=
"center"
> </td>
136
</tr>
137
</table>
138
</td>
139
</tr>
140
</table>
141
<script type=
"text/javascript"
>
142
document.getElementById(
'charmapView'
).innerHTML = renderCharMapHTML();
143
</script>
144
145
</body>
146
</html>
147
148
149
150
151
Services
InsertChar
dlg_ins_char.php
Generated on Mon Apr 25 2016 19:01:32 for ILIAS by
1.8.1.2 (using
Doxyfile
)