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

version» Context lines:

Roxen.git/server/modules/graphics/gbutton.pike:18:   // icon-data -- inline icon data   // align -- left|center|right text alignment   // align-icon -- left|center-before|center-after|right icon alignment   // valign-icon -- above|middle|below icon vertical alignment   // >Button text</gbutton>   //   // Alignment restriction: when text alignment is either left or right, icons   // must also be aligned left or right.       - constant cvs_version = "$Id: gbutton.pike,v 1.67 2000/11/21 13:14:55 per Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.68 2000/12/05 00:40:28 nilsson Exp $";   constant thread_safe = 1;      #include <module.h>   inherit "module";      roxen.ImageCache button_cache;      constant module_type = MODULE_TAG;   constant module_name = "GButton";   constant module_doc =
Roxen.git/server/modules/graphics/gbutton.pike:736:       string fn;    if( new_args->stat && (fn = id->conf->real_file( fi, id ) ) )    Roxen.add_cache_stat_callback( id, fn, new_args->stat );       new_args->quant = args->quant || 128;    foreach(glob("*-*", indices(args)), string n)    new_args[n] = args[n];       string img_src = -  query_internal_location() + +  query_absolute_internal_location(id) +    button_cache->store( ({ new_args, content }), id);       return ({ img_src, new_args });    }   }      class TagGButtonURL {    inherit RXML.Tag;    constant name = "gbutton-url";    constant flags = RXML.FLAG_DONT_REPORT_ERRORS;