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.159 1998/11/19 10:47:47 per Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.160 1998/11/22 17:03:18 per 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:1367:    array size = write_text(num,word,1,id);    res += ({ "<img border=0 alt=\"" +    replace(arg->alt || word, "\"", "'") +    "\" src=\"" + pre + quote(word) + gif + "\" width=" +    size[0] + " height=" + size[1] + " " + ea + ">"    });    }    res += ({"\n"});    } else {    array size = write_text(num,word,1,id); +  if(input) +  res += ({"<input type=image name=\""+na+"\" border=0 alt=\""+ +  (arg->alt?arg->alt:replace(gt,"\"","'"))+ +  "\" src=\""+query_location()+num+"/"+quote(word)+gif+ +  "\"" +  " width="+size[0]+" height="+size[1]+">" }); +  else    res += ({ "<img border=0 alt=\"" +    replace(arg->alt || word, "\"", "'") +    "\" src=\"" + pre + quote(word) + gif + "\" width=" +    size[0] + " height=" + size[1] + " " + ea + ">\n"    });    }    }    if(lp) res += ({ "</a>"+post });    return res*"";    }