/[mldonkey]/mldonkey/src/daemon/common/commonMessages.ml
ViewVC logotype

Diff of /mldonkey/src/daemon/common/commonMessages.ml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by spiralvoice, Thu Jul 14 14:02:27 2005 UTC revision 1.23 by spiralvoice, Thu Jul 14 15:34:14 2005 UTC
# Line 22  open Gettext Line 22  open Gettext
22  open Options  open Options
23  open Str (* global_replace *)  open Str (* global_replace *)
24    
25      
26  let _s x = _s "CommonMessages" x  let _s x = _s "CommonMessages" x
27  let _b x = _b "CommonMessages" x  let _b x = _b "CommonMessages" x
28      
29  let message_file_name = try  let message_file_name = try
30      Sys.getenv "MLDONKEY_MESSAGES"      Sys.getenv "MLDONKEY_MESSAGES"
31    with _ ->    with _ ->
32        Filename.concat CommonOptions.config_dir "messages.ini"        Filename.concat CommonOptions.config_dir "messages.ini"
33        
       (*  
 let _ =  
   lprintf "Using Message File %s\n" message_file_name;  
   *)    
34    
35  let message_file = Options.create_options_file message_file_name  let message_file = Options.create_options_file message_file_name
36  let message_section = file_section message_file [] ""  let message_section = file_section message_file [] ""
37        
38  let message name t x = define_option message_section [name] "" t x  let message name t x = define_option message_section [name] "" t x
39  let string name x = define_option message_section [name] "" string_option x  let string name x = define_option message_section [name] "" string_option x
40    
# Line 46  let string name x = define_option messag Line 42  let string name x = define_option messag
42    
43  (* Style 0 *)  (* Style 0 *)
44    
45  let html_css_mods0 = define_option message_section ["html_css_mods0"]  let html_css_mods0 = define_option message_section ["html_css_mods0"]
46    "Main CSS style 0"    "Main CSS style 0"
47      string_option        string_option
48  "  "
49  body {  body {
50  background: @C0@; margin-top: 3px; margin-left: 5px; margin-right: 5px;  background: @C0@; margin-top: 3px; margin-left: 5px; margin-right: 5px;
51  font-family: Verdana, sans-serif; font-size: 12px;  font-family: Verdana, sans-serif; font-size: 12px;
52  scrollbar-face-color: @C1@; scrollbar-shadow-color: @C1@;  scrollbar-face-color: @C1@; scrollbar-shadow-color: @C1@;
53  scrollbar-highlight-color: @C3@; scrollbar-3dlight-color: @C34@;  scrollbar-highlight-color: @C3@; scrollbar-3dlight-color: @C34@;
54  scrollbar-darkshadow-color: @C34@; scrollbar-track-color: @C0@;  scrollbar-darkshadow-color: @C34@; scrollbar-track-color: @C0@;
55  scrollbar-arrow-color: @C34@; }  scrollbar-arrow-color: @C34@; }
56  table.commands { border: @C27@ solid 1px; background: @C0@ }  table.commands { border: @C27@ solid 1px; background: @C0@ }
57  table.topcommands { background: @C0@; border: @C27@ solid 1px; border-top: @C3@ solid 1px; border-left: @C3@ solid 1px; }  table.topcommands { background: @C0@; border: @C27@ solid 1px; border-top: @C3@ solid 1px; border-left: @C3@ solid 1px; }
58  pre { color: @C26@; font-family: Courier, Arial, Helvetica, sans-serif; font-size: 12px; }  pre { color: @C26@; font-family: Courier, Arial, Helvetica, sans-serif; font-size: 12px; }
59  p { color: @C26@; font-family: Verdana, Courier, Arial, Helvetica, sans-serif; font-size: 12px; }  p { color: @C26@; font-family: Verdana, Courier, Arial, Helvetica, sans-serif; font-size: 12px; }
60  input.txt { background: @C6@ }  input.txt { background: @C6@ }
# Line 67  font: 12px courier; padding: 0px; Line 63  font: 12px courier; padding: 0px;
63  width: 38px; height: 18px; line-height: 14px; color: @C26@;  width: 38px; height: 18px; line-height: 14px; color: @C26@;
64  border-right: @C35@ 2px solid; border-top: @C27@ 1px solid; border-left: @C27@ 1px solid; border-bottom: @C35@ 2px solid; }  border-right: @C35@ 2px solid; border-top: @C27@ 1px solid; border-left: @C27@ 1px solid; border-bottom: @C35@ 2px solid; }
65  input.but2 { background: @C14@;  input.but2 { background: @C14@;
66  border: 0px; padding: 0px; font: bold 10px verdana;  border: 0px; padding: 0px; font: bold 10px verdana;
67  width: 36px; height: 14px; }  width: 36px; height: 14px; }
68  input.but { background: @C7@ };  input.but { background: @C7@ };
69    
# Line 87  border-top: @C3@ 1px solid; border-left: Line 83  border-top: @C3@ 1px solid; border-left:
83  padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px;  padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px;
84  color: @C26@; background: @C11@; }  color: @C26@; background: @C11@; }
85  .bbigm {  .bbigm {
86  text-align: center; font: bold 10px verdana;  text-align: center; font: bold 10px verdana;
87  border-top: @C3@ 1px solid; border-left: @C3@ 1px solid; border-bottom: @C27@ 1px solid; border-right: @C27@ 1px solid;  border-top: @C3@ 1px solid; border-left: @C3@ 1px solid; border-bottom: @C27@ 1px solid; border-right: @C27@ 1px solid;
88  padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px;  padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px;
89  color: @C26@; background: @C14@; }  color: @C26@; background: @C14@; }
# Line 107  color: @C26@; background: @C14@; } Line 103  color: @C26@; background: @C14@; }
103  .bb4 { border-left: @C5@ solid 1px; border-top: @C3@ solid 1px; border-right: @C27@ solid 1px; border-bottom: @C27@ solid 0px; }  .bb4 { border-left: @C5@ solid 1px; border-top: @C3@ solid 1px; border-right: @C27@ solid 1px; border-bottom: @C27@ solid 0px; }
104  .src { border-left: @C27@ solid 0px; border-top: @C27@ solid 0px; border-right: @C27@ solid 1px; border-bottom: @C27@ solid 1px; }  .src { border-left: @C27@ solid 0px; border-top: @C27@ solid 0px; border-right: @C27@ solid 1px; border-bottom: @C27@ solid 1px; }
105  .srctd { font-family: Verdana; font-size: 8px; }  .srctd { font-family: Verdana; font-size: 8px; }
106  td.fbig { color: @C26@; cursor: pointer; padding-left: 2px; padding-right: 2px; font-family: Verdana; font-size: 10px; background: @C10@;  td.fbig { color: @C26@; cursor: pointer; padding-left: 2px; padding-right: 2px; font-family: Verdana; font-size: 10px; background: @C10@;
107  border-top: @C27@ solid 1px; border-left: @C27@ solid 1px; }  border-top: @C27@ solid 1px; border-left: @C27@ solid 1px; }
108  td.pr { border-right: @C27@ solid 1px; }  td.pr { border-right: @C27@ solid 1px; }
109  td.fbigb { border-top: @C27@ solid 0px; border-bottom: @C27@ solid 1px; }  td.fbigb { border-top: @C27@ solid 0px; border-bottom: @C27@ solid 1px; }
# Line 148  td.ac {text-align: center;} Line 144  td.ac {text-align: center;}
144  .chunk3 { left:0px; top:0px; height:12px; background: @C8@}  .chunk3 { left:0px; top:0px; height:12px; background: @C8@}
145  "  "
146    
147  let html_js_mods0 = define_option message_section ["html_js_mods0"]  let html_js_mods0 = define_option message_section ["html_js_mods0"]
148    "Main JS include style 0"    "Main JS include style 0"
149      string_option        string_option
150  "  "
151  <!--  <!--
152  var mOvrClass='';  var mOvrClass='';
153  function mOvr(src,clrOver) {  function mOvr(src,clrOver) {
154   if (clrOver == undefined) {var clrOver='mOvr1'};   if (clrOver == undefined) {var clrOver='mOvr1'};
155   mOvrClass = src.className;   mOvrClass = src.className;
156   src.className = clrOver + ' ' + mOvrClass + ' ' + clrOver;   src.className = clrOver + ' ' + mOvrClass + ' ' + clrOver;
157  }  }
158  function mOut(src) {  function mOut(src) {
159   src.className=mOvrClass;   src.className=mOvrClass;
# Line 175  function mSub(target,cmd) { Line 171  function mSub(target,cmd) {
171          }          }
172   } else {   } else {
173   location.href=\"submit?q=\" + cmd;   location.href=\"submit?q=\" + cmd;
174   }                 }
175  }  }
176  function showTab(t){  function showTab(t){
177          for (i=1; i<=6; i++) document.getElementById(\"tab\" + i).style.display = \"none\";          for (i=1; i<=6; i++) document.getElementById(\"tab\" + i).style.display = \"none\";
# Line 198  function _tabCreateArray(obj,st){ Line 194  function _tabCreateArray(obj,st){
194                          _raw = _raw.replace((new RegExp('\\\\\\(','gi')), '');                          _raw = _raw.replace((new RegExp('\\\\\\(','gi')), '');
195                     if (_raw.indexOf(\":\") != -1) { _raw = _raw.substring(2,99); }                     if (_raw.indexOf(\":\") != -1) { _raw = _raw.substring(2,99); }
196                   if (_raw.search(new RegExp(\"[TGMk]\",\"i\"))) {                   if (_raw.search(new RegExp(\"[TGMk]\",\"i\"))) {
197                    if (_raw.indexOf(\"T\") != -1) { _raw = parseFloat(_raw) * 1024 * 1024 * 1024 * 1024; }                    if (_raw.indexOf(\"T\") != -1) { _raw = parseFloat(_raw) * 1024 * 1024 * 1024 * 1024; }
198                    else {                    else {
199                          if (_raw.indexOf(\"G\") != -1) { _raw = parseFloat(_raw) * 1024 * 1024 * 1024; }                          if (_raw.indexOf(\"G\") != -1) { _raw = parseFloat(_raw) * 1024 * 1024 * 1024; }
200                          else {                          else {
201                                   if (_raw.indexOf(\"M\") != -1) { _raw = parseFloat(_raw) * 1024 * 1024; }                                   if (_raw.indexOf(\"M\") != -1) { _raw = parseFloat(_raw) * 1024 * 1024; }
202                                   else {                                   else {
203                                          if (_raw.indexOf(\"k\") != -1) { _raw = parseFloat(_raw) * 1024; }                                          if (_raw.indexOf(\"k\") != -1) { _raw = parseFloat(_raw) * 1024; }
204                                   }                                   }
# Line 213  function _tabCreateArray(obj,st){ Line 209  function _tabCreateArray(obj,st){
209          }          }
210          if (st==1) { _tabS.sort(_cmpFloat); }          if (st==1) { _tabS.sort(_cmpFloat); }
211          else { _tabS.sort(_cmpTxt); }          else { _tabS.sort(_cmpTxt); }
212          if (!_tabMode) {_tabS.reverse()}                                  if (!_tabMode) {_tabS.reverse()}
213          for(var i=0;i<_nRows-1;i++){          for(var i=0;i<_nRows-1;i++){
214                          var tr = _tabS[i].ar.cloneNode(true);                          var tr = _tabS[i].ar.cloneNode(true);
215                          var oChild=tb.rows.item(i+1);                          var oChild=tb.rows.item(i+1);
216                          if (i % 2 == 0) { tr.className = 'dl-1'; }                          if (i % 2 == 0) { tr.className = 'dl-1'; }
217                                 else { tr.className = 'dl-2'; }                                 else { tr.className = 'dl-2'; }
218                          tb.replaceChild(tr,oChild);                          tb.replaceChild(tr,oChild);
219          }          }
# Line 242  function _cmpFloat(a,b) { Line 238  function _cmpFloat(a,b) {
238          return (parseFloat(b.s) - parseFloat(a.s));          return (parseFloat(b.s) - parseFloat(a.s));
239  }  }
240  function _tabSort(obj,st){  function _tabSort(obj,st){
241          if (_tabLast==obj) {_tabMode=!(_tabMode);}          if (_tabLast==obj) {_tabMode=!(_tabMode);}
242          else {_tabMode=true;}          else {_tabMode=true;}
243          _tabCreateArray(obj,st);          _tabCreateArray(obj,st);
244          _tabLast=obj;          _tabLast=obj;
# Line 256  top.fstatus.document.writeln(\"<link hre Line 252  top.fstatus.document.writeln(\"<link hre
252  top.fstatus.document.writeln(\"</head><body><center><table width=99% border=0 cellspacing=0 cellpadding=0>\");  top.fstatus.document.writeln(\"</head><body><center><table width=99% border=0 cellspacing=0 cellpadding=0>\");
253  top.fstatus.document.writeln(\"<form action=submit target=$O name=cmdFormular> \" );  top.fstatus.document.writeln(\"<form action=submit target=$O name=cmdFormular> \" );
254  top.fstatus.document.writeln(\"<tr><td width=100% nowrap>\");  top.fstatus.document.writeln(\"<tr><td width=100% nowrap>\");
255  top.fstatus.document.writeln(\" <input class='txt' style='width: 99%; height: 20px; font-size: 12px;\'\");  top.fstatus.document.writeln(\" <input class='txt' style='width: 99%; height: 20px; font-size: 12px;\'\");
256  top.fstatus.document.writeln(\" type=text name=q value=''> </td><td width=1>\");  top.fstatus.document.writeln(\" type=text name=q value=''> </td><td width=1>\");
257  top.fstatus.document.writeln(\" <input class='but' style='color: #FFF; font-weight: 600; height: 20px; font-size: 10px;'\");  top.fstatus.document.writeln(\" <input class='but' style='color: #FFF; font-weight: 600; height: 20px; font-size: 10px;'\");
258  top.fstatus.document.writeln(\"type=submit value=Execute></td></form>\");  top.fstatus.document.writeln(\"type=submit value=Execute></td></form>\");
# Line 266  top.fstatus.document.close(); Line 262  top.fstatus.document.close();
262  //-->  //-->
263    "    "
264    
265  let html_header_mods0 = define_option message_section ["html_header_mods0"]  let html_header_mods0 = define_option message_section ["html_header_mods0"]
266    "Header - style 0"    "Header - style 0"
267      string_option      string_option
268    "    "
269  <title>MLdonkey: Web Interface</title>  <title>MLdonkey: Web Interface</title>
270  <link href=\"h.css\" rel=\"stylesheet\" type=\"text/css\">  <meta name=\"generator\" content=\"MLDonkey\" />
271    <meta name=\"robots\" content=\"noindex,nofollow\" />
272    <link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\" />
273    <link href=\"h.css\" rel=\"stylesheet\" type=\"text/css\" />
274  <script language=\"javascript\" src=\"i.js\">  <script language=\"javascript\" src=\"i.js\">
275  </script>  </script>
276  "  "
277    
278  let download_html_css_mods0 = define_option message_section ["download_html_css_mods0"]  let download_html_css_mods0 = define_option message_section ["download_html_css_mods0"]
279    "Download CSS - style 0"    "Download CSS - style 0"
280      string_option        string_option
281  "  "
282  body{ background-color:@C4@;color: @C26@; font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 13px; margin-top: 10px; margin: 2;}  body{ background-color:@C4@;color: @C26@; font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 13px; margin-top: 10px; margin: 2;}
283  td,pre { color: @C26@; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }  td,pre { color: @C26@; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
# Line 304  td.big { border-top: @C27@ solid 1px; bo Line 303  td.big { border-top: @C27@ solid 1px; bo
303  td.pr { border-right: @C27@ solid 1px; }  td.pr { border-right: @C27@ solid 1px; }
304  .bigbutton { color: @C26@; font-family: Verdana, serif; font-size: 10px; background: @C0@; border: @C0@ solid 1px; cursor: pointer; }  .bigbutton { color: @C26@; font-family: Verdana, serif; font-size: 10px; background: @C0@; border: @C0@ solid 1px; cursor: pointer; }
305  .headbutton {  .headbutton {
306   width: 100%; font-family: Verdana, serif; font-size: 10px; border: @C16@ solid 1px; background: @C16@;   width: 100%; font-family: Verdana, serif; font-size: 10px; border: @C16@ solid 1px; background: @C16@;
307   padding-left: 5px; padding-right: 5px; cursor: pointer; }   padding-left: 5px; padding-right: 5px; cursor: pointer; }
308  tr.dl-1 { background: @C20@; }  tr.dl-1 { background: @C20@; }
309  tr.dl-2 { background: @C21@; }  tr.dl-2 { background: @C21@; }
# Line 317  a.extern:visited,a.extern:hover,a.extern Line 316  a.extern:visited,a.extern:hover,a.extern
316  .extern:hover { color: @C33@; }  .extern:hover { color: @C33@; }
317  "  "
318    
319  let download_html_js_mods0 = define_option message_section ["download_html_js_mods0"]  let download_html_js_mods0 = define_option message_section ["download_html_js_mods0"]
320    "Download JS include style 0"    "Download JS include style 0"
321      string_option        string_option
322  "  "
323  <!--  <!--
324  var mOvrClass='';  var mOvrClass='';
325  function mOvr(src,clrOver) {  function mOvr(src,clrOver) {
326   if (clrOver == undefined) {var clrOver='mOvrDL'};   if (clrOver == undefined) {var clrOver='mOvrDL'};
327   mOvrClass = src.className;   mOvrClass = src.className;
328   src.className = mOvrClass + ' ' + clrOver;   src.className = mOvrClass + ' ' + clrOver;
329  }  }
330  function mOut(src) {  function mOut(src) {
331   src.className=mOvrClass;   src.className=mOvrClass;
332  }  }
333  //-->  //-->
334  "  "
335      
336  let download_html_header_mods0 = define_option message_section ["download_html_header_mods0"]  let download_html_header_mods0 = define_option message_section ["download_html_header_mods0"]
337    "Download header - style 0"    "Download header - style 0"
338      string_option      string_option
339    "    "
340  <title>MLDonkey: Web Interface</title>  <title>MLDonkey: Web Interface</title>
341  <link href=\"dh.css\" rel=\"stylesheet\" type=\"text/css\">  <link href=\"dh.css\" rel=\"stylesheet\" type=\"text/css\">
342  <script language=\"javascript\" src=\"di.js\"></script>  <script language=\"javascript\" src=\"di.js\"></script>
343    "    "
344      
345  let web_common_header_mods0 = define_option message_section ["web_common_header_mods0"]  let web_common_header_mods0 = define_option message_section ["web_common_header_mods0"]
346    "Web header - style 0"    "Web header - style 0"
347      string_option      string_option
348  "  "
349  <!-- Main Table -->  <!-- Main Table -->
350  <TABLE BORDER=0 cellspacing=1 cellpadding=0 width=\"100%\"><TR>  <TABLE BORDER=0 cellspacing=1 cellpadding=0 width=\"100%\"><TR>
# Line 387  onclick=\"showTab(6);mSub('fstatus','ver Line 386  onclick=\"showTab(6);mSub('fstatus','ver
386  <DIV ID=\"tab1\" style=\"display: none\">  <DIV ID=\"tab1\" style=\"display: none\">
387  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">
388  <TBODY><TR>  <TBODY><TR>
389  <TD class=\"bu bbig\" title=\"Current downloads\"  <TD class=\"bu bbig\" title=\"Current downloads\"
390  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
391  onClick=\"mSub('output','vd')\">Downloads</TD>  onClick=\"mSub('output','vd')\">Downloads</TD>
392  <TD class=\"bu bbig\" title=\"Current downloaders\"  <TD class=\"bu bbig\" title=\"Current downloaders\"
393  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
394  onClick=\"mSub('output','downloaders')\">Downloaders</TD>  onClick=\"mSub('output','downloaders')\">Downloaders</TD>
395  <TD class=\"bu bbig\" title=\"Upload statistics\"  <TD class=\"bu bbig\" title=\"Upload statistics\"
396  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
397  onClick=\"mSub('output','upstats')\">Uploads</TD>  onClick=\"mSub('output','upstats')\">Uploads</TD>
398  <TD class=\"bu bbig\" title=\"Uploaders\"  <TD class=\"bu bbig\" title=\"Uploaders\"
399  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
400  onClick=\"mSub('output','uploaders')\">Uploaders</TD>  onClick=\"mSub('output','uploaders')\">Uploaders</TD>
401  <TD class=\"bu bbig\" title=\"Commit downloaded files to incoming directory\"  <TD class=\"bu bbig\" title=\"Commit downloaded files to incoming directory\"
402  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
403  onClick=\"mSub('fstatus','commit')\">Commit</TD>  onClick=\"mSub('fstatus','commit')\">Commit</TD>
404  <TD class=\"bu bbig\" title=\"Check shared files for removal\"  <TD class=\"bu bbig\" title=\"Check shared files for removal\"
405  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
406  onClick=\"mSub('fstatus','reshare')\">Reshare</TD>  onClick=\"mSub('fstatus','reshare')\">Reshare</TD>
407  <TD class=\"bu bbig\" title=\"List contents of the temp directory\"  <TD class=\"bu bbig\" title=\"List contents of the temp directory\"
408  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
409  onClick=\"mSub('output','scan_temp')\">Scan temp</TD>  onClick=\"mSub('output','scan_temp')\">Scan temp</TD>
410  <TD class=\"bu bbig\" title=\"Bandwidth statistics (set html_mods_bw_refresh_delay)\"  <TD class=\"bu bbig\" title=\"Bandwidth statistics (set html_mods_bw_refresh_delay)\"
411  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
412  onClick=\"mSub('fstatus','bw_stats')\">Bandwidth stats</TD>  onClick=\"mSub('fstatus','bw_stats')\">Bandwidth stats</TD>
413  </TR></TBODY></TABLE></DIV>  </TR></TBODY></TABLE></DIV>
# Line 416  onClick=\"mSub('fstatus','bw_stats')\">B Line 415  onClick=\"mSub('fstatus','bw_stats')\">B
415  <DIV ID=\"tab2\" style=\"display: none\">  <DIV ID=\"tab2\" style=\"display: none\">
416  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">
417  <TBODY><TR>  <TBODY><TR>
418  <TD class=\"bu bbig\" title=\"Extend search to more servers and view results\"  <TD class=\"bu bbig\" title=\"Extend search to more servers and view results\"
419  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
420  onClick=\"mSub('fstatus','xs');mSub('output','vr');\">Extend search</TD>  onClick=\"mSub('fstatus','xs');mSub('output','vr');\">Extend search</TD>
421  <TD class=\"bu bbig\" title=\"View search results\"  <TD class=\"bu bbig\" title=\"View search results\"
422  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
423  onClick=\"mSub('output','vr')\">Search results</TD>  onClick=\"mSub('output','vr')\">Search results</TD>
424  <TD class=\"bu bbig\" title=\"View searches\"  <TD class=\"bu bbig\" title=\"View searches\"
425  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
426  onClick=\"mSub('output','vs')\">View searches</TD>  onClick=\"mSub('output','vs')\">View searches</TD>
427  <TD class=\"bu bbig\" title=\"Complex search\"  <TD class=\"bu bbig\" title=\"Complex search\"
428  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
429  onClick=\"mSub('output','custom=Complex+Search')\">Complex search</TD>  onClick=\"mSub('output','custom=Complex+Search')\">Complex search</TD>
430  <TD class=\"bu bbig\" title=\"MP3 search\"  <TD class=\"bu bbig\" title=\"MP3 search\"
431  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
432  onClick=\"mSub('output','custom=MP3+Search')\">MP3 search</TD>  onClick=\"mSub('output','custom=MP3+Search')\">MP3 search</TD>
433  <TD class=\"bu bbig\" title=\"Movie search\"  <TD class=\"bu bbig\" title=\"Movie search\"
434  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
435  onClick=\"mSub('output','custom=Movie+Search')\">Movie search</TD>  onClick=\"mSub('output','custom=Movie+Search')\">Movie search</TD>
436  <TD class=\"bu bbig\" title=\"Album search\"  <TD class=\"bu bbig\" title=\"Album search\"
437  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
438  onClick=\"mSub('output','custom=Album+Search')\">Album search</TD>  onClick=\"mSub('output','custom=Album+Search')\">Album search</TD>
439  <TD class=\"bu bbig\" title=\"Force download (click after trying to download the duplicate file)\"  <TD class=\"bu bbig\" title=\"Force download (click after trying to download the duplicate file)\"
440  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
441  onClick=\"mSub('fstatus','force_download')\">Force DL</TD>  onClick=\"mSub('fstatus','force_download')\">Force DL</TD>
442  <TD class=\"bu bbig\" title=\"View RSS feeds\"  <TD class=\"bu bbig\" title=\"View RSS feeds\"
443  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
444  onClick=\"mSub('output','rss')\">RSS</TD>  onClick=\"mSub('output','rss')\">RSS</TD>
445  </TR></TBODY></TABLE></DIV>  </TR></TBODY></TABLE></DIV>
# Line 448  onClick=\"mSub('output','rss')\">RSS</TD Line 447  onClick=\"mSub('output','rss')\">RSS</TD
447  <DIV ID=\"tab3\" style=\"display: none\">  <DIV ID=\"tab3\" style=\"display: none\">
448  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">
449  <TBODY><TR>  <TBODY><TR>
450  <TD class=\"bu bbig\" title=\"List connected servers\"  <TD class=\"bu bbig\" title=\"List connected servers\"
451  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
452  onClick=\"mSub('output','vm')\">Connected servers</TD>  onClick=\"mSub('output','vm')\">Connected servers</TD>
453  <TD class=\"bu bbig\" title=\"List all servers\"  <TD class=\"bu bbig\" title=\"List all servers\"
454  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
455  onClick=\"mSub('output','vma')\">All servers</TD>  onClick=\"mSub('output','vma')\">All servers</TD>
456  <TD class=\"bu bbig\" title=\"Connect to more servers\"  <TD class=\"bu bbig\" title=\"Connect to more servers\"
457  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
458  onClick=\"mSub('fstatus','c')\">Connect to more servers</TD>  onClick=\"mSub('fstatus','c')\">Connect to more servers</TD>
459  <TD class=\"bu bbig\" title=\"Remove old servers\"  <TD class=\"bu bbig\" title=\"Remove old servers\"
460  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
461  onClick=\"mSub('fstatus','remove_old_servers')\">Remove old servers</TD>  onClick=\"mSub('fstatus','remove_old_servers')\">Remove old servers</TD>
462  <TD class=\"bu bbig\" title=\"Open Serverlist\"  <TD class=\"bu bbig\" title=\"Open Serverlist\"
463  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
464  onClick=\"top.output.location.href='http://ed2k.2x4u.de/list.html'\">Serverlist</TD>  onClick=\"top.output.location.href='http://ed2k.2x4u.de/list.html'\">Serverlist</TD>
465  </TR></TBODY></TABLE></DIV>  </TR></TBODY></TABLE></DIV>
466  <DIV ID=\"tab4\" style=\"display: none\">  <DIV ID=\"tab4\" style=\"display: none\">
467  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">
468  <TBODY><TR>  <TBODY><TR>
469  <TD class=\"bu bbig\" title=\"eDonkey statistics in a table\"  <TD class=\"bu bbig\" title=\"eDonkey statistics in a table\"
470  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
471  onClick=\"mSub('output','cs')\">eDonkey Table</TD>  onClick=\"mSub('output','cs')\">eDonkey Table</TD>
472  <TD class=\"bu bbig\" title=\"eMule MODs statistics\"  <TD class=\"bu bbig\" title=\"eMule MODs statistics\"
473  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
474  onClick=\"mSub('output','csm')\">eMule MODs</TD>  onClick=\"mSub('output','csm')\">eMule MODs</TD>
475  <TD class=\"bu bbig\" title=\"Overnet statistics\"  <TD class=\"bu bbig\" title=\"Overnet statistics\"
476  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
477  onClick=\"mSub('output','ov_stats')\">Overnet</TD>  onClick=\"mSub('output','ov_stats')\">Overnet</TD>
478  <TD class=\"bu bbig\" title=\"Kademlia statistics\"  <TD class=\"bu bbig\" title=\"Kademlia statistics\"
479  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
480  onClick=\"mSub('output','kad_stats')\">Kademlia</TD>  onClick=\"mSub('output','kad_stats')\">Kademlia</TD>
481  <TD class=\"bu bbig\" title=\"Gnutella statistics\"  <TD class=\"bu bbig\" title=\"Gnutella statistics\"
482  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
483  onClick=\"mSub('output','gstats')\">Gnutella</TD>  onClick=\"mSub('output','gstats')\">Gnutella</TD>
484  <TD class=\"bu bbig\" title=\"Gnutella2 statistics\"  <TD class=\"bu bbig\" title=\"Gnutella2 statistics\"
485  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
486  onClick=\"mSub('output','g2stats')\">Gnutella2</TD>  onClick=\"mSub('output','g2stats')\">Gnutella2</TD>
487  <TD class=\"bu bbig\" title=\"Memory statistics\"  <TD class=\"bu bbig\" title=\"Memory statistics\"
488  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
489  onClick=\"mSub('output','mem_stats 0')\">Memory</TD>  onClick=\"mSub('output','mem_stats 0')\">Memory</TD>
490  <TD class=\"bu bbig\" title=\"Sources statistics\"  <TD class=\"bu bbig\" title=\"Sources statistics\"
491  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
492  onClick=\"mSub('output','sources')\">Sources</TD>  onClick=\"mSub('output','sources')\">Sources</TD>
493  </TR></TBODY></TABLE></DIV>  </TR></TBODY></TABLE></DIV>
# Line 496  onClick=\"mSub('output','sources')\">Sou Line 495  onClick=\"mSub('output','sources')\">Sou
495  <DIV ID=\"tab5\" style=\"display: none\">  <DIV ID=\"tab5\" style=\"display: none\">
496  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">
497  <TBODY><TR>  <TBODY><TR>
498  <TD class=\"bu bbig\" title=\"Settings\"  <TD class=\"bu bbig\" title=\"Settings\"
499  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
500  onClick=\"mSub('output','voo+1')\">Settings</TD>  onClick=\"mSub('output','voo+1')\">Settings</TD>
501  <TD class=\"bu bbig\" title=\"View/edit shared directories\"  <TD class=\"bu bbig\" title=\"View/edit shared directories\"
502  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
503  onClick=\"mSub('output','shares')\">Shares</TD>  onClick=\"mSub('output','shares')\">Shares</TD>
504  <TD class=\"bu bbig\" title=\"Friends\"  <TD class=\"bu bbig\" title=\"Friends\"
505  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
506  onClick=\"mSub('output','friends')\">Friends</TD>  onClick=\"mSub('output','friends')\">Friends</TD>
507  <TD class=\"bu bbig\" title=\"View/send messages (20 second refresh)\"  <TD class=\"bu bbig\" title=\"View/send messages (20 second refresh)\"
508  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
509  onClick=\"mSub('output','message')\">Messages</TD>  onClick=\"mSub('output','message')\">Messages</TD>
510  <TD class=\"bu bbig\" title=\"IP blocking statistics\"  <TD class=\"bu bbig\" title=\"IP blocking statistics\"
511  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
512  onClick=\"mSub('output','block_list')\">IP blocking</TD>  onClick=\"mSub('output','block_list')\">IP blocking</TD>
513  <TD class=\"bu bbig\" title=\"Recover files from temp directory\"  <TD class=\"bu bbig\" title=\"Recover files from temp directory\"
514  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
515  onClick=\"mSub('fstatus','recover_temp');mSub('output','scan_temp');\">Recover temp</TD>  onClick=\"mSub('fstatus','recover_temp');mSub('output','scan_temp');\">Recover temp</TD>
516  <TD class=\"bu bbig\" title=\"Close all files (use to free space on disk after remove)\"  <TD class=\"bu bbig\" title=\"Close all files (use to free space on disk after remove)\"
517  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
518  onClick=\"mSub('fstatus','close_fds')\">Close files</TD>  onClick=\"mSub('fstatus','close_fds')\">Close files</TD>
519  <TD class=\"bu bbig\" title=\"View all clients\"  <TD class=\"bu bbig\" title=\"View all clients\"
520  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
521  onClick=\"mSub('output','vc+all')\">View clients</TD>  onClick=\"mSub('output','vc+all')\">View clients</TD>
522  <TD class=\"bu bbig\" title=\"View web infos\"  <TD class=\"bu bbig\" title=\"View web infos\"
523  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
524  onClick=\"mSub('output','vwi')\">View web infos</TD>  onClick=\"mSub('output','vwi')\">View web infos</TD>
525  </TR></TBODY></TABLE></DIV>  </TR></TBODY></TABLE></DIV>
# Line 528  onClick=\"mSub('output','vwi')\">View we Line 527  onClick=\"mSub('output','vwi')\">View we
527  <DIV ID=\"tab6\" style=\"display: none\">  <DIV ID=\"tab6\" style=\"display: none\">
528  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">  <TABLE class=commands cellSpacing=0 cellPadding=0 width=\"100%\">
529  <TBODY><TR>  <TBODY><TR>
530  <TD class=\"bu bbig\" title=\"Long help\"  <TD class=\"bu bbig\" title=\"Long help\"
531  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
532  onClick=\"mSub('output','longhelp')\">LongHelp</TD>  onClick=\"mSub('output','longhelp')\">LongHelp</TD>
533  <TD class=\"bu bbig\" title=\"Network listing\"  <TD class=\"bu bbig\" title=\"Network listing\"
534  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
535  onClick=\"mSub('output','networks')\">Networks</TD>  onClick=\"mSub('output','networks')\">Networks</TD>
536  <TD class=\"bu bbig\" title=\"Buildinfo\"  <TD class=\"bu bbig\" title=\"Buildinfo\"
537  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
538  onClick=\"mSub('output','buildinfo')\">Buildinfo</TD>  onClick=\"mSub('output','buildinfo')\">Buildinfo</TD>
539  <TD class=\"bu bbig\" title=\"View ChangeLog\"  <TD class=\"bu bbig\" title=\"View ChangeLog\"
540  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
541  onClick=\"top.output.location.href='http://savannah.nongnu.org/cgi-bin/viewcvs/mldonkey/mldonkey/distrib/ChangeLog?rev=HEAD&content-type=text/vnd.viewcvs-markup'\">ChangeLog</TD>  onClick=\"top.output.location.href='http://savannah.nongnu.org/cgi-bin/viewcvs/mldonkey/mldonkey/distrib/ChangeLog?rev=HEAD&content-type=text/vnd.viewcvs-markup'\">ChangeLog</TD>
542  <TD class=\"bu bbig\" title=\"HomePage\"  <TD class=\"bu bbig\" title=\"HomePage\"
543  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
544  onClick=\"top.output.location.href='http://www.mldonkey.net/'\">Homepage</TD>  onClick=\"top.output.location.href='http://www.mldonkey.net/'\">Homepage</TD>
545  <TD class=\"bu bbig\" title=\"Wiki (User updated FAQ/documentation)\"  <TD class=\"bu bbig\" title=\"Wiki (User updated FAQ/documentation)\"
546  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
547  onClick=\"top.output.location.href='http://mldonkey.berlios.de/modules.php?name=Wiki'\">Wiki</TD>  onClick=\"top.output.location.href='http://mldonkey.berlios.de/modules.php?name=Wiki'\">Wiki</TD>
548  <TD class=\"bu bbig\" title=\"Support forums (english/german)\"  <TD class=\"bu bbig\" title=\"Support forums (english/german)\"
549  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
550  onClick=\"top.output.location.href='http://www.mldonkeyworld.com/'\">Support forums</TD>  onClick=\"top.output.location.href='http://www.mldonkeyworld.com/'\">Support forums</TD>
551  <TD class=\"bu bbig\" title=\"View core log\"  <TD class=\"bu bbig\" title=\"View core log\"
552  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
553  onClick=\"mSub('output','log')\">Log</TD>  onClick=\"mSub('output','log')\">Log</TD>
554  <TD class=\"bu bbig\" title=\"Kill core\"  <TD class=\"bu bbig\" title=\"Kill core\"
555  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"  onMouseOver=\"mOvr(this,'mOvr1');\" onMouseOut=\"mOut(this);\"
556  onClick=\"mSub('output','kill')\">Kill core</TD>  onClick=\"mSub('output','kill')\">Kill core</TD>
557  </TR></TBODY></TABLE></DIV>  </TR></TBODY></TABLE></DIV>
# Line 563  onClick=\"mSub('output','kill')\">Kill c Line 562  onClick=\"mSub('output','kill')\">Kill c
562  let html_css_old = define_option message_section  let html_css_old = define_option message_section
563    ["html_css_old"]    ["html_css_old"]
564    "The old css"    "The old css"
565      string_option        string_option
566    "    "
567  body,th,td { background-color:#EAE8CF;color: #3F702E; font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px; }  body,th,td { background-color:#EAE8CF;color: #3F702E; font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px; }
568  a { text-decoration: none; }  a { text-decoration: none; }
569  a:hover { text-decoration: underline; color: #660000; }  a:hover { text-decoration: underline; color: #660000; }
570  a:link,a:active,a:visited { color: #660000; }  a:link,a:active,a:visited { color: #660000; }
571  a.extern:visited,a.extern:active { color: #000099; }  a.extern:visited,a.extern:active { color: #000099; }
572  a.extern:hover { color: #000000; }  a.extern:hover { color: #000000; }
573    "    "
574    
575  let html_js_old = define_option message_section  let html_js_old = define_option message_section
576    ["html_js_old"]    ["html_js_old"]
577    "The old js"    "The old js"
578      string_option        string_option
579    "    "
580  <!--  <!--
581  function CheckInput(){  function CheckInput(){
582  var cmdString = document.cmdFormular.q.value;  var cmdString = document.cmdFormular.q.value;
583  return true;  return true;
584  }  }
585  //-->  //-->
586    "    "
587    
588  let html_header_old = define_option message_section ["html_header_old"]  let html_header_old = define_option message_section ["html_header_old"]
589    "The header used in the WEB interface (modify to add your CSS)"    "The header used in the WEB interface (modify to add your CSS)"
590      string_option        string_option
591    "<title>MLDonkey: Web Interface</title>    "<title>MLDonkey: Web Interface</title>
592  <link href=\"h.css\" rel=\"stylesheet\" type=\"text/css\">  <link href=\"h.css\" rel=\"stylesheet\" type=\"text/css\">
593  <script language=\"javascript\" src=\"i.js\"></script>  <script language=\"javascript\" src=\"i.js\"></script>
594      "      "
595      
596  let download_html_css_old = define_option message_section ["download_html_css_old"]  let download_html_css_old = define_option message_section ["download_html_css_old"]
597    "The small CSS)"    "The small CSS)"
598      string_option        string_option
599    "    "
600  body { background-color: #EAE8CF; color: #3F702E; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 2; }  body { background-color: #EAE8CF; color: #3F702E; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 2; }
601  td,pre {color: #3F702E; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }  td,pre {color: #3F702E; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
# Line 611  a:hover { color: #000000; text-decoratio Line 610  a:hover { color: #000000; text-decoratio
610  a.extern:visited,a.extern:active { color: #000099; }  a.extern:visited,a.extern:active { color: #000099; }
611  a.extern:hover { color: #000000; }  a.extern:hover { color: #000000; }
612    "    "
613      
614  let download_html_js_old = define_option message_section ["download_html_js_old"]  let download_html_js_old = define_option message_section ["download_html_js_old"]
615    "The old js"    "The old js"
616      string_option        string_option
617  "  "
618  <!--  <!--
619  //-->  //-->
620    "    "
621      
622  let download_html_header_old = define_option message_section ["download_html_header_old"]  let download_html_header_old = define_option message_section ["download_html_header_old"]
623    "The header used in the WEB interface for downloads (modify to add your CSS)"    "The header used in the WEB interface for downloads (modify to add your CSS)"
624      string_option        string_option
625    "    "
626  <title>MLdonkey: Web Interface</title>  <title>MLdonkey: Web Interface</title>
627  <link href=\"dh.css\" rel=\"stylesheet\" type=\"text/css\">  <link href=\"dh.css\" rel=\"stylesheet\" type=\"text/css\">
# Line 676  let web_common_header_old = define_optio Line 675  let web_common_header_old = define_optio
675    </table>    </table>
676  "  "
677    
     
678  let available_commands_are = _s  "Available commands are:\n"  let available_commands_are = _s  "Available commands are:\n"
679      
680  let main_commands_are = _s  "Main commands are:\n"  let main_commands_are = _s  "Main commands are:\n"
681    
682  let command_not_authorized = _s "Command not authorized\n use 'auth <user> <password>' before."  let command_not_authorized = _s "Command not authorized\n use 'auth <user> <password>' before."
683    
684  let bad_login = _s  "Bad login/password"  let bad_login = _s  "Bad login/password"
685      
686  let full_access = _s "Full access enabled"  let full_access = _s "Full access enabled"
687    
688  let download_started = message "download_started"  let download_started = message "download_started"
# Line 692  let download_started = message "download Line 690  let download_started = message "download
690    
691  let no_such_command  = message "no_such_command"  let no_such_command  = message "no_such_command"
692      (T.boption (T.string T.bformat))   "No such command %s\n"      (T.boption (T.string T.bformat))   "No such command %s\n"
     
 let bad_number_of_args = _s    "Bad number of arguments"  
   
 (* Colour arrays  
693    
694  Main CSS :  let bad_number_of_args = _s    "Bad number of arguments"
   
 body { background: @C0@;      
 scrollbar-face-color: @C1@; scrollbar-shadow-color: @C1@;  
 scrollbar-highlight-color: @C3@; scrollbar-3dlight-color: @C34@;  
 scrollbar-darkshadow-color: @C34@; scrollbar-track-color: @C0@;  
 scrollbar-arrow-color: @C34@; }  
 table.commands { border: @C27@; background: @C0@;}  
 table.topcommands { background: @C0@; border: @C27@; border-top: @C3@; border-left: @C3@;}  
 pre { color: @C26@; }  
 p { color: @C26@; }  
 input.txt { background: @C6@; }  
 input.txt2 { background: @C11@; color: @C26@;  
 border-right: @C35@; border-top: @C27@; border-left: @C27@; border-bottom: @C35@; }  
 input.but2 { background: @C14@; }  
 input.but { background: @C7@; }  
 a:link,a:active,a:visited { color: @C28@; }  
 a:hover { color: @C29@; }  
 .bu { background: @C8@; color: @C9@; border: @C35@; }  
 .bbig { border-top: @C3@;  border-left: @C3@;  border-bottom: @C27@;  border-right: @C27@;  
 color: @C26@; background: @C11@; }  
 .bbigm { border-top: @C3@; border-left: @C3@; border-bottom: @C27@; border-right: @C27@;  
 color: @C26@; background: @C14@; }  
 .bsmall { background: @C12@; }  
 .bsmall1 { background: @C11@; }  
 .bsmall2 { background: @C13@; }  
 .bsmall3 { background: @C14@; }  
 .bbig2 { background: @C14@; }  
 .bbig3 { background: @C1@; }  
 .b1 { border-left: @C15@; border-top: @C15@; border-right: @C15@; border-bottom: @C15@; }  
 .b2 { border-left: @C15@; border-top: @C15@; border-right: @C15@; border-bottom: @C15@; }  
 .b3 { border-left: @C15@; border-top: @C15@; border-right: @C15@; border-bottom: @C15@; }  
 .b4 { border-left: @C15@; border-top: @C15@; border-right: @C15@; border-bottom: @C15@; }  
 .bb1 { border-left: @C27@; border-top: @C3@; border-right: @C3@; border-bottom: @C27@; }  
 .bb2 { border-left: @C5@; border-top: @C3@; border-right: @C3@; border-bottom: @C27@; }  
 .bb3 { border-left: @C5@; border-top: @C3@; border-right: @C27@; border-bottom: @C27@; }  
 .bb4 { border-left: @C5@; border-top: @C3@; border-right: @C27@; border-bottom: @C27@; }  
 .src { border-left: @C27@; border-top: @C27@; border-right: @C27@; border-bottom: @C27@; }  
 td.fbig { background: @C10@; border-top: @C27@; border-left: @C27@; }  
 td.pr { border-right: @C27@; }  
 td.fbigb { border-top: @C27@; border-bottom: @C27@; }  
 td.sr { color: @C26@; }  
 td.srp { color: @C36@; }  
 td.srw { color: @C26@; }  
 td.srh { vertical-align: top; background: @C16@; color: @C26@; }  
 tr.dl-1, td.dl-1 { background: @C20@; }  
 tr.dl-2, td.dl-2 { background: @C21@; }  
 .mOvr1, tr.mOvr1 {background: @C17@; }  
 .mOvr2, tr.mOvr2 {background: @C18@; }  
 .mOvr3, tr.mOvr3 {background: @C19@; }  
 table.uploaders, table.friends, table.bw_stats, table.vo, table.cs, table.servers,  
 table.shares, table.downloaders, table.scan_temp, table.upstats, table.messages,  
 table.shares, table.vc, table.results, table.networkInfo { border: @C27@; }  
 table.sourcesInfo, table.serversC { border: @C27@; }  
 table.sources { border: @C27@;}  
 td.srb { border-right: @C27@; border-bottom: @C27@;  
 border-left: @C27@; border-top: @C27@; }  
 td.br { border-right: @C27@;}  
 .chunk0;{ background: @C22@}  
 .chunk1 { background: @C23@}  
 .chunk2 { background: @C2@}  
 .chunk3 { background: @C8@}  
   
 Download CSS  
 body{ background-color:@C4@; color: @C26@; }  
 td,pre { color: @C26@; }  
 table.downloaders { border: @C27@;}  
 td.loaded{ background-color:@C24@; }  
 td.remain{ background-color:@C25@; }  
 td.downloaded{ color: @C26@;}  
 td.dl { color: @C26@;  }  
 td.dlheader { color: @C26@;    
 border-bottom: ( background: @C16@; }  
 input.checkbox { background: @C16@; }  
 td.sr { color: @C26@; }  
 td.brs { border-right: @C27@; }  
 td.big { border-top: @C27@;  border-left: @C27@; }  
 td.pr { border-right: @C27@; }  
 .bigbutton { background: @C0@; border: @C0@; color: @C26@; }  
 .headbutton { border: @C16@; background: @C16@; }  
 tr.dl-1 { background: @C20@; }  
 tr.dl-2 { background: @C21@; }  
 tr.mOvrDL, .mOvrDL { background: @C17@;  }  
 a:link,a:active,a:visited { color: @C30@; }  
 a:hover { color: @C31@; }  
 a.extern:visited,a.extern:hover,a.extern:active { color: @C32@; }  
 .extern:hover { color: @C33@; }  
   
 0 - background                       13 - bsmall2 - (options, memstats)  
 1 - scrollbar face                   14 - bsmall3 - (load onet peers)  
 2 - chunk2                           15 - border color of top buttons  
 3 - scrollbar highlight color        16 - table header background  
 4 - vd page background               17 - mOver1 back  
 5 - big buttons, border highlight    18 - mOver2 back  
 6 - input.txt                        19 - mOver3 back  
 7 - input.but                        20 - dl-1 back  
 8 - chunk3                           21 - dl-2 back  
 9 - foreground text for top buttons  22 - chunk0  
 10 - fbig background (tabs)          23 - chunk1  
 11 - bbig background (vma button)    24 - vd downloaded  
 12 - bsmall back (Help!)             25 - vd remaining  
   
 26 - general text  
 27 - general border  
 28 - anchor  
 29 - anchor hover  
 30 - download anchor  
 31 - download hover anchor  
 32 - external anchor  
 33 - external hover anchor  
 34 - some scrollbar  
 35 - some border  
 36 - one td text  
 *)  
695    
696  let ncarr = ref 7  let ncarr = ref 7
697  let carr = Array.create !ncarr [||]  let carr = Array.create !ncarr [||]
698  let _ = (  let _ = (
699      (* Default green *)          (* Default green *)
700      carr.(0) <- [| "#CBE5CB"; "#94AE94";  "#33F"; "#E5FFE5"; "#B2CCB2";      carr.(0) <- [| "#CBE5CB"; "#94AE94";  "#33F"; "#E5FFE5"; "#B2CCB2";
701                      "#E5E5E5"; "#BADEBA"; "#A3BDA3"; "#00F"; "#3D3D3D";                      "#E5E5E5"; "#BADEBA"; "#A3BDA3"; "#00F"; "#3D3D3D";
702                      "#86BE86"; "#B2CCB2"; "#BCD6BC"; "#A8C2A8"; "#A3BDA3";                      "#86BE86"; "#B2CCB2"; "#BCD6BC"; "#A8C2A8"; "#A3BDA3";
# Line 839  let _ = ( Line 720  let _ = (
720                      "#FFF"; "#EEE"; "#4DBCF0"; "#48C1DC"; "#63C3F0"; "#EEE";                      "#FFF"; "#EEE"; "#4DBCF0"; "#48C1DC"; "#63C3F0"; "#EEE";
721                      "#000"; "#000"; "#000"; "#000"; "#000"; "#000";                      "#000"; "#000"; "#000"; "#000"; "#000"; "#000";
722                      "#000"; "#000099"; "#000"; "FFF"; "#555" |];                      "#000"; "#000099"; "#000"; "FFF"; "#555" |];
723      (* Light purple *)                      (* Light purple *)
724      carr.(3) <- [| "#CAB2E4"; "#9982B3";  "#C29FE8"; "#E1D7ED"; "#BEA5DA";      carr.(3) <- [| "#CAB2E4"; "#9982B3";  "#C29FE8"; "#E1D7ED"; "#BEA5DA";
725                      "#E6E6E6"; "#BE9EE3"; "#A68FC0"; "#D9B6FF"; "#000";                      "#E6E6E6"; "#BE9EE3"; "#A68FC0"; "#D9B6FF"; "#000";
726                      "#9360CD"; "#B29DCC"; "#BDA5D7"; "#AB94C5"; "#A68FC0";                      "#9360CD"; "#B29DCC"; "#BDA5D7"; "#AB94C5"; "#A68FC0";
# Line 885  let colour_changer () = Line 766  let colour_changer () =
766        html_css_mods := global_replace (Str.regexp (Printf.sprintf "@C%d@" i))        html_css_mods := global_replace (Str.regexp (Printf.sprintf "@C%d@" i))
767         carr.(!mstyle).(i) !html_css_mods;         carr.(!mstyle).(i) !html_css_mods;
768        download_html_css_mods := global_replace (Str.regexp (Printf.sprintf "@C%d@" i))        download_html_css_mods := global_replace (Str.regexp (Printf.sprintf "@C%d@" i))
769         carr.(!mstyle).(i) !download_html_css_mods         carr.(!mstyle).(i) !download_html_css_mods
770       ) carr.(!mstyle)       ) carr.(!mstyle)
771      
772  let load_message_file () =  let load_message_file () =
773    (    (
774    
775  (* Don't bother loading it for most users so their settings will always be current,  (* Don't bother loading it for most users so their settings will always be current,
776     without having to delete message_section for each new version.     without having to delete message_section for each new version.
777     Users can set _load_message_section true if they want to modify and use their own.     Users can set _load_message_section true if they want to modify and use their own.
778     (reload_messages command)     (reload_messages command)
779  *)  *)
780          if (not !!CommonOptions.html_mods) || (!!CommonOptions.html_mods && !!CommonOptions.html_mods_load_message_file) then begin          if (not !!CommonOptions.html_mods) || (!!CommonOptions.html_mods && !!CommonOptions.html_mods_load_message_file) then begin

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26