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.67 1997/08/13 22:07:20 grubba Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.68 1997/08/13 22:10:09 grubba 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);      /* Work-around for Simulate.perror */
Roxen.git/server/base_server/mainconfig.pike:526:    return res;   }      string configuration_types()   {    string res="";    foreach(get_dir("server_templates"), string c)    {    array err;    if (err = catch { -  if(c[-1]=='e' || c[0]!='#') { +  if(c[-1]=='e' && c[0]!='#') {    object o = get_template(c); -  +  if (o) {    res += sprintf("<option value=\"%s\"%s>%s\n", -  c, -  (o->selected?" selected":""), -  o->name); +  c, (o->selected?" selected":""), o->name);    } -  +  }    }) {    report_error(sprintf("Error initializing server template \"%s\"\n"    "%s\n", c, describe_backtrace(err)));    }    }    return res;   }      string describe_config_modules(array mods)   {