Branch: Tag:

1999-11-15

1999-11-15 16:42:40 by Per Hedbor <ph@opera.com>

Added <gbutton-url> tag

Rev: server/modules/graphics/gbutton.pike:1.4

25:   // must also be aligned left or right.       - constant cvs_version = "$Id: gbutton.pike,v 1.3 1999/11/15 16:30:33 jonasw Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.4 1999/11/15 16:42:40 per Exp $";   constant thread_safe = 1;      #include <module.h>
102:      mapping query_container_callers()   { -  return ([ "gbutton" : tag_button ]); +  return ([ "gbutton" : tag_button, "gbutton-url" : tag_button ]);   }      
278:    query_internal_location() +    button_cache->store( ({ new_args, contents }), id);    +  if( tag == "gbutton-url" ) +  return img_src; +     mapping img_attrs = ([ "src" : img_src,    "alt" : args->alt || contents,    "border" : args->border,