Branch: Tag:

2000-03-15

2000-03-15 20:35:08 by Marcus Wellhardh <wellhard@roxen.com>

Renamed support flag netscape_javascript to js_image_object. Created layer and js_global_event support flags.

Rev: server/etc/supports:1.78
Rev: server/modules/graphics/graphic_text.pike:1.211

1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.210 2000/03/14 00:32:23 mast Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.211 2000/03/15 20:35:08 wellhard Exp $";      #include <module.h>   inherit "module";
867:    if(!id->supports->images) return sprintf(lp,arg->alt);       string sn="i"+id->misc->gtext_mi++; -  if(!id->supports->netscape_javascript) { +  if(!id->supports->js_image_object) {    return (!input)?    ("<a "+ea+"href=\""+url+"\">"+make_tag("img",arg+(["name":sn]))+"</a>"):    make_tag("input",arg+(["type":"image"]));