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.
44
1997/07/
06
15
:
21
:
08
grubba Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
45
1997/07/
19
22
:
22
:
14
grubba Exp $";
inherit "roxenlib"; inherit "config/draw_things"; import Array; import Stdio; /* Work-around for Simulate.perror */ #define perror roxen_perror #include <confignode.h>
Roxen.git/server/base_server/mainconfig.pike:534:
if(b = module_nomore(q, a[q][2], node->config())) { if(b->sname != q) res += ({("<p>"+ (roxen->QUERY(BS)?"<h2>"+a[q][0]+"</h2>": "<img alt=\""+a[q][0]+"\" src=/auto/module/" +a[q][2]+"/"+ q+" height=24 width=500>")+ "<br><blockquote>" + a[q][1] + "<p><i>A module of the same type is already enabled (" + b->name + "). <a href=\"/(delete)" + node->descend(b->name, 1)->path(1) + "?" + (bar++) +
-
"\">Disable that module</a> if you want this one
insted
</i>"
+
"\">Disable that module</a> if you want this one
instead
</i>"
"\n<p><br><p></blockquote>")}); } else { res += ({"<p><a href=/(newmodule)"+node->path(1)+"?"+q+"=1>"+ (roxen->QUERY(BS)?"<h2>"+a[q][0]+"</h2>": "<img border=0 alt=\""+a[q][0]+"\" src=/auto/module/" +a[q][2]+"/"+q+" height=24 width=500>")+ "</a><blockquote><br>"+a[q][1]+"<p><br><p></blockquote>"}); } } return res*"";