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

version» Context lines:

Roxen.git/server/modules/tags/obox.pike:1:   // The outlined box module, Copyright © 1996 - 2000, Roxen IS.   //   // Fredrik Noring et al   //   // Several modifications by Francesco Chemolli.       - constant cvs_version = "$Id: obox.pike,v 1.22 2000/02/24 05:20:11 nilsson Exp $"; + constant cvs_version = "$Id: obox.pike,v 1.23 2000/03/13 21:05:57 nilsson Exp $";   constant thread_safe=1;      #include <module.h>   inherit "module";   inherit "roxenlib";      TAGDOCUMENTATION   #ifdef manual   constant tagdoc=(["obox":([    "standard":#"<desc cont>Outlined box</desc>
Roxen.git/server/modules/tags/obox.pike:141:    args->title,    args->titlecolor ? "</font>" : "",    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->left ? " width=\""+args->left+"\"" : "",    (args->fixedleft ?    String.strmult ("&nbsp;", (int) args->fixedleft) : "&nbsp;"), -  (args->right ? " width="+args->right : ""), +  args->right ? " width=\""+args->right+"\"" : "",    (args->fixedright ?    String.strmult ("&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"
Roxen.git/server/modules/tags/obox.pike:177:    ,    args->outlinecolor ? " bgcolor=\""+args->outlinecolor+"\"" : "",    args->titlecolor ? "<font color=\""+args->titlecolor+"\">" : "",    args->title,    args->titlecolor ? "</font>" : "",    args->outlinecolor,    empty,    empty,    args->outlinecolor,    empty, -  (args->left ? " width="+args->left : ""), +  args->left ? " width=\""+args->left+"\"" : "",    (args->fixedleft ?    String.strmult ("&nbsp;", (int) args->fixedleft) : "&nbsp;"), -  (args->right ? " width="+args->right : ""), +  args->right ? " width=\""+args->right+"\"" : "",    (args->fixedright ?    String.strmult ("&nbsp;", (int) args->fixedright) : "&nbsp;"),    args->outlinecolor,    empty);    }   }    - string container_obox(string name, mapping args, -  string contents, object request_id) + string simpletag_obox(string name, mapping args, string contents)   {    string s;       // Set the defaults...    args->outlinecolor = args->outlinecolor || "#000000";    args->style = args->style || "groupbox";    if (!args->title) {    contents=parse_html(contents,([]),(["title":handle_title,]),args);    }   
Roxen.git/server/modules/tags/obox.pike:241:   constant module_name =    ([    "standard":"Outlined box",    "svenska":"Ramlåda",    ]);   constant module_doc =    ([    "standard":    "This is a container tag making outlined boxes.",    "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>", +  "<tt>&lt;obox&gt;&lt;/obox&gt;</tt> är en tag som ramar " +  "in det som står i den.",    ]);