Roxen.git
/
server
/
modules
/
graphics
/
gbutton.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/modules/graphics/gbutton.pike:1:
// Button module. Generates graphical buttons for use in Roxen config // interface, Roxen SiteBuilder and other places. //
-
// Copyright © 1999 -
2004
, Roxen IS. Author: Jonas Walldén, <jonasw@roxen.com>
+
// Copyright © 1999 -
2009
, Roxen IS. Author: Jonas Walldén, <jonasw@roxen.com>
// Usage: // // <gbutton // bgcolor -- background color inside/outside button // textcolor -- button text color // href -- button URL // target -- target frame // alt -- alternative button alt text
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.
118
2009/
04
/
29
15:
16:48
jonasw
Exp $";
+
constant cvs_version = "$Id: gbutton.pike,v 1.
119
2009/
05
/
07
14:
15:
54
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";