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

version» Context lines:

Roxen.git/server/modules/graphics/gbutton.pike:20:   // 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.109 2004/05/21 09:46:19 jonasw Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.110 2004/06/21 12:43:48 mast 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:49:    "Append the image format (.gif, .png, "    ".jpg, etc) to the generated images. "    "This is not necessary, but might seem "    "nicer, especially to people who try "    "to mirror your site."));   }      mapping tagdocumentation() {    Stdio.File file=Stdio.File();    if(!file->open(__FILE__,"r")) return 0; -  string doc=compile_string("#define manual\n"+file->read())->gbuttonattr; +  string doc=compile_string("#define manual\n"+file->read(), __FILE__)->gbuttonattr;    string imagecache=button_cache->documentation();       return ([      "gbutton":#"<desc type='cont'><p><short>    Creates graphical buttons.</short></p>   </desc>"       +doc    +imagecache,