[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [252] trunk/bin
- Subject: SF.net SVN: ledger-smb: [252] trunk/bin
- From: ..hidden..
- Date: Sat, 21 Oct 2006 09:19:51 -0700
Revision: 252
http://svn.sourceforge.net/ledger-smb/?rev=252&view=rev
Author: tetragon
Date: 2006-10-21 09:19:42 -0700 (Sat, 21 Oct 2006)
Log Message:
-----------
First batch of files cleaned up for reverse function translation lookup removal
Modified Paths:
--------------
trunk/bin/aa.pl
trunk/bin/admin.pl
trunk/bin/am.pl
trunk/bin/arap.pl
trunk/bin/arapprn.pl
Modified: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl 2006-10-21 05:31:33 UTC (rev 251)
+++ trunk/bin/aa.pl 2006-10-21 16:19:42 UTC (rev 252)
@@ -931,7 +931,7 @@
<h4>|.$locale->text('Are you sure you want to delete Transaction').qq| $form->{invnumber}</h4>
-<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+<button name="action" class="submit" type="submit" value="yes">|.$locale->text('Yes').qq|</button>
</form>
</body>
@@ -1189,8 +1189,8 @@
</table>
<br>
-<input type=hidden name=action value=continue>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">|;
+<input type="hidden" name="action" value="continue">
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>|;
$form->hide_form(qw(nextsub path login sessionid));
@@ -1557,14 +1557,14 @@
if ($myconfig{acs} !~ /$form->{ARAP}--$form->{ARAP}/) {
$i = 1;
if ($form->{ARAP} eq 'AR') {
- $button{'AR--Add Transaction'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('AR Transaction').qq|"> |;
+ $button{'AR--Add Transaction'}{code} = qq|<button class="submit" type="submit" name="action" value="ar_transaction">|.$locale->text('AR Transaction').qq|</button> |;
$button{'AR--Add Transaction'}{order} = $i++;
- $button{'AR--Sales Invoice'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Sales Invoice.').qq|"> |;
+ $button{'AR--Sales Invoice'}{code} = qq|<button class="submit" type="submit" name="action" value="sales_invoice_">|.$locale->text('Sales Invoice.').qq|</button> |;
$button{'AR--Sales Invoice'}{order} = $i++;
} else {
- $button{'AP--Add Transaction'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('AP Transaction').qq|"> |;
+ $button{'AP--Add Transaction'}{code} = qq|<button class="submit" type="submit" name="action" value="ap_transaction">|.$locale->text('AP Transaction').qq|</button> |;
$button{'AP--Add Transaction'}{order} = $i++;
- $button{'AP--Vendor Invoice'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Vendor Invoice.').qq|"> |;
+ $button{'AP--Vendor Invoice'}{code} = qq|<button class="submit" type="submit" name="action" value="vendor_invoice_">|.$locale->text('Vendor Invoice.').qq|</button> |;
$button{'AP--Vendor Invoice'}{order} = $i++;
}
Modified: trunk/bin/admin.pl
===================================================================
--- trunk/bin/admin.pl 2006-10-21 05:31:33 UTC (rev 251)
+++ trunk/bin/admin.pl 2006-10-21 16:19:42 UTC (rev 252)
@@ -125,7 +125,7 @@
</table>
<input type="hidden" name="path" value="$form->{path}" />
<input type="hidden" name="sessionid" value="$form->{sessionid}" />
- <p><input type="submit" class="submit" name="action" value="|.$locale->text('Change Password').qq|" /></p>
+ <p><button type="submit" class="submit" name="action" value="change_password">|.$locale->text('Change Password').qq|</button></p>
</form>
<a href="http://www.ledgersmb.org/">LedgerSMB |.$locale->text('website').qq|</a>
@@ -160,7 +160,7 @@
<tr>
<th>|.$locale->text('Password').qq|</th>
<td><input type="password" name="password" /></td>
- <td><input type="submit" class="submit" name="action" value="|.$locale->text('Login').qq|" /></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" />
@@ -226,7 +226,7 @@
sub form_footer {
if ($form->{edit}) {
- $delete = qq|<input type="submit" class="submit" name="action" value="|.$locale->text('Delete').qq|" />
+ $delete = qq|<button type="submit" class="submit" name="action" value="delete">|.$locale->text('Delete').qq|</button>
<input type="hidden" name="edit" value="1" />|;
}
@@ -234,7 +234,7 @@
<input name="callback" type="hidden" value="$form->{script}?action=list_users&path=$form->{path}&sessionid=$form->{sessionid}" />
<input type="hidden" name="path" value="$form->{path}" />
<input type="hidden" name="sessionid" value="$form->{sessionid}" />
- <input type="submit" class="submit" name="action" value="|.$locale->text('Save').qq|" />
+ <button type="submit" class="submit" name="action" value="save">|.$locale->text('Save').qq|</button>
$delete
</form>
</body>
@@ -247,10 +247,10 @@
open(FH, "$memberfile") or $form->error("$memberfile : $!");
- $nologin = qq|<input type="submit" class="submit" name="action" value="|.$locale->text('Lock System').qq|" />|;
+ $nologin = qq|<button type="submit" class="submit" name="action" value="lock_system">|.$locale->text('Lock System').qq|</button>|;
if (-e "$userspath/nologin") {
- $nologin = qq|<input type="submit" class="submit" name="action" value="|.$locale->text('Unlock System').qq|" />|;
+ $nologin = qq|<button type="submit" class="submit" name="action" value="unlock_system">|.$locale->text('Unlock System').qq|</button>|;
}
@@ -274,7 +274,7 @@
# type=submit $locale->text('PgPP Database Administration')
foreach $item (User->dbdrivers) {
- $dbdrivers .= qq|<input name="action" type="submit" class="submit" value="|.$locale->text("$item Database Administration").qq|" />|;
+ $dbdrivers .= qq|<button name="action" type="submit" class="submit" value="|.(lc $item).'_database_administration">'.$locale->text("$item Database Administration").qq|</button>|;
}
@@ -345,13 +345,13 @@
<input type="hidden" name="path" value="$form->{path}" />
<input type="hidden" name="sessionid" value="$form->{sessionid}" />
<br />
- <input type="submit" class="submit" name="action" value="|.$locale->text('Add User').qq|" />
- <input type="submit" class="submit" name="action" value="|.$locale->text('Change Admin Password').qq|" />
+ <button type="submit" class="submit" name="action" value="add_user">|.$locale->text('Add User').qq|</button>
+ <button type="submit" class="submit" name="action" value="change_admin_password">|.$locale->text('Change Admin Password').qq|</button>
$dbdrivers
$nologin
- <input type="submit" class="submit" name="action" value="|.$locale->text('Logout').qq|" />
+ <button type="submit" class="submit" name="action" value="logout">|.$locale->text('Logout').qq|</button>
</form>
|.$locale->text('Click on login name to edit!').qq|
@@ -1018,7 +1018,7 @@
<hr size="3" noshade />
<input type="hidden" name="path" value="$form->{path}" />
<input type="hidden" name="sessionid" value="$form->{sessionid}" />
- <p><input type="submit" class="submit" name="action" value="|.$locale->text('Change Password').qq|" /></p>
+ <p><button type="submit" class="submit" name="action" value="change_password">|.$locale->text('Change Password').qq|</button></p>
</form>
</body>
</html>
@@ -1187,8 +1187,8 @@
<input type="hidden" name="path" value="$form->{path}" />
<input type="hidden" name="sessionid" value="$form->{sessionid}" />
<br />
- <input type="submit" class="submit" name="action" value="|.$locale->text('Create Dataset').qq|" />
- <input type="submit" class="submit" name="action" value="|.$locale->text('Delete Dataset').qq|" />
+ <button type="submit" class="submit" name="action" value="create_dataset">|.$locale->text('Create Dataset').qq|</button>
+ <button type="submit" class="submit" name="action" value="delete_dataset">|.$locale->text('Delete Dataset').qq|</button>
</form>
<p>|.$locale->text('This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!')
.qq|</p>
@@ -1326,7 +1326,7 @@
<input name="callback" type="hidden" value="$form->{script}?action=list_users&path=$form->{path}&sessionid=$form->{sessionid}" />
<input type="hidden" name="nextsub" value="dbcreate" />
<br />
- <input type="submit" class="submit" name="action" value="|.$locale->text('Continue').qq|" />
+ <button type="submit" class="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
</html>
@@ -1358,7 +1358,7 @@
<input type="hidden" name="path" value="$form->{path}" />
<input type="hidden" name="sessionid" value="$form->{sessionid}" />
<input type="hidden" name="nextsub" value="list_users" />
- <p><input type="submit" class="submit" name="action" value="|.$locale->text('Continue').qq|" /></p>
+ <p><button type="submit" class="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button></p>
</form>
</center>
</body>
@@ -1413,7 +1413,7 @@
<td>
<hr size="3" noshade />
<br />
- <input type="submit" class="submit" name="action" value="|.$locale->text('Continue').qq|" />
+ <button type="submit" class="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</td>
</tr>
</table>
@@ -1450,7 +1450,7 @@
<input type="hidden" name="path" value="$form->{path}" />
<input type="hidden" name="sessionid" value="$form->{sessionid}" />
<input type="hidden" name="nextsub" value="list_users" />
- <p><input type="submit" class="submit" name="action" value="|.$locale->text('Continue').qq|" /></p>
+ <p><button type="submit" class="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button></p>
</form>
</body>
</html>
Modified: trunk/bin/am.pl
===================================================================
--- trunk/bin/am.pl 2006-10-21 05:31:33 UTC (rev 251)
+++ trunk/bin/am.pl 2006-10-21 16:19:42 UTC (rev 252)
@@ -225,7 +225,7 @@
print qq|
<tr>
<th align="right">|.$locale->text('GIFI').qq|</th>
- <td><input name=gifi_accno size=9 value=$form->{gifi_accno}></td>
+ <td><input name=gifi_accno size=9 value="$form->{gifi_accno}"></td>
</tr>
</table>
</td>
@@ -748,7 +748,7 @@
$form->hide_form(qw(type callback path login sessionid));
print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Add Department').qq|">|;
+<button class="submit" type="submit" name="action" value="add_department">|.$locale->text('Add Department').qq|"</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -938,7 +938,7 @@
$form->hide_form(qw(type callback path login sessionid));
print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Add Business').qq|">|;
+<button class="submit" type="submit" name="action" value="add_business">|.$locale->text('Add Business').qq|</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -1139,7 +1139,7 @@
$form->hide_form(qw(type callback path login sessionid));
print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Add SIC').qq|">|;
+<button class="submit" type="submit" name="action" value="add_sic">|.$locale->text('Add SIC').qq|</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -1327,7 +1327,7 @@
$form->hide_form(qw(type callback path login sessionid));
print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Add Language').qq|">|;
+<button class="submit" type="submit" name="action" value="add_language"|.$locale->text('Add Language').qq|</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -1451,7 +1451,7 @@
<input type=hidden name=action value=continue>
<input type=hidden name=nextsub value=yes_delete_language>
-<input name=action class=submit type=submit value="|.$locale->text('Continue').qq|">
+<button name="action" class="submit" type="submit" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
@@ -1617,7 +1617,7 @@
$form->hide_form(qw(file type path login sessionid));
print qq|
-<input name=action type=submit class=submit value="|.$locale->text('Edit').qq|">|;
+<button name="action" type="submit" class="submit" value="edit">|.$locale->text('Edit').qq|</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -1664,7 +1664,7 @@
</textarea>
<br>
-<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">|;
+<button type="submit" class="submit" name="action" value="save">|.$locale->text('Save').qq|</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -1833,7 +1833,7 @@
$form->hide_form(qw(path login sessionid));
print qq|
-<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">|;
+<button type="submit" class="submit" name="action" value="save">|.$locale->text('Save').qq|</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -1958,8 +1958,8 @@
}
print qq|
-<input type=submit class=submit name=action value="|.$locale->text('Update').qq|">
-<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">|;
+<button type="submit" class="submit" name="action" value="update">|.$locale->text('Update').qq|</button>
+<button type="submit" class="submit" name="action" value="save_taxes">|.$locale->text('Save').qq|</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -2187,7 +2187,7 @@
$form->hide_form(qw(path login sessionid));
print qq|
-<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">|;
+<button type="submit" class="submit" name="action" value="save">|.$locale->text('Save').qq|</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -2324,7 +2324,7 @@
<br>
<input type=hidden name=nextsub value=doclose>
<input type=hidden name=action value=continue>
-<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+<button type="submit" class="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
@@ -2468,7 +2468,7 @@
$form->hide_form(qw(type callback path login sessionid));
print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Add Warehouse').qq|">|;
+<button class="submit" type="submit" name="action" value="add_warehouse">|.$locale->text('Add Warehouse').qq|</button>|;
if ($form->{lynx}) {
require "bin/menu.pl";
@@ -2605,7 +2605,7 @@
$form->hide_form(qw(path login sessionid));
print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">|;
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>|;
}
@@ -2886,7 +2886,7 @@
$form->hide_form(qw(path login sessionid));
print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Process Transactions').qq|">| if $k;
+<button class="submit" type="submit" name="action" value="process_transactions">|.$locale->text('Process Transactions').qq|</button>| if $k;
if ($form->{lynx}) {
require "bin/menu.pl";
Modified: trunk/bin/arap.pl
===================================================================
--- trunk/bin/arap.pl 2006-10-21 05:31:33 UTC (rev 251)
+++ trunk/bin/arap.pl 2006-10-21 16:19:42 UTC (rev 252)
@@ -213,9 +213,9 @@
print qq|
<input type=hidden name=nextsub value=name_selected>
-<input type=hidden name=vc value=$table>
+<input type=hidden name=vc value="$table">
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
@@ -408,7 +408,7 @@
print qq|
<input type=hidden name=nextsub value=project_selected>
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
@@ -507,7 +507,7 @@
<h4>$msg</h4>
-<input name=action class=submit type=submit value="|.$locale->text('Continue').qq|">
+<button name="action" class="submit" type="submit" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
Modified: trunk/bin/arapprn.pl
===================================================================
--- trunk/bin/arapprn.pl 2006-10-21 05:31:33 UTC (rev 251)
+++ trunk/bin/arapprn.pl 2006-10-21 16:19:42 UTC (rev 252)
@@ -583,7 +583,7 @@
if ($ok) {
print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">|;
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>|;
}
print qq|
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.