[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [253] trunk/bin



Revision: 253
          http://svn.sourceforge.net/ledger-smb/?rev=253&view=rev
Author:   tetragon
Date:     2006-10-21 09:37:07 -0700 (Sat, 21 Oct 2006)

Log Message:
-----------
Second batch of files prepared for RFTL removal

Modified Paths:
--------------
    trunk/bin/bp.pl
    trunk/bin/ca.pl
    trunk/bin/ct.pl
    trunk/bin/gl.pl
    trunk/bin/hr.pl

Modified: trunk/bin/bp.pl
===================================================================
--- trunk/bin/bp.pl	2006-10-21 16:19:42 UTC (rev 252)
+++ trunk/bin/bp.pl	2006-10-21 16:37:07 UTC (rev 253)
@@ -186,7 +186,7 @@
 <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 @@
 
 <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>

Modified: trunk/bin/ca.pl
===================================================================
--- trunk/bin/ca.pl	2006-10-21 16:19:42 UTC (rev 252)
+++ trunk/bin/ca.pl	2006-10-21 16:37:07 UTC (rev 253)
@@ -260,11 +260,11 @@
   <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>

Modified: trunk/bin/ct.pl
===================================================================
--- trunk/bin/ct.pl	2006-10-21 16:19:42 UTC (rev 252)
+++ trunk/bin/ct.pl	2006-10-21 16:37:07 UTC (rev 253)
@@ -502,14 +502,14 @@
   </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 @@
   $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 @@
   $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>

Modified: trunk/bin/gl.pl
===================================================================
--- trunk/bin/gl.pl	2006-10-21 16:19:42 UTC (rev 252)
+++ trunk/bin/gl.pl	2006-10-21 16:37:07 UTC (rev 253)
@@ -349,7 +349,7 @@
   
   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 @@
 
   $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 @@
 
 <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>
 |;
 

Modified: trunk/bin/hr.pl
===================================================================
--- trunk/bin/hr.pl	2006-10-21 16:19:42 UTC (rev 252)
+++ trunk/bin/hr.pl	2006-10-21 16:37:07 UTC (rev 253)
@@ -166,7 +166,7 @@
 
   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 @@
   }
 
   $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 @@
 
 <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 @@
   }
 
   $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_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|;
     }
   }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.