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.79 1997/10/03 17:16:47 grubba Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.80 1997/10/12 21:09:39 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:1190:    node->path(1)+"\">"    "<img border=0 src=\"/image/roxen-icon-gray.gif\" alt=\"\"></a>"    "</td>\n<td align=right valign=center>" + describe_node_path(node) +    "</td>\n<td>&nbsp;</td></tr>\n</table><br>");   }      mapping logged = ([ ]);      void check_login(object id)   { -  if(logged[id->remoteaddr]+1000<time()) -  report_notice("Administrator logged on from "+ -  roxen->blocking_ip_to_host(id->remoteaddr)+"."); -  logged[id->remoteaddr]=time(1); +  if(logged[id->remoteaddr] + 1000 < time()) { +  report_notice("Administrator logged on from " + +  roxen->blocking_ip_to_host(id->remoteaddr) + ".");    } -  +  logged[id->remoteaddr] = time(1); + }      mapping configuration_parse(object id)   {    array (string) res=({});    string tmp;    // Is it an image?    if(sscanf(id->not_query, "/image/%s", tmp))    return file_image(tmp) || (["data":"No such image"]);       object o;