summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 22:58:45 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 22:58:45 +0000
commit981ab3d002eaee83bd6668a48e26bab66f442b6e (patch)
treedbe10f784c868a45a6c97fed8800f36a68426092 /bin
parentcce5f5bd1e39970939efe0cd4a6bdfbf3efba005 (diff)
Removing Locale::findsub
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@261 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/admin.pl4
-rwxr-xr-xbin/login.pl2
2 files changed, 3 insertions, 3 deletions
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;