Roxen.git/
server/
base_server/
mainconfig.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1997-08-21
1997-08-21 14:10:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>
5aab84dd06b83f66810b1a299aa3f186fedcee70 (
16
lines) (+
7
/-
9
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed bug.
Rev: server/base_server/mainconfig.pike:1.76
1:
inherit "config/builders";
-
string cvs_version = "$Id: mainconfig.pike,v 1.
75
1997/08/21 10:
50:24
per
Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
76
1997/08/21
14:
10:
26
grubba
Exp $";
//inherit "roxenlib"; inherit "config/draw_things";
725:
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] +
+
res += ({("<p><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 instead</i>" "\n<p><br><p></blockquote>")}); } else {
-
res += ({"<p><a href=\"/(addmodule)"+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>"
)+
+
res += ({"<p><a href=\"/(addmodule)"+node->path(1)+"?"+q+"=1\">"
+
"<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>"}); } }