diff options
Diffstat (limited to 'lib/VNDB/Func.pm')
-rw-r--r-- | lib/VNDB/Func.pm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/VNDB/Func.pm b/lib/VNDB/Func.pm index 0fb0e6a1..37bec8be 100644 --- a/lib/VNDB/Func.pm +++ b/lib/VNDB/Func.pm @@ -6,7 +6,7 @@ use warnings; use YAWF ':html'; use Exporter 'import'; use POSIX 'strftime'; -our @EXPORT = qw| shorten date datestr monthstr userstr bb2html gtintype liststat clearfloat |; +our @EXPORT = qw| shorten date datestr monthstr userstr bb2html gtintype liststat clearfloat cssicon |; # I would've done this as a #define if this was C... @@ -193,5 +193,13 @@ sub clearfloat { } +# Draws a CSS icon, arguments: class, title +sub cssicon { + acronym class => "icons $_[0]", title => $_[1]; + lit ' '; + end; +} + + 1; |