diff options
author | Yorhel <git@yorhel.nl> | 2009-11-16 10:00:16 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-11-16 10:01:02 +0100 |
commit | 445b96631ac06d2fb0c3b6486ccde2a189a58675 (patch) | |
tree | 2bdcdbf0912756af65b36e20c7b271b5e2386abf /lib/VNDB/Plugin/TransAdmin.pm | |
parent | 207ecaadc6e746e05d44acc96adbc30e64a87cee (diff) | |
parent | a5e88fd33c3ec018e89be0b5368a85119323554c (diff) |
Merge branch 'beta'2.9
+ Changelog update
Diffstat (limited to 'lib/VNDB/Plugin/TransAdmin.pm')
-rw-r--r-- | lib/VNDB/Plugin/TransAdmin.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VNDB/Plugin/TransAdmin.pm b/lib/VNDB/Plugin/TransAdmin.pm index ed5ebb36..0d510aa9 100644 --- a/lib/VNDB/Plugin/TransAdmin.pm +++ b/lib/VNDB/Plugin/TransAdmin.pm @@ -172,7 +172,7 @@ sub _intro { $f->close; div class => 'mainbox'; h1 'Introduction to the language file'; - pre $intro; + pre style => 'padding: 0; margin: 0; background: none; border: none', $intro; end; } @@ -217,7 +217,7 @@ sub _section { for my $l (@$page) { if($l->[0] eq 'comment') { - pre; + pre style => 'padding: 0; margin: 0; background: none; border: none'; b class => 'grayedout', $l->[1]."\n"; end; next; @@ -281,7 +281,7 @@ sub _savedoc { sub _docs { my($lang, $doc) = @_; - my @d = map /\.[a-z]{2}$/ || /\/8$/ ? () : s{^.+\/([^/]+)$}{$1} && $_, glob "$VNDB::ROOT/data/docs/*"; + my @d = map /\.[a-z]{2}$/ || /\/(?:8|11)$/ ? () : s{^.+\/([^/]+)$}{$1} && $_, glob "$VNDB::ROOT/data/docs/*"; h2 class => 'alttitle', '...or a doc page'; div style => 'margin: 0 40px'; @@ -327,7 +327,7 @@ sub _doc { } div style => 'width: 48%; margin-right: 10px; overflow-y: auto; float: left'; - pre style => 'font: 12px Tahoma', $en; + pre style => 'font: 12px Tahoma; border: none; background: none; margin: 0', $en; end; textarea name => 'tl', id => 'tl', rows => ($en =~ y/\n//), style => 'border: none; float: left; width: 49%; white-space: nowrap', wrap => 'off'; |