summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bp.pl4
-rwxr-xr-xbin/ca.pl8
-rwxr-xr-xbin/ct.pl18
-rwxr-xr-xbin/gl.pl14
-rwxr-xr-xbin/hr.pl34
5 files changed, 39 insertions, 39 deletions
diff --git a/bin/bp.pl b/bin/bp.pl
index f4afe558..1e7b3a07 100755
--- a/bin/bp.pl
+++ b/bin/bp.pl
@@ -186,7 +186,7 @@ sub search {
<input type=hidden name=nextsub value=list_spool>
<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->hide_form(qw(path login sessionid));
@@ -237,7 +237,7 @@ sub remove {
<h4>|.$locale->text('Are you sure you want to remove the marked entries from the queue?').qq|</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>
diff --git a/bin/ca.pl b/bin/ca.pl
index 7ec5a435..9554914d 100755
--- a/bin/ca.pl
+++ b/bin/ca.pl
@@ -260,11 +260,11 @@ sub list {
<tr><td><hr size=3 noshade></td></tr>
</table>
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=path value=$form->{path}>
-<input type=hidden name=sessionid value=$form->{sessionid}>
+<input type="hidden" name="login" value="$form->{login}">
+<input type="hidden" name="path" value="$form->{path}">
+<input type="hidden" name="sessionid" value="$form->{sessionid}">
-<br><input class=submit type=submit name=action value="|.$locale->text('List Transactions').qq|">
+<br><button class="submit" type="submit" name="action" value="list_transactions">|.$locale->text('List Transactions').qq|</button>
</form>
</body>
diff --git a/bin/ct.pl b/bin/ct.pl
index 937c10c7..a875e4e7 100755
--- a/bin/ct.pl
+++ b/bin/ct.pl
@@ -502,14 +502,14 @@ sub search_name {
</tr>
</table>
-<input type=hidden name=nextsub value=$form->{nextsub}>
+<input type="hidden" name="nextsub" value="$form->{nextsub}">
-<input type=hidden name=path value=$form->{path}>
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=sessionid value=$form->{sessionid}>
+<input type="hidden" name="path" value="$form->{path}">
+<input type="hidden" name="login" value="$form->{login}">
+<input type="hidden" name="sessionid" value="$form->{sessionid}">
<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>
|;
@@ -918,13 +918,13 @@ sub list_names {
$i = 1;
if ($myconfig{acs} !~ /AR--AR/) {
if ($form->{db} eq 'customer') {
- $button{'AR--Customers--Add Customer'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Customer').qq|"> |;
+ $button{'AR--Customers--Add Customer'}{code} = qq|<button class="submit" type="submit" name="action" value="add_customer">|.$locale->text('Add Customer').qq|</button> |;
$button{'AR--Customers--Add Customer'}{order} = $i++;
}
}
if ($myconfig{acs} !~ /AP--AP/) {
if ($form->{db} eq 'vendor') {
- $button{'AP--Vendors--Add Vendor'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Vendor').qq|"> |;
+ $button{'AP--Vendors--Add Vendor'}{code} = qq|<button class="submit" type="submit" name="action" value="add_vendor">|.$locale->text('Add Vendor').qq|</button> |;
$button{'AP--Vendors--Add Vendor'}{order} = $i++;
}
}
@@ -2272,10 +2272,10 @@ sub select_item {
$form->hide_form;
print qq|
-<input type=hidden name=nextsub value=item_selected>
+<input type="hidden" name="nextsub" value="item_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>
diff --git a/bin/gl.pl b/bin/gl.pl
index 6d51151a..409ca9d5 100755
--- a/bin/gl.pl
+++ b/bin/gl.pl
@@ -349,7 +349,7 @@ sub search {
print qq|
<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>
|;
@@ -648,19 +648,19 @@ sub generate_report {
$i = 1;
if ($myconfig{acs} !~ /General Ledger--General Ledger/) {
- $button{'General Ledger--Add Transaction'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('GL Transaction').qq|"> |;
+ $button{'General Ledger--Add Transaction'}{code} = qq|<button class="submit" type="submit" name="action" value="gl_transaction">|.$locale->text('GL Transaction').qq|</button> |;
$button{'General Ledger--Add Transaction'}{order} = $i++;
}
if ($myconfig{acs} !~ /AR--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++;
}
if ($myconfig{acs} !~ /AP--AP/) {
- $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++;
}
@@ -1106,7 +1106,7 @@ sub delete {
<h4>|.$locale->text('Are you sure you want to delete Transaction').qq| $form->{reference}</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>
|;
diff --git a/bin/hr.pl b/bin/hr.pl
index 6ba51329..93f11b67 100755
--- a/bin/hr.pl
+++ b/bin/hr.pl
@@ -166,7 +166,7 @@ sub search_employee {
print qq|
<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>
|;
@@ -352,7 +352,7 @@ sub list_employees {
}
$i = 1;
- $button{'HR--Employees--Add Employee'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Employee').qq|"> |;
+ $button{'HR--Employees--Add Employee'}{code} = qq|<button class="submit" type="submit" name="action" value="add_employee">|.$locale->text('Add Employee').qq|</button> |;
$button{'HR--Employees--Add Employee'}{order} = $i++;
foreach $item (split /;/, $myconfig{acs}) {
@@ -679,14 +679,14 @@ sub employee_footer {
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Update').qq|">
-<input class=submit type=submit name=action value="|.$locale->text('Save').qq|">
+<button class="submit" type="submit" name="action" value="update">|.$locale->text('Update').qq|</button>
+<button class="submit" type="submit" name="action" value="save">|.$locale->text('Save').qq|</button>
|;
if ($form->{id}) {
- print qq|<input class=submit type=submit name=action value="|.$locale->text('Save as new').qq|">\n|;
+ print qq|<button class="submit" type="submit" name="action" value="save_as_new">|.$locale->text('Save as new').qq|</button>\n|;
if ($form->{status} eq 'orphaned') {
- print qq|<input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">\n|;
+ print qq|<button class="submit" type="submit" name="action" value="delete">|.$locale->text('Delete').qq|</button>\n|;
}
}
@@ -840,7 +840,7 @@ sub search_deduction {
}
$i = 1;
- $button{'HR--Deductions--Add Deduction'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Deduction').qq|"> |;
+ $button{'HR--Deductions--Add Deduction'}{code} = qq|<button class="submit" type="submit" name="action" value="add_deduction">|.$locale->text('Add Deduction').qq|</button> |;
$button{'HR--Deductions--Add Deduction'}{order} = $i++;
foreach $item (split /;/, $myconfig{acs}) {
@@ -1099,27 +1099,27 @@ sub deduction_header {
sub deduction_footer {
print qq|
-<input name=id type=hidden value=$form->{id}>
+<input name="id" type="hidden" value="$form->{id}">
-<input type=hidden name=db value=$form->{db}>
+<input type="hidden" name="db" value="$form->{db}">
-<input type=hidden name=path value=$form->{path}>
-<input type=hidden name=login value=$form->{login}>
-<input type=hidden name=sessionid value=$form->{sessionid}>
+<input type="hidden" name="path" value="$form->{path}">
+<input type="hidden" name="login" value="$form->{login}">
+<input type="hidden" name="sessionid" value="$form->{sessionid}">
-<input type=hidden name=callback value="$form->{callback}">
+<input type="hidden" name="callback" value="$form->{callback}">
<br>
-<input class=submit type=submit name=action value="|.$locale->text("Update").qq|">
-<input class=submit type=submit name=action value="|.$locale->text("Save").qq|">
+<button class="submit" type="submit" name="action" value="update">|.$locale->text("Update").qq|</button>
+<button class="submit" type="submit" name="action" value="save">|.$locale->text("Save").qq|</button>
|;
if ($form->{id}) {
- print qq|<input class=submit type=submit name=action value="|.$locale->text('Save as new').qq|">\n|;
+ print qq|<button class="submit" type="submit" name="action" value="save_as_new">|.$locale->text('Save as new').qq|</button>\n|;
if ($form->{status} eq 'orphaned') {
- print qq|<input class=submit type=submit name=action value="|.$locale->text('Delete').qq|">\n|;
+ print qq|<button class="submit" type="submit" name="action" value="delete">|.$locale->text('Delete').qq|</button>\n|;
}
}