summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/VNEdit.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-17 11:35:21 +0200
committerYorhel <git@yorhel.nl>2009-08-17 16:27:16 +0200
commitf85607dd19757fb77546f05fdd53d408216f1623 (patch)
tree885a01cb4261d56cd7a526d5a6db058069df3036 /lib/VNDB/Handler/VNEdit.pm
parentdc2a9de7c0e519eb3a930f0b38ebe26861b2752e (diff)
L10N: Converted htmlEditMessage, htmlItemMessage and htmlSearchBox
This finishes Util::CommonHTML, with the exception of htmlVoteStats
Diffstat (limited to 'lib/VNDB/Handler/VNEdit.pm')
-rw-r--r--lib/VNDB/Handler/VNEdit.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/VNEdit.pm b/lib/VNDB/Handler/VNEdit.pm
index 613cec46..9ab3862d 100644
--- a/lib/VNDB/Handler/VNEdit.pm
+++ b/lib/VNDB/Handler/VNEdit.pm
@@ -95,9 +95,10 @@ sub edit {
!exists $frm->{$_} && ($frm->{$_} = $b4{$_}) for (keys %b4);
$frm->{editsum} = sprintf 'Reverted to revision v%d.%d', $vid, $rev if $rev && !defined $frm->{editsum};
- $self->htmlHeader(js => 'forms', title => $vid ? "Edit $v->{title}" : 'Add a new visual novel', noindex => 1);
+ my $title = $vid ? "Edit $v->{title}" : 'Add a new visual novel';
+ $self->htmlHeader(js => 'forms', title => $title, noindex => 1);
$self->htmlMainTabs('v', $v, 'edit') if $vid;
- $self->htmlEditMessage('v', $v);
+ $self->htmlEditMessage('v', $v, $title);
_form($self, $v, $frm);
$self->htmlFooter;
}