2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array();
28 $this->unindent = array();
32 $this->stringchars = array(
"\"",
"'");
33 $this->delimiters = array(
"~",
"!",
"$",
"^",
"&",
"*",
"(",
")",
"+",
"=",
"|",
"\\",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
" ",
".",
"?");
38 $this->linecommenton = array(
"//");
39 $this->blockcommenton = array(
"%{");
40 $this->blockcommentoff = array(
"%}");
44 $this->keywords = array(
45 "%html_report" =>
"1",
60 "%include_url" =>
"1",
64 "%sql_message" =>
"1",
74 "dtw_applet_alttext" =>
"2",
75 "dtw_current_filename" =>
"2",
76 "dtw_current_last_modified" =>
"2",
78 "dtw_default_report" =>
"2",
80 "dtw_html_table" =>
"2",
82 "dtw_macro_filename" =>
"2",
83 "dtw_macro_last_modified" =>
"2",
85 "dtw_mp_version" =>
"2",
89 "dtw_print_header" =>
"2",
91 "dtw_save_table_in" =>
"2",
92 "dtw_set_total_rows" =>
"2",
102 "num_columns" =>
"2",
104 "return_code" =>
"2",
106 "rpt_max_rows" =>
"2",
109 "transaction_scope" =>
"2",
112 "@dtw_addquote" =>
"3",
113 "@dtw_raddquote" =>
"3",
114 "@dtw_maddquote" =>
"3",
117 "@dtw_getenv" =>
"3",
118 "@dtw_rgetenv" =>
"3",
119 "@dtw_getinidata" =>
"3",
120 "@dtw_rgetinidata" =>
"3",
121 "@dtw_htmlencode" =>
"3",
122 "@dtw_rhtmlencode" =>
"3",
123 "@dtw_qhtmlencode" =>
"3",
124 "@dtw_rqhtmlencode" =>
"3",
125 "@dtw_setenv" =>
"3",
126 "@dtw_rsetenv" =>
"3",
129 "@dtw_urlescseq" =>
"3",
130 "@dtw_rurlescseq" =>
"3",
133 "@dtw_divide" =>
"3",
134 "@dtw_rdivide" =>
"3",
135 "@dtw_divrem" =>
"3",
136 "@dtw_rdivrem" =>
"3",
137 "@dtw_format" =>
"3",
138 "@dtw_rformat" =>
"3",
139 "@dtw_intdiv" =>
"3",
140 "@dtw_rintdiv" =>
"3",
141 "@dtw_multiply" =>
"3",
142 "@dtw_rmultiply" =>
"3",
144 "@dtw_rpower" =>
"3",
145 "@dtw_subtract" =>
"3",
146 "@dtw_rsubtract" =>
"3",
147 "@dtw_assign" =>
"3",
148 "@dtw_concat" =>
"3",
149 "@dtw_rconcat" =>
"3",
150 "@dtw_delstr" =>
"3",
151 "@dtw_rdelstr" =>
"3",
152 "@dtw_insert" =>
"3",
153 "@dtw_rinsert" =>
"3",
154 "@dtw_lastpos" =>
"3",
155 "@dtw_rlastpos" =>
"3",
156 "@dtw_length" =>
"3",
157 "@dtw_rlength" =>
"3",
158 "@dtw_lowercase" =>
"3",
159 "@dtw_rlowercase" =>
"3",
160 "@dtw_mlowercase" =>
"3",
163 "@dtw_reverse" =>
"3",
164 "@dtw_rreverse" =>
"3",
166 "@dtw_rstrip" =>
"3",
167 "@dtw_substr" =>
"3",
168 "@dtw_rsubstr" =>
"3",
169 "@dtw_translate" =>
"3",
170 "@dtw_rtranslate" =>
"3",
171 "@dtw_uppercase" =>
"3",
172 "@dtw_ruppercase" =>
"3",
173 "@dtw_muppercase" =>
"3",
174 "@dtw_delword" =>
"3",
175 "@dtw_rdelword" =>
"3",
176 "@dtw_subword" =>
"3",
177 "@dtw_rsubword" =>
"3",
180 "@dtw_wordindex" =>
"3",
181 "@dtw_rwordindex" =>
"3",
182 "@dtw_wordlength" =>
"3",
183 "@dtw_rwordlength" =>
"3",
184 "@dtw_wordpos" =>
"3",
185 "@dtw_rwordpos" =>
"3",
187 "@dtw_rwords" =>
"3",
188 "@dtw_tb_dlist" =>
"3",
189 "@dtw_tb_dumph" =>
"3",
190 "@dtw_tb_dumpv" =>
"3",
191 "@dtw_tb_htmlencode" =>
"3",
192 "@dtw_tb_input_checkbox" =>
"3",
193 "@dtw_tb_input_radio" =>
"3",
194 "@dtw_tb_input_text" =>
"3",
195 "@dtw_tb_list" =>
"3",
196 "@dtw_tb_select" =>
"3",
197 "@dtw_tb_table" =>
"3",
198 "@dtw_tb_textarea" =>
"3",
199 "@dtwf_append" =>
"3",
200 "@dtwf_close" =>
"3",
201 "@dtwf_delete" =>
"3",
202 "@dtwf_insert" =>
"3",
205 "@dtwf_remove" =>
"3",
206 "@dtwf_search" =>
"3",
207 "@dtwf_update" =>
"3",
208 "@dtwf_write" =>
"3",
209 "@dtwr_addentry" =>
"3",
210 "@dtwr_clearreg" =>
"3",
211 "@dtwr_createreg" =>
"3",
212 "@dtwr_delentry" =>
"3",
213 "@dtwr_delreg" =>
"3",
214 "@dtwr_listreg" =>
"3",
215 "@dtwr_listsub" =>
"3",
216 "@dtwr_rtventry" =>
"3",
217 "@dtwr_rrtventry" =>
"3",
218 "@dtwr_updateentry" =>
"3",
293 "<BLOCKQUOTE>" =>
"5",
294 "<BLOCKQUOTE" =>
"5",
295 "</BLOCKQUOTE>" =>
"5",
320 "</COLGROUP>" =>
"5",
350 "</FIELDSET>" =>
"5",
359 "</FRAMESET>" =>
"5",
426 "</MULTICOL>" =>
"5",
431 "</NOFRAMES>" =>
"5",
437 "</NOSCRIPT>" =>
"5",
447 "</OPTGROUP>" =>
"5",
508 "</TEXTAREA>" =>
"5",
539 "ACCEPT-CHARSET=" =>
"6",
548 "BACKGROUND=" =>
"6",
553 "CELLPADDING=" =>
"6",
554 "CELLSPACING=" =>
"6",
582 "FRAMEBORDER=" =>
"6",
583 "FRAMESPACING=" =>
"6",
590 "HTTP-EQUIV=" =>
"6",
600 "MARGINHEIGHT=" =>
"6",
601 "MARGINWIDTH=" =>
"6",
615 "ONKEYPRESS=" =>
"6",
623 "ONDBLCLICK=" =>
"6",
624 "ONMOUSEDOWN=" =>
"6",
625 "ONMOUSEMOVE=" =>
"6",
626 "ONMOUSEOUT=" =>
"6",
627 "ONMOUSEOVER=" =>
"6",
673 $this->linkscripts = array(