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.
6
1996/12/02
04
:
32
:
33
per Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
7
1996/12/02
14
:
14
:
42
per Exp $";
inherit "roxenlib"; inherit "config/draw_things"; #include <confignode.h> #include <module.h> #define BODY (roxen->variables->BG[VAR_VALUE]?"<body background=/image/background.jpg bgcolor=#f0e0a0 text=#000000 link=#0000f0 vlink=#0000f0 alink=#00f000>":"<body>") //#define BODY "<body bgcolor=#ffeeaa text=#000000 link=#0000f0 vlink=#0000f0 alink=#00f000>" #define TABLEP(x, y) (id->supports->tables ? x : y)
Roxen.git/server/base_server/mainconfig.pike:548:
res += ({("<p>"+ (roxen->QUERY(BS)?"<h2>"+a[q][0]+"</h2>": "<img alt=\""+a[q][0]+"\" src=/auto/module/"+ q+" width=500>")+ "<br>"+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>" "\n<p><br><p>")}); } else {
-
res += ({"<p><a href=?"+q+"=1>"+ (roxen->QUERY(BS)?"<h2>"+a[q][0]+"</h2>":
+
res += ({"<p><a href=
"+node->path(1)+"
?"+q+"=1>"+
+
(roxen->QUERY(BS)?"<h2>"+a[q][0]+"</h2>":
"<img border=0 alt=\""+a[q][0]+"\" src=/auto/module/"+ q+" width=500>")+ "</a><br>"+a[q][1]+"<p><br><p>"}); } } return res*""+"</td></tr></table>"; } mapping new_module(object id, object node)