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.32 2000/11/24 16:50:38 per Exp $"; + constant cvs_version = "$Id: obox.pike,v 1.33 2001/01/29 05:40:32 per 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)   #define LOCALE(X,Y) _DEF_LOCALE("mod_obox",X,Y)   // end locale stuff         constant module_type = MODULE_TAG; - LocaleString module_name_locale = LOCALE(1,"Outlined box"); + LocaleString module_name = LOCALE(1,"Outlined box");    - LocaleString module_doc_locale = + LocaleString module_doc =    LOCALE(2,"This module provides the <tt>&lt;obox&gt;</tt> tag that "    "draws outlined boxes.");      constant unit_gif = "/internal-roxen-unit";      static string img_placeholder (mapping args)   {    int width=((int)args->outlinewidth)||1;       return sprintf("<img src=\"%s\" alt=\"\" width=\"%d\" height=\"%d\"%s>",