Roxen.git / server / modules / tags / obox.pike

version» Context lines:

Roxen.git/server/modules/tags/obox.pike:1:   // The outlined box module   //   // Fredrik Noring et al   //   // Several modifications by Francesco Chemolli.       - constant cvs_version = "$Id: obox.pike,v 1.7 1998/03/07 19:03:44 noring Exp $"; + constant cvs_version = "$Id: obox.pike,v 1.8 1999/05/08 06:20:24 neotron Exp $";   constant thread_safe=1;      #include <module.h>   inherit "module";   inherit "roxenlib";      constant unit_gif = "/internal-roxen-unit";      static private int loaded;   
Roxen.git/server/modules/tags/obox.pike:86:    args->outlinecolor,    empty,    args->bgcolor ? " bgcolor=\""+args->bgcolor+"\"" : "",    args->outlinecolor,    empty,    " width="+args->left,    " width="+args->right,    args->outlinecolor,    empty);    case "caption": -  return sprintf("<TR bgcolor=%s>" +  return sprintf("<TR bgcolor=\"%s\">"    "<TD>%s</TD>"    "<TD%s>&nbsp;</TD>"    "<TD>%s%s%s</TD>"    "<TD%s>&nbsp;</TD>"    "<TD>%s</TD></TR>",    args->outlinecolor,    empty,    (args->left ? " width="+args->left : ""),    args->titlecolor ? "<FONT color=\""+args->titlecolor+"\">" : "",    args->title,
Roxen.git/server/modules/tags/obox.pike:128:    contents=parse_html(contents,([]),(["title":handle_title,]),args);    }       switch (name) {    case "obox":    s = "<table border=0 cellpadding=0 cellspacing=0" +    (args->align?" align="+args->align:"") +    (args->width?" width="+args->width:"") + ">\n" +    title(args) +    "<tr" + -  (args->bgcolor?" bgcolor="+args->bgcolor:"") + -  "><td bgcolor=\"" + args->outlinecolor + "\">" + +  (args->bgcolor?" bgcolor=\""+args->bgcolor:"") + +  "\"><td bgcolor=\"" + args->outlinecolor + "\">" +    img_placeholder(args) + "</td>\n"    "<td colspan=3>\n"    "<table border=0 cellspacing=5 "+    (args->spacing?"width="+(string)args->spacing+" ":"")+">"    "<tr><td>\n";       if (args->textcolor) {    s += "<font color=\""+args->textcolor+"\">" + contents + "</font>";    } else {    s += contents;