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.11 1999/05/08 06:23:26 neotron Exp $"; + constant cvs_version = "$Id: obox.pike,v 1.12 1999/05/24 23:50:28 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:135:    }       switch (name) {    case "obox":    s = title(args);    s = "<table border=0 cellpadding=0 cellspacing=0" +    (args->align?" align="+args->align:"") +    (args->width ? " width=" + args->width : "") + ">\n" +    s +    "<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" + (args->width && !args->fixedleft && !args->fixedright ? " width=1" : "") +    (args->aligncontents ? " align=" + args->aligncontents : "") + " colspan=3" + ">\n"    "<table border=0 cellspacing=0 cellpadding=" + (args->padding || "5") +    (args->spacing?" width="+(string)args->spacing:"")+">"    "<tr><td>\n";       if (args->textcolor) {    s += "<font color=\""+args->textcolor+"\">" + contents + "</font>";    } else {
Roxen.git/server/modules/tags/obox.pike:173:    return ({    MODULE_PARSER,    ([    "standard":"Outlined box",    "svenska":"Ramlåda",    ]),    ([    "standard":    "This is a container tag making outlined boxes.<p>"    "<tt>&lt;obox help&gt;&lt;/obox&gt;</tt> gives help.\n\n " -  "<obox title=example>contents</obox>", +  +doc(),    "svenska":    "<tt>&lt;obox help&gt;&lt;/obox&gt;</tt> är en tag som ramar "    "in det som står i den. <obox title=exempel>innehåll</obox>",    ]), 0, 1 });   }      void start(int num, object configuration)   {    loaded = 1;   }      mapping query_container_callers()   {    return ([ "obox":container_obox, ]);   }