Roxen.git / server / modules / graphics / graphic_text.pike

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1: - constant cvs_version="$Id: graphic_text.pike,v 1.136 1998/08/02 01:08:05 peter Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.137 1998/08/02 01:23:05 peter Exp $";   constant thread_safe=1;      #include <module.h>   #include <stat.h>   inherit "module";   inherit "roxenlib";      #ifndef VAR_MORE   #define VAR_MORE 0   #endif /* VAR_MORE */
Roxen.git/server/modules/graphics/graphic_text.pike:50:       defvar("cache_age", 48, "Cache max age",       TYPE_INT,       "If the images in the cache have not been accessed for this "    "number of hours they are removed.");       defvar("speedy", 0, "Avoid automatic detection of document colors in tables",    TYPE_FLAG|VAR_MORE, -  "If this flag is set, the tags 'tr', 'td', 'font' and 'th' " -  " will <b>not</b> be parsed to automatically detect the colors of " -  " a document. You will then have to specify all colors in all calls " +  "If this flag is set, the tags 'table', 'th', 'tr', 'td', 'font'" +  " 'layer' and 'ilayer'" +  " will <b>not</b> be parsed to automatically detect the colors of" +  " a document. You will then have to specify all colors in all calls"    " to &lt;gtext&gt; or in the 'body' tag");       defvar("nobody", 0, "Avoid automatic detection of document colors from body",    TYPE_FLAG|VAR_MORE,    "If this flag is set, the 'body' tag"    " will <b>not</b> be parsed to automatically detect the colors of "    " a document. You will then have to specify all colors in all calls "    " to &lt;gtext&gt;");       defvar("deflen", 300, "Default maximum text-length", TYPE_INT|VAR_MORE,
Roxen.git/server/modules/graphics/graphic_text.pike:1535:    }    c = c[..sizeof(c)-i-2];    id->misc->colors = c;      }      mapping query_tag_callers()   {    return ([ "gtext-id":tag_gtext_id, ])    | (query("nobody")?([]): -  (["body":tag_body, -  "/body":pop_color])) +  (["body":tag_body]) +  // No reson to pop the end of body "/body":pop_color]))    | (query("speedy")?([]):    (["font":tag_fix_color,    "table":tag_fix_color,    "tr":tag_fix_color,    "td":tag_fix_color,    "layer":tag_fix_color,    "ilayer":tag_fix_color,    "/td":pop_color,    "/tr":pop_color,    "/font":pop_color,