diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-21 16:37:07 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-21 16:37:07 +0000 |
commit | 91907e5b1e2fb857e86a7744b29d3f6d7b17f05a (patch) | |
tree | 0302892a90c87d5c9549570cad9f77e014b966c4 /bin | |
parent | 86abda9a7d811ea927c5b7505d819eab33412e5e (diff) |
Second batch of files prepared for RFTL removal
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@253 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bp.pl | 4 | ||||
-rwxr-xr-x | bin/ca.pl | 8 | ||||
-rwxr-xr-x | bin/ct.pl | 18 | ||||
-rwxr-xr-x | bin/gl.pl | 14 | ||||
-rwxr-xr-x | bin/hr.pl | 34 |
5 files changed, 39 insertions, 39 deletions
@@ -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> @@ -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> @@ -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> @@ -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> |; @@ -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|; } } |