Roxen.git / server / base_server / mainconfig.pike

version» Context lines:

Roxen.git/server/base_server/mainconfig.pike:1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.91 1998/01/20 16:20:50 grubba Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.92 1998/02/05 00:59:16 js Exp $";   //inherit "roxenlib";   import Image;      inherit "config/draw_things";      import Array;   import Stdio;      string status_row(object node);   string display_tabular_header(object node);
Roxen.git/server/base_server/mainconfig.pike:282:    {    case "ssl":    prt = "https://";    break;       default:    prt = port[1]+"://";    }    if(port[2] && port[2]!="ANY")    prt += port[2]; + #if efun(gethostname)    else    prt += (gethostname()/".")[0] + "." +    (glob ? roxen->get_domain() : server->query("Domain")); -  + #endif +     prt += ":"+port[0]+"/";    if(prt != def)    res += sprintf(" <input type=radio name=\"%s\" value=\"%s\"> %s\n",    name, prt, prt);       }    res += sprintf(" <input type=radio checked value=own name=\"%s\"> "    "<input size=70 name=\"%s->own\" "    "value=\"%s\">\n</pre><p>",    name, name, def);