summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/Form.pm7
-rwxr-xr-xbin/admin.pl4
-rwxr-xr-xbin/login.pl2
-rwxr-xr-xmenu.pl2
4 files changed, 4 insertions, 11 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index a934440f..deb374d2 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -3139,13 +3139,6 @@ sub text {
}
-sub findsub {
-
- my ($self, $text) = @_;
- return $text;
-}
-
-
sub date {
my ($self, $myconfig, $date, $longformat) = @_;
diff --git a/bin/admin.pl b/bin/admin.pl
index 646caed0..deac8655 100755
--- a/bin/admin.pl
+++ b/bin/admin.pl
@@ -67,7 +67,7 @@ if (-f "bin/custom/$form->{script}") {
if ($form->{action}) {
&check_password unless $form->{action} eq 'logout';
- &{ $locale->findsub($form->{action}) };
+ &{ $form->{action} };
} else {
@@ -160,7 +160,7 @@ sub adminlogin {
<tr>
<th>|.$locale->text('Password').qq|</th>
<td><input type="password" name="password" /></td>
- <td><button type="submit" class="submit" name="action" value="login">|.$locale->text('Login').qq|"</button></td>
+ <td><button type="submit" class="submit" name="action" value="login">|.$locale->text('Login').qq|</button></td>
</tr>
</table>
<input type="hidden" name="action" value="login" />
diff --git a/bin/login.pl b/bin/login.pl
index d1712383..fbfdf431 100755
--- a/bin/login.pl
+++ b/bin/login.pl
@@ -66,7 +66,7 @@ $form->{titlebar} = "LedgerSMB ".$locale->text('Version'). " $form->{version}";
if ($form->{action}) {
$form->{titlebar} .= " - $myconfig{name} - $myconfig{dbname}";
- &{ $locale->findsub($form->{action}) };
+ &{ $form->{action} };
} else {
&login_screen;
diff --git a/menu.pl b/menu.pl
index 03d22670..2919b33f 100755
--- a/menu.pl
+++ b/menu.pl
@@ -138,7 +138,7 @@ if ($form->{action}) {
if (substr($form->{action}, 0, 1) =~ /( |\.)/) {
&{ $form->{nextsub} };
} else {
- &{ $locale->findsub($form->{action}) };
+ &{ $form->{action} };
}
} else {