-
Notifications
You must be signed in to change notification settings - Fork 11
/
area.php
85 lines (83 loc) · 2.94 KB
/
area.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
/******************************************************************************
* *
* area.php, v 0.00 2007/07/23 - This is part of xBB library *
* Copyright (C) 2006-2007 Dmitriy Skorobogatov [email protected] *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
* *
******************************************************************************/
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>xBBArea</title>
<meta name="author" content="Dmitriy Skorobogatov" />
<style type="text/css">
body {
font-family: 'Monaco', 'Courier New', monospace;
color: #000000;
margin: 0px;
padding: 0px;
}
span.bb_spec_char {
color: #000099;
}
span.bb_mnemonic {
color: #ff0000;
}
span.bb_tag {
color: #009900;
}
span.bb_bracket {
font-weight: bold;
}
span.bb_slash {
font-weight: normal;
}
span.bb_tagname {
color: #990099;
}
span.bb_equal {
color: #999900;
}
span.bb_quote {
color: #009999;
}
span.bb_attrib_name {
color: #999900;
}
span.bb_attrib_val {
color: #009999;
}
span.bb_autolink {
color: #0000ff;
}
</style>
<script type="text/javascript">
onload = function() {
document.designMode = 'on';
// Для Gecko устанавливаем такой режим, чтобы форматирование ставилось
// тегами, а не стилями. Чтобы MSIE не выдавал ошибку, прячем это в
// конструкцию try-catch
try {
document.execCommand("useCSS", false, true);
} catch(e) {}
}
</script>
</head>
<body contenteditable="true"></body>
</html>