Roxen.git / server / base_server / mainconfig.pike

version» Context lines:

Roxen.git/server/base_server/mainconfig.pike:1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.8 1996/12/02 14:19:18 peter Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.9 1996/12/02 14:27:15 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="+node->path(1)+"?"+q+"=1>"+ +  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/"+    q+" width=500>")+    "</a><br>"+a[q][1]+"<p><br><p>"});    }    }       return res*""+"</td></tr></table>";   }