diff options
Diffstat (limited to 'lib/VNDB/Func.pm')
-rw-r--r-- | lib/VNDB/Func.pm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/VNDB/Func.pm b/lib/VNDB/Func.pm index 52aa16a4..0fb0e6a1 100644 --- a/lib/VNDB/Func.pm +++ b/lib/VNDB/Func.pm @@ -3,9 +3,10 @@ package VNDB::Func; use strict; use warnings; +use YAWF ':html'; use Exporter 'import'; use POSIX 'strftime'; -our @EXPORT = qw| shorten date datestr monthstr userstr bb2html gtintype liststat |; +our @EXPORT = qw| shorten date datestr monthstr userstr bb2html gtintype liststat clearfloat |; # I would've done this as a #define if this was C... @@ -186,5 +187,11 @@ sub liststat { } +# Clears a float, to make sure boxes always have the correct height +sub clearfloat { + div class => 'clearfloat', ''; +} + + 1; |