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

version» Context lines:

Roxen.git/server/modules/tags/obox.pike:1:   // The outlined box module, Copyright © 1996 - 2001, Roxen IS.   //   // Fredrik Noring et al   //   // Several modifications by Francesco Chemolli.       - constant cvs_version = "$Id: obox.pike,v 1.39 2002/06/14 10:34:58 nilsson Exp $"; + constant cvs_version = "$Id: obox.pike,v 1.40 2002/10/22 00:19:14 nilsson Exp $";   constant thread_safe=1;      #include <module.h>   inherit "module";      constant module_type = MODULE_TAG;   constant module_name = "Tags: Outlined box";   constant module_doc =    ("This module provides the <tt>&lt;obox&gt;</tt> tag that "    "draws outlined boxes.");
Roxen.git/server/modules/tags/obox.pike:85:    args->bgcolor ? " bgcolor=\""+args->bgcolor+"\"" : "",    args->outlinecolor,    empty,    args->outlinecolor,    empty,    args->bgcolor ? " bgcolor=\""+args->bgcolor+"\"" : "",    args->outlinecolor,    empty,    args->left ? " width=\""+args->left+"\"" : "",    (args->fixedleft ? -  String.strmult ("&nbsp;", (int) args->fixedleft) : "&nbsp;"), +  "&nbsp;"*(int)args->fixedleft : "&nbsp;"),    args->right ? " width=\""+args->right+"\"" : "",    (args->fixedright ? -  String.strmult ("&nbsp;", (int) args->fixedright) : "&nbsp;"), +  "&nbsp;"*(int)args->fixedright : "&nbsp;"),    args->outlinecolor,    empty);    case "caption":    return sprintf("<tr%s><td colspan=\"2\"><font size=\"-3\">&nbsp;</font></td>\n"    "<td rowspan=\"3\" nowrap=\"nowrap\">&nbsp;<b>" /* bgcolor */    "%s%s%s" /* titlecolor, title, titlecolor */    "</b>&nbsp;</td>\n"    "<td colspan=\"2\"><font size=\"-3\">&nbsp;</font></td></tr>\n"    "<tr bgcolor=\"%s\">" /* outlinecolor */    "<td colspan=\"2\">\n"
Roxen.git/server/modules/tags/obox.pike:121:    args->titlecolor ? "<font color=\""+args->titlecolor+"\">" : "",    args->title,    args->titlecolor ? "</font>" : "",    args->outlinecolor,    empty,    empty,    args->outlinecolor,    empty,    args->left ? " width=\""+args->left+"\"" : "",    (args->fixedleft ? -  String.strmult ("&nbsp;", (int) args->fixedleft) : "&nbsp;"), +  "&nbsp;"*(int)args->fixedleft : "&nbsp;"),    args->right ? " width=\""+args->right+"\"" : "",    (args->fixedright ? -  String.strmult ("&nbsp;", (int) args->fixedright) : "&nbsp;"), +  "&nbsp;"*(int)args->fixedright : "&nbsp;"),    args->outlinecolor,    empty);    }   }      string simpletag_obox(string name, mapping args, string contents)   {    string s;       // Set the defaults...