Branch: Tag:

1996-12-03

1996-12-03 02:04:09 by Per Hedbor <ph@opera.com>

foo

Rev: server/base_server/config/draw_things.pike:1.6
Rev: server/base_server/mainconfig.pike:1.16
Rev: server/etc/newconfig.html:1.2
Rev: server/etc/restart.html:1.2
Rev: server/etc/shutdown.html:1.2

1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.15 1996/12/03 01:17:46 per Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.16 1996/12/03 02:04:06 per Exp $";   inherit "roxenlib";   inherit "config/draw_things";   
11:   #define dB "50"      #define bdR "00" - #define bdG "30" - #define bdB "70" + #define bdG "50" + #define bdB "90"         #define BODY "<body bgcolor=#002050 text=#ffffff link=#ffffaa vlink=#ffffaa alink=#f0e0f0>"
428:      string new_configuration_form()   { -  return replace(read_bytes("etc/newconfig.html"), ({"$COPIES","$configurl"}), +  return replace(default_head("")+read_bytes("etc/newconfig.html"), ({"$COPIES","$configurl"}),    ({configuration_list(),CONFIG_URL})) +    "\n\n<hr noshade><p align=right><a href=http://www.roxen.com/>"+    roxen->real_version +"</a></body>";
552:    "</a><br>"+a[q][1]+"<p><br><p>"});    }    } -  +     return res*""+"</td></tr></table>";   }   
608:    roxen->enable_module("cgi#0");    roxen->enable_module("contenttypes#0");    roxen->enable_module("ismap#0"); -  roxen->enable_module("lpcscript#0"); +  roxen->enable_module("pikescript#0");    roxen->enable_module("htmlparse#0");    roxen->enable_module("directories#0");    roxen->enable_module("userdb#0");
845:   });      constant tab_names = ({ -  "Virtual servers", -  "Global variables", -  "Status info", -  "Error log", +  " Virtual servers ", +  " Global variables ", +  " Status info ", +  " Error log ",   });      
865:    selected_nodes[tabs[2]]+"?"+(bar++),    selected_nodes[tabs[3]]+"?"+(bar++),    }); +  links[search(tabs,s)]="/"+s+"/"+"?"+(bar++);    return tablist(tab_names, links, search(tabs,s));   }   
930:    i=draw_unselected_button(value,button_font);    break;    } -  if(i) r = http_string_answer(i->togif(128,@trans),"image/gif"); +  i->map_closest(i->select_colors(31)+({trans})); +  if(i) r = http_string_answer(i->togif(@trans),"image/gif");    i=0;    cache_set("config_images", in, r);    return r;