sub login_form {
my ($self, %params) = @_;
- $self->render('admin/adminlogin', title => t8('kivitendo v#1 administration', $::form->read_version), %params);
+ my $version = $::form->read_version;
+ $self->render('admin/adminlogin', title => t8('kivitendo v#1 administration', $version), %params, version => $version);
}
sub edit_user_form {
<tr>
<td class="login" align="center">
<a href="http://www.kivitendo.de" target="_top" class="no-underlined-links"><img src="image/kivitendo.png" border="0"></a>
- <h1>[% LxERP.t8('kivitendo v#1 administration', FORM.version) %]</h1>
+ <h1>[% LxERP.t8('kivitendo v#1 administration', version) %]</h1>
[% IF error %]
<p><span class="message_error_login">[% HTML.escape(error) %]</span></p>