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.38 2002/05/22 09:51:51 anders Exp $"; + constant cvs_version = "$Id: obox.pike,v 1.39 2002/12/14 14:43:48 anders Exp $";   constant thread_safe=1;      #include <module.h>   // #include <roxen.h>   inherit "module";      // begin locale stuff   //<locale-token project="mod_obox">LOCALE</locale-token>   //<locale-token project="mod_obox">SLOCALE</locale-token>   #define SLOCALE(X,Y) _STR_LOCALE("mod_obox",X,Y)
Roxen.git/server/modules/tags/obox.pike:95:    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:131:    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...