Branch: Tag:

1997-06-12

1997-06-12 00:34:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved image cache.

Rev: server/base_server/mainconfig.pike:1.42

1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.41 1997/06/09 19:07:00 grubba Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.42 1997/06/12 00:34:23 grubba Exp $";   inherit "roxenlib";   inherit "config/draw_things";   
536:    if(b->sname != q)    res += ({("<p>"+    (roxen->QUERY(BS)?"<h2>"+a[q][0]+"</h2>": -  "<img alt=\""+a[q][0]+"\" src=/auto/module/" + +  "<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)" +
547:    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+" height=24 width=500>")+ +  a[q][2]+"/"+q+" height=24 width=500>")+    "</a><blockquote><br>"+a[q][1]+"<p><br><p></blockquote>"});    }    }
907:    switch(key)    {    case "module": +  sscanf(value, "%*d/%s", value);    i = draw_module_header(roxen->allmodules[value][0],    roxen->allmodules[value][2],    module_font);