[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [261] trunk
- Subject: SF.net SVN: ledger-smb: [261] trunk
- From: ..hidden..
- Date: Sat, 21 Oct 2006 15:58:53 -0700
Revision: 261
http://svn.sourceforge.net/ledger-smb/?rev=261&view=rev
Author: tetragon
Date: 2006-10-21 15:58:45 -0700 (Sat, 21 Oct 2006)
Log Message:
-----------
Removing Locale::findsub
Modified Paths:
--------------
trunk/LedgerSMB/Form.pm
trunk/bin/admin.pl
trunk/bin/login.pl
trunk/menu.pl
Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm 2006-10-21 18:24:38 UTC (rev 260)
+++ trunk/LedgerSMB/Form.pm 2006-10-21 22:58:45 UTC (rev 261)
@@ -3139,13 +3139,6 @@
}
-sub findsub {
-
- my ($self, $text) = @_;
- return $text;
-}
-
-
sub date {
my ($self, $myconfig, $date, $longformat) = @_;
Modified: trunk/bin/admin.pl
===================================================================
--- trunk/bin/admin.pl 2006-10-21 18:24:38 UTC (rev 260)
+++ trunk/bin/admin.pl 2006-10-21 22:58:45 UTC (rev 261)
@@ -67,7 +67,7 @@
if ($form->{action}) {
&check_password unless $form->{action} eq 'logout';
- &{ $locale->findsub($form->{action}) };
+ &{ $form->{action} };
} else {
@@ -160,7 +160,7 @@
<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" />
Modified: trunk/bin/login.pl
===================================================================
--- trunk/bin/login.pl 2006-10-21 18:24:38 UTC (rev 260)
+++ trunk/bin/login.pl 2006-10-21 22:58:45 UTC (rev 261)
@@ -66,7 +66,7 @@
if ($form->{action}) {
$form->{titlebar} .= " - $myconfig{name} - $myconfig{dbname}";
- &{ $locale->findsub($form->{action}) };
+ &{ $form->{action} };
} else {
&login_screen;
Modified: trunk/menu.pl
===================================================================
--- trunk/menu.pl 2006-10-21 18:24:38 UTC (rev 260)
+++ trunk/menu.pl 2006-10-21 22:58:45 UTC (rev 261)
@@ -138,7 +138,7 @@
if (substr($form->{action}, 0, 1) =~ /( |\.)/) {
&{ $form->{nextsub} };
} else {
- &{ $locale->findsub($form->{action}) };
+ &{ $form->{action} };
}
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.