summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/LayoutHTML.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-10-05 20:50:04 +0200
committerYorhel <git@yorhel.nl>2009-10-05 20:55:11 +0200
commit519b13787e33f1b8edb3d0f3b018339410b48371 (patch)
tree3d865f8aeffed1833c63bf56064df5e4d0aff90b /lib/VNDB/Util/LayoutHTML.pm
parentfd24d5f1f95eb4285ddb938101275f66d1fdb544 (diff)
JS: Moved, split and rewrote release <-> VN & producer linking
+ removed last traces of forms.js + converted code to use tables, as that is easier to expand more accurate for this purpose. The reason I probably didn't use tables before was that the innerHTML property doesn't work on tr elements. The split was mainly because the producer linking is going to be expanded with an additional field later on.
Diffstat (limited to 'lib/VNDB/Util/LayoutHTML.pm')
-rw-r--r--lib/VNDB/Util/LayoutHTML.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm
index 99b615b5..524b6258 100644
--- a/lib/VNDB/Util/LayoutHTML.pm
+++ b/lib/VNDB/Util/LayoutHTML.pm
@@ -10,11 +10,10 @@ use VNDB::Func;
our @EXPORT = qw|htmlHeader htmlFooter|;
-sub htmlHeader { # %options->{ title, js, noindex, search }
+sub htmlHeader { # %options->{ title, noindex, search }
my($self, %o) = @_;
my $skin = $self->reqParam('skin') || $self->authInfo->{skin} || $self->{skin_default};
$skin = $self->{skin_default} if !$self->{skins}{$skin} || !-d "$VNDB::ROOT/static/s/$skin";
- $self->{js} = $o{js}; # save for use in htmlFooter
# heading
html;
@@ -159,7 +158,6 @@ sub htmlFooter {
end;
end; # /div maincontent
script type => 'text/javascript', src => $self->{url_static}.'/f/script.js?'.$self->{version}, '';
- script type => 'text/javascript', src => $self->{url_static}.'/f/forms.js?'.$self->{version}, '' if $self->{js};
end; # /body
end; # /html