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.
105
1998/07/
04
13:
17:
10
grubba Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
106
1998/07/
07
17:
16: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);
Roxen.git/server/base_server/mainconfig.pike:1486:
Inside #if 0
case "rename": if(o->type == NODE_CONFIGURATION) { mv("configurations/"+o->data->name, "configurations/"+id->variables->name); o->data->name=id->variables->name; } break; #endif /* 0 */
-
/* This only asks "do you really want to...", it does not delete
-
* the node */
-
+
/* Clear any memory caches associated with this configuration */ case "zapcache": object c = o->config(); if (c && c->clear_memory_caches) { c->clear_memory_caches(); } break;
-
+
/* This only asks "do you really want to...", it does not delete
+
* the node */
case "delete": PUSH(default_head("Roxen Configuration")+ status_row(o)); // PUSH("<hr noshade>"); switch(o->type) { case NODE_CONFIGURATION: PUSH("<font size=\"+2\">Do you really want to delete the configuration "+ o->data->name + ", all its modules and their copies?"
Roxen.git/server/base_server/mainconfig.pike:1649:
// Create a new configuration. All the work is done in another // function.. This _should_ be the case with some of the other // actions too. case "newconfig": id->referer = ({ CONFIG_URL + o->path(1) }); return new_configuration(id);
-
// When a port has been changed the admin
are
prompted to
+
// When a port has been changed the admin
is
prompted to
// change the server URL. This is where we come when we are // done. case "modify_server_url": string srv, url; object thenode; foreach(indices(id->variables), string var) { if(sscanf(var, "%s->own", srv)) {