ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_vtml.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3 if (!isset ($BEAUT_PATH)) return;
4 require_once("$BEAUT_PATH/Beautifier/HFile.php");
5  class HFile_vtml extends HFile{
6  function HFile_vtml(){
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // VTML
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "1";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array();
33 $this->delimiters = array("~", "!", "@", "$", "%", "^", "&", "*", "(", ")", "+", "|", "\\", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("");
39 $this->blockcommenton = array("<!--");
40 $this->blockcommentoff = array("-->");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "<ATTRIB" => "1",
46  "<ATTRIBUTES>" => "1",
47  "</ATTRIBUTES>" => "1",
48  "<CONTAINER" => "1",
49  "</CONTAINER>" => "1",
50  "<CONTROL" => "1",
51  "<EDITORLAYOUT" => "1",
52  "</EDITORLAYOUT>" => "1",
53  "<TAG>" => "1",
54  "<TAG" => "1",
55  "</TAG>" => "1",
56  "<TAGLAYOUT>" => "1",
57  "</TAGLAYOUT>" => "1",
58  "<WIZBREAK>" => "1",
59  "<WIZCONTINUE>" => "1",
60  "<WIZIF" => "1",
61  "</WIZIF>" => "1",
62  "<WIZELSE>" => "1",
63  "<WIZLOOP" => "1",
64  "</WIZLOOP>" => "1",
65  "<WZISET" => "1",
66  "ALIGN=" => "2",
67  "ALLOWDECIMALPOINT=" => "2",
68  "ALLOWNEGATIVE=" => "2",
69  "ANCHOR=" => "2",
70  "ATTRIBUTES" => "2",
71  "AUTOSELECT=" => "2",
72  "AUTOSIZE=" => "2",
73  "BODYEDITING=" => "2",
74  "CAPTION=" => "2",
75  "CENTER=" => "2",
76  "CHARCASE=" => "2",
77  "CHECKED=" => "2",
78  "CONDITION=" => "2",
79  "CONTROL=" => "2",
80  "CORNER=" => "2",
81  "DEFAULT=" => "2",
82  "DIRONLY=" => "2",
83  "DOWN=" => "2",
84  "DSNAMECONTROL=" => "2",
85  "EDITABLE=" => "2",
86  "FILENAMEONLY=" => "2",
87  "FILEPATH=" => "2",
88  "FILTER=" => "2",
89  "FROM=" => "2",
90  "HEIGHT=" => "2",
91  "HORIZRESIZE=" => "2",
92  "INDEX=" => "2",
93  "LFHEIGHT=" => "2",
94  "LFWIDTH=" => "2",
95  "LIST=" => "2",
96  "MAXHEIGHTPADDING=" => "2",
97  "MAXLENGTH=" => "2",
98  "MAXWIDTHPADDING=" => "2",
99  "MULTILINE=" => "2",
100  "NAME=" => "2",
101  "PASSWORDCHAR=" => "2",
102  "QUERYNAMECONTROL=" => "2",
103  "RELATIVE=" => "2",
104  "RIGHT=" => "2",
105  "SCROLLBAR=" => "2",
106  "SELECTED=" => "2",
107  "STEP=" => "2",
108  "TO=" => "2",
109  "TRANSPARENT=" => "2",
110  "TYPE=" => "2",
111  "VALIGN=" => "2",
112  "VALUE=" => "2",
113  "VERTRESIZE=" => "2",
114  "WIDTH=" => "2",
115  "WRAP=" => "2");
116 
117 // Special extensions
118 
119 // Each category can specify a PHP function that returns an altered
120 // version of the keyword.
121 
122 
123 
124 $this->linkscripts = array(
125  "1" => "donothing",
126  "2" => "donothing");
127 }
128 
129 
130 function donothing($keywordin)
131 {
132  return $keywordin;
133 }
134 
135 }?>