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.122 1999/05/14 02:42:29 neotron Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.123 1999/05/14 02:49:27 neotron Exp $";   //inherit "roxenlib";      inherit "config/draw_things";      // import Array;   // import Stdio;      string status_row(object node);   string display_tabular_header(object node);   object get_template(string t);
Roxen.git/server/base_server/mainconfig.pike:879:    string varname;    if(!sizeof(id->variables))    return stores(new_module_form(id, node));    if(id->variables->_add_new_modules) {    // Compact mode.    array toadd = id->variables->_add_new_modules/"\0" - ({""});    foreach(toadd[1..], varname)    new_module_copy(node, varname, id);    varname = toadd[0];    } else -  varname = id->variables->_newmodule; +  varname = indices(id->variables)[0];    return new_module_copy(node, varname, id);   }      string ot;   object oT;   object get_template(string t)   {    t-=".pike";    if(ot==t) return oT; ot=t;    return (oT = compile_file("server_templates/"+t+".pike")());