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.
85
1997/12/15
01
:
25
:
53
grubba
Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
86
1997/12/15
02
:
04
:
49
peter
Exp $";
//inherit "roxenlib"; import Image; inherit "config/draw_things"; import Array; import Stdio; string status_row(object node); string display_tabular_header(object node);
Roxen.git/server/base_server/mainconfig.pike:530:
// http://www:22020//Configuration/ -> http://www:22202/Configurations/ loc = replace(replace(replace(loc, "://", ""), "//", "/"), "", "://"); return http_redirect(http_decode_string(loc)); } string configuration_list() { string res="";
+
/* FIXME
object o; foreach(roxen->configurations, o) res += "<option>Copy of '"+o->name+"'\n";
-
+
*/
return res; } string configuration_types() { string res=""; foreach(get_dir("server_templates"), string c) { array err; if (err = catch {
Roxen.git/server/base_server/mainconfig.pike:607:
configuration_types()+configuration_list()+"</select></tr>" "</td>\n" "<tr><td colspan=2><table><tr><td align=left>" "<input type=submit name=ok value=\" Ok \"></td>" "<td align=right>" "<input type=submit name=no value=\" Cancel \"></td></tr>\n" "</table></td></tr></table></td></tr>\n</table>\n" + "<p>The only thing the type change is the initial " "configuration of the server.\n" "<p>The types are:<dl>\n" + configuration_docs() +
+
/* FIXME
"<dt><b>Copy of ...</b>:\n" "<dd>Make an exact copy of the mentioned virtual server.\n" "You should change at least the listen ports.<p>\n" "This can be very useful, since you can make 'template' virtual " "servers (servers without any open ports), that you can copy later "
-
"on.\n</dl>\n</body>\n");
+
"on.\n
"
+
*/
+
"
</dl>\n</body>\n");
} mapping module_nomore(string name, int type, object conf) { mapping module; object o; // perror("Module: "+name+"\n"); if((module = conf->modules[name]) && (!module->copies && module->enabled))