summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-01-01 11:45:34 +0100
committerYorhel <git@yorhel.nl>2009-01-02 17:02:07 +0100
commitdc509d8fd4f143baed41eb14f674604206a0e7d5 (patch)
tree8a22ee383a2b366b5815243a0c97a7fcb55e49a1 /util
parent614f3a03fc1a9a1d61d294fbb8664db93f96ebdc (diff)
Added possibility to hide the main title in skins
Simply set the 'maintitle' to '0'
Diffstat (limited to 'util')
-rwxr-xr-xutil/skingen.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/skingen.pl b/util/skingen.pl
index 40035a5c..d1ae65fe 100755
--- a/util/skingen.pl
+++ b/util/skingen.pl
@@ -61,6 +61,8 @@ sub writeskin { # $obj
$o->{_bodybg} = "background: $o->{bodybg} url($o->{imglefttop}) no-repeat";
}
+ # main title
+ $o->{_maintitle} = $o->{maintitle} ? "color: $o->{maintitle}" : 'display: none';
# create boxbg.png
my $img = Image::Magick->new(size => '1x1');