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.91 2001/10/01 09:21:36 anders Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.92 2001/10/08 12:32:53 anders Exp $";   constant thread_safe = 1;      #include <module.h>   inherit "module";      roxen.ImageCache button_cache;   int do_ext;      constant module_type = MODULE_TAG;   constant module_name = "Graphics: GButton";
Roxen.git/server/modules/graphics/gbutton.pike:798:    img_src += "." + (new_args->format || "gif");      // werror("argcache->store took %dµs\n", gethrtime()-t );    return ({ img_src, new_args });    }   }      class TagGButtonURL {    inherit RXML.Tag;    constant name = "gbutton-url"; -  int flags = RXML.FLAG_DONT_REPORT_ERRORS; +  constant flags = RXML.FLAG_DONT_REPORT_ERRORS;    RXML.Type content_type = RXML.t_text(RXML.PXml);       class Frame {    inherit ButtonFrame;    array do_return(RequestID id) {    result=mk_url(id)[0];    return 0;    }    }   }      class TagGButton {    inherit RXML.Tag;    constant name = "gbutton"; -  int flags = RXML.FLAG_DONT_REPORT_ERRORS; +  constant flags = RXML.FLAG_DONT_REPORT_ERRORS;    RXML.Type content_type = RXML.t_text(RXML.PXml);       class Frame {    inherit ButtonFrame;    array do_return(RequestID id) {    // Peek at img-align and remove it so it won't be copied by "*-*" glob    // in mk_url().    string img_align = args["img-align"];    m_delete(args, "img-align");