From f85607dd19757fb77546f05fdd53d408216f1623 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Mon, 17 Aug 2009 11:35:21 +0200 Subject: L10N: Converted htmlEditMessage, htmlItemMessage and htmlSearchBox This finishes Util::CommonHTML, with the exception of htmlVoteStats --- lib/VNDB/Handler/Producers.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/VNDB/Handler/Producers.pm') diff --git a/lib/VNDB/Handler/Producers.pm b/lib/VNDB/Handler/Producers.pm index 43b7c025..cc7e1324 100644 --- a/lib/VNDB/Handler/Producers.pm +++ b/lib/VNDB/Handler/Producers.pm @@ -129,9 +129,10 @@ sub edit { $frm->{lang} = 'ja' if !$pid && !defined $frm->{lang}; $frm->{editsum} = sprintf 'Reverted to revision p%d.%d', $pid, $rev if $rev && !defined $frm->{editsum}; - $self->htmlHeader(title => $pid ? 'Edit '.$p->{name} : 'Add new producer', noindex => 1); + my $title = $pid ? 'Edit '.$p->{name} : 'Add new producer'; + $self->htmlHeader(title => $title, noindex => 1); $self->htmlMainTabs('p', $p, 'edit') if $pid; - $self->htmlEditMessage('p', $p); + $self->htmlEditMessage('p', $p, $title); $self->htmlForm({ frm => $frm, action => $pid ? "/p$pid/edit" : '/p/new', editsum => 1 }, "General info" => [ [ select => name => 'Type', short => 'type', options => [ map [ $_, mt "_ptype_$_" ], sort @{$self->{producer_types}} ] ], -- cgit v1.2.3