class_mcCONST.inc.php
1018 Bytes
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
<?php
class mcCONST {
/**
* @var constant -- old ::$zeilenumbruch
*/
const LINEBREAK = '
';
/**
* @var constant -- old ::$tab
*/
const TAB = ' ';
/**
* @var int Anzahl der Zeilen die vor und nach der Warnung mit ausgegeben werden soll
*/
const CODEOFFSET = 3;
/**
* arrays gehen leider noch nicht als CONSTante
* @var array
*/
public static $HTMLTAGS2TEXT = array(
'<i style="font-size:10;color:gray;">' => '[',
'<i>' => '[',
'</i>' => ']',
"<li>" => "* ",
"</li>" => "",
"<ul>" => "\t",
"</ul>" => "",
"<p>" => "\n",
"</p>" => "\n",
"<b>" => " __",
"</b>" => "__ ",
"<span title='Rekursionstiefe'>" => "",
"</span>" => "",
'<h2>' => "\n______________________________\n",
'</h2>' => "\n##############################\n",
'<h1>' => "\n______________________________\n",
'</h1>' => "\n##############################\n##############################\n",
'<pre>' => "",
'</pre>' => "",
'<br>' => "\n",
'<br/>' => "\n",
'<br />' => "\n",
);
}
?>