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.
103
1998/04/
15
14
:
44
:
20
grubba
Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
104
1998/04/
24
08
:
40
:
14
per
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:1309:
// Automatically generated image? if(sscanf(id->not_query, "/auto/%s", tmp)) return auto_image(tmp,id) || (["data":"No such image"]); o = find_node(id->not_query); // Find the requested node (from the filename) if(!o) // Bad node, perhaps an old bookmark or something. { id->referer = ({ });
+
foreach(indices(selected_nodes), string n)
+
if(selected_nodes[n] == id->not_query)
+
selected_nodes[n] = "/"+n;
return std_redirect(0, id); } else if(o == root) { // The URL is http://config-url/, not one of the top nodes, but // _above_ them. This is supposed to be some nice introductory // text about the configuration interface... // We also need to determine wether this is the full or the // lobotomized international version. int full_version=0;