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.183 1999/07/10 21:42:58 peter Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.184 1999/07/16 02:34:38 per Exp $";   constant thread_safe=1;      #include <config.h>   #include <module.h>   #include <stat.h>   inherit "module";   inherit "roxenlib";      #ifndef VAR_MORE   #define VAR_MORE 0
Roxen.git/server/modules/graphics/graphic_text.pike:798:    arg->texture = fix_relative(arg->texture,id);    if(arg->magic_texture)    arg->magic_texture=fix_relative(arg->magic_texture,id);    if(arg->magic_background)    arg->magic_background=fix_relative(arg->magic_background,id);    if(arg->magicbg)    arg->magicbg = fix_relative(arg->magicbg,id);    if(arg->alpha)    arg->alpha = fix_relative(arg->alpha,id);    -  arg->text = ctn; +        if(!short) -  return query_internal_location()+image_cache->store( arg, id )+ +  return query_internal_location()+image_cache->store( ({arg,ctn}), id )+    (query("gif")?".foo":"");    else -  return image_cache->store( arg, id )+(query("gif")?".foo":""); +  return image_cache->store( ({arg,ctn}), id )+(query("gif")?".foo":"");   }      string tag_gtext_id(string t, mapping arg, object id, object foo,    mapping defines)   {    int short=!!arg->short;    if(arg->help) return "Arguments are identical to the argumets to &lt;gtext&gt;. This tag returns a url-prefix that can be used to generate gtexts.";    m_delete(arg, "short"); m_delete(arg, "maxlen");    m_delete(arg,"magic"); m_delete(arg,"submit");    extra_args(arg); m_delete(arg,"split");