Roxen.git
/
server
/
base_server
/
mainconfig.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/mainconfig.pike:1:
inherit "config/builders";
-
string cvs_version = "$Id: mainconfig.pike,v 1.
97
1998/
02
/
20
23
:
54
:
55
noring
Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
98
1998/
03
/
08
12
:
31
:
56
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);
Roxen.git/server/base_server/mainconfig.pike:940:
n2 = node->descend("Configuration interface", 1)->descend("User", 1); n2->data[VAR_VALUE] = roxen->QUERY(ConfigurationUser); n2->change(1); root->save(); return std_redirect(root, id); } }
-
res = default_head("Welcome to Roxen Challenger");
+
res = default_head("Welcome to Roxen Challenger
"
+
+
roxen->__roxen_version__ + "." + roxen->__roxen_build__
);
res += Stdio.read_bytes("etc/welcome.html"); if(error && strlen(error)) res += "<blockquote>\n<p><b>"+error+"</b>"; res += ("<table border=0 bgcolor=black><tr><td><table cellspacing=0 border=0 cellpadding=3 bgcolor=#e0e0ff>" "<tr><td colspan=2><center><h1>Please complete this form.</h1></center>" "</td></tr>" "<form action=\"/(initial)/Globals/\">" "<tr><td align=right>User name</td><td><input name=user type=string></td></tr>\n"
Roxen.git/server/base_server/mainconfig.pike:1291:
// We also need to determine wether this is the full or the // lobotomized international version. int full_version=0; catch { if (sizeof(indices(master()->resolv("_Crypto")))) { full_version = 1; } };
-
return http_string_answer(default_head("Roxen Challenger")+
+
return http_string_answer(default_head("Roxen Challenger
"
+
+
roxen->__roxen_version__ + "." +
+
roxen->__roxen_build__
)+
status_row(root)+ display_tabular_header(root)+ Stdio.read_bytes(full_version?"etc/config.html": "etc/config.int.html"), "text/html"); } if(sizeof(id->prestate)) { switch(indices(id->prestate)[0]) {