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

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



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

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

Modified Paths:
--------------
    trunk/bin/login.pl
    trunk/bin/oe.pl
    trunk/bin/pe.pl
    trunk/bin/pos.pl
    trunk/bin/pw.pl

Modified: trunk/bin/login.pl
===================================================================
--- trunk/bin/login.pl	2006-10-21 17:21:14 UTC (rev 256)
+++ trunk/bin/login.pl	2006-10-21 17:33:11 UTC (rev 257)
@@ -144,7 +144,7 @@
 					</table>
 						<input type="hidden" name="path" value="$form->{path}" />
 						<input type="hidden" name="js" value="$form->{js}" />
-						<input type="submit" name="action" value="|.$locale->text('Login').qq|" />
+						<button type="submit" name="action" value="login">|.$locale->text('Login').qq|</button>
 					</form>
 					</p>
 				</td>
@@ -209,7 +209,7 @@
 									</tr>
 								</table>
 								<br />
-								<input type="submit" name="action" value="|.$locale->text('Login').qq|">
+								<button type="submit" name="action" value="login">|.$locale->text('Login').qq|</button>
 							</td>
 						</tr>
 					</table>

Modified: trunk/bin/oe.pl
===================================================================
--- trunk/bin/oe.pl	2006-10-21 17:21:14 UTC (rev 256)
+++ trunk/bin/oe.pl	2006-10-21 17:33:11 UTC (rev 257)
@@ -1256,7 +1256,7 @@
   $form->hide_form(qw(path login sessionid vc type));
   
   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>
 </form>
 |;
 
@@ -1338,7 +1338,7 @@
     if ($form->{type} eq 'purchase_order') {
       $form->{title} = $locale->text('Purchase Orders');
       if ($myconfig{acs} !~ /Order Entry--Order Entry/) {
-	$button{'Order Entry--Purchase Order'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Purchase Order').qq|"> |;
+	$button{'Order Entry--Purchase Order'}{code} = qq|<button class="submit" type="submit" name="action" value="purchase_order">|.$locale->text('Purchase Order').qq|</button> |;
 	$button{'Order Entry--Purchase Order'}{order} = $i++;
       }
     }
@@ -1347,7 +1347,7 @@
       $form->{type} = "purchase_order";
       unshift @column_index, "ndx";
       if ($myconfig{acs} !~ /Order Entry--Order Entry/) {
-	$button{'Order Entry--Sales Order'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Generate Sales Order').qq|"> |;
+	$button{'Order Entry--Sales Order'}{code} = qq|<button class="submit" type="submit" name="action" value="generate_sales_order">|.$locale->text('Generate Sales Order').qq|</button> |;
 	$button{'Order Entry--Sales Order'}{order} = $i++;
       }
     }
@@ -1356,7 +1356,7 @@
       $form->{type} = "purchase_order";
       unshift @column_index, "ndx";
       if ($myconfig{acs} !~ /Order Entry--Order Entry/) {
-	$button{'Order Entry--Purchase Order'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Consolidate Orders').qq|"> |;
+	$button{'Order Entry--Purchase Order'}{code} = qq|<button class="submit" type="submit" name="action" value="consolidate_orders">|.$locale->text('Consolidate Orders').qq|</button> |;
 	$button{'Order Entry--Purchase Order'}{order} = $i++;
       }
     }
@@ -1366,7 +1366,7 @@
       $quotation = $locale->text('RFQ');
 
       if ($myconfig{acs} !~ /Quotations--Quotations/) {
-	$button{'Quotations--RFQ'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('RFQ ').qq|"> |;
+	$button{'Quotations--RFQ'}{code} = qq|<button class="submit" type="submit" name="action" value="rfq_">|.$locale->text('RFQ ').qq|"</button> |;
 	$button{'Quotations--RFQ'}{order} = $i++;
       }
       
@@ -1380,7 +1380,7 @@
       $employee = $locale->text('Salesperson');
 
       if ($myconfig{acs} !~ /Order Entry--Order Entry/) {
-	$button{'Order Entry--Sales Order'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Sales Order').qq|"> |;
+	$button{'Order Entry--Sales Order'}{code} = qq|<button class="submit" type="submit" name="action" value="sales_order">|.$locale->text('Sales Order').qq|</button> |;
 	$button{'Order Entry--Sales Order'}{order} = $i++;
       }
 
@@ -1391,7 +1391,7 @@
       $employee = $locale->text('Salesperson');
       unshift @column_index, "ndx";
       if ($myconfig{acs} !~ /Order Entry--Order Entry/) {
-	$button{'Order Entry--Purchase Order'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Generate Purchase Orders').qq|"> |;
+	$button{'Order Entry--Purchase Order'}{code} = qq|<button class="submit" type="submit" name="action" value="generate_purchase_orders">|.$locale->text('Generate Purchase Orders').qq|</button> |;
 	$button{'Order Entry--Purchase Order'}{order} = $i++;
       }
     }
@@ -1400,7 +1400,7 @@
       $form->{type} = "sales_order";
       unshift @column_index, "ndx";
       if ($myconfig{acs} !~ /Order Entry--Order Entry/) {
-	$button{'Order Entry--Sales Order'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Consolidate Orders').qq|"> |;
+	$button{'Order Entry--Sales Order'}{code} = qq|<button class="submit" type="submit" name="action" value="consolidate_orders">|.$locale->text('Consolidate Orders').qq|</button> |;
 	$button{'Order Entry--Sales Order'}{order} = $i++;
       }
     }
@@ -1416,7 +1416,7 @@
       $quotation = $locale->text('Quotation');
 
       if ($myconfig{acs} !~ /Quotations--Quotations/) {
-	$button{'Quotations--Quotation'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Quotation ').qq|"> |;
+	$button{'Quotations--Quotation'}{code} = qq|<button class="submit" type="submit" name="action" value="quotation_">|.$locale->text('Quotation ').qq|</button> |;
 	$button{'Quotations--Quotation'}{order} = $i++;
       }
       
@@ -1838,7 +1838,7 @@
 
 <h4>$msg $form->{$ordnumber}</h4>
 <p>
-<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>
@@ -2037,7 +2037,7 @@
 <br>
 <input type=hidden name=nextsub value=save_exchangerate>
 
-<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>
 
@@ -2548,7 +2548,7 @@
 <br>
 <input type=hidden name=nextsub value=list_transfer>
 
-<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));
 
@@ -2706,7 +2706,7 @@
   $form->hide_form(qw(path login sessionid action));
 
   print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Transfer').qq|">|;
+<button class="submit" type="submit" name="action" value="transfer">|.$locale->text('Transfer').qq|</button>|;
 
   if ($form->{lynx}) {
     require "bin/menu.pl";
@@ -2912,10 +2912,10 @@
   $form->hide_form(qw(callback department ponumber path login sessionid employee_id vc nextsub rowcount type));
   
   print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Generate Orders').qq|">|;
+<button class="submit" type="submit" name="action" value="generate_orders">|.$locale->text('Generate Orders').qq|</button>|;
 
   print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Select Vendor').qq|">|;
+<button class="submit" type="submit" name="action" value="select_vendor">|.$locale->text('Select Vendor').qq|</button>|;
  
   if ($form->{lynx}) {
     require "bin/menu.pl";
@@ -2996,7 +2996,7 @@
   $form->hide_form;
   
   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>
 
 </form>
 |;

Modified: trunk/bin/pe.pl
===================================================================
--- trunk/bin/pe.pl	2006-10-21 17:21:14 UTC (rev 256)
+++ trunk/bin/pe.pl	2006-10-21 17:33:11 UTC (rev 257)
@@ -527,9 +527,9 @@
   $form->hide_form(qw(callback type path login sessionid status));
 
   print qq|
-<input type=hidden name=nextsub value="stock">
+<input type="hidden" name="nextsub" value="stock">
 <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>
@@ -741,7 +741,7 @@
   $form->hide_form(qw(path login sessionid title));
 
   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>
 </form>
 |;
 
@@ -916,7 +916,7 @@
   $i = 1;
   if ($form->{type} eq 'project') {
     if ($myconfig{acs} !~ /Projects--Projects/) {
-      $button{'Projects--Add Project'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Project').qq|"> |;
+      $button{'Projects--Add Project'}{code} = qq|<button class="submit" type="submit" name="action" value="add_project">|.$locale->text('Add Project').qq|</button> |;
       $button{'Projects--Add Project'}{order} = $i++;
 
       for (split /;/, $myconfig{acs}) {
@@ -925,7 +925,7 @@
     }
   } else {
     if ($myconfig{acs} !~ /Job Costing--Job Costing/) {
-      $button{'Job Costing--Add Job'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Job').qq|"> |;
+      $button{'Job Costing--Add Job'}{code} = qq|<button class="submit" type="submit" name="action" value="add_job">|.$locale->text('Add Job').qq|</button> |;
       $button{'Job Costing--Add Job'}{order} = $i++;
 
       for (split /;/, $myconfig{acs}) {
@@ -1257,7 +1257,7 @@
 
   $i = 1;
   if ($myconfig{acs} !~ /Goods \& Services--Goods \& Services/) {
-    $button{'Goods & Services--Add Group'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Group').qq|"> |;
+    $button{'Goods & Services--Add Group'}{code} = qq|<button class="submit" type="submit" name="action" value="add_group">|.$locale->text('Add Group').qq|</button> |;
     $button{'Goods & Services--Add Group'}{order} = $i++;
 
     foreach $item (split /;/, $myconfig{acs}) {
@@ -1351,12 +1351,12 @@
 
   if ($myconfig{acs} !~ /Goods \& Services--Add Group/) {
     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->{id} && $form->{orphaned}) {
       print qq|
-<input type=submit class=submit name=action value="|.$locale->text('Delete').qq|">|;
+<button type="submit" class="submit" name="action" value="delete">|.$locale->text('Delete').qq|</button>|;
     }
   }
 
@@ -1453,7 +1453,7 @@
 
   $i = 1;
   if ($myconfig{acs} !~ /Goods \& Services--Goods \& Services/) {
-    $button{'Goods & Services--Add Pricegroup'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Pricegroup').qq|"> |;
+    $button{'Goods & Services--Add Pricegroup'}{code} = qq|<button class="submit" type="submit" name="action" value="add_pricegroup">|.$locale->text('Add Pricegroup').qq|</button> |;
     $button{'Goods & Services--Add Pricegroup'}{order} = $i++;
 
     foreach $item (split /;/, $myconfig{acs}) {
@@ -1545,12 +1545,12 @@
   
   if ($myconfig{acs} !~ /Goods \& Services--Add Pricegroup/) {
     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->{id} && $form->{orphaned}) {
       print qq|
-<input type=submit class=submit name=action value="|.$locale->text('Delete').qq|">|;
+<button type="submit" class="submit" name="action" value="delete">|.$locale->text('Delete').qq|</button>|;
     }
   }
 
@@ -1639,7 +1639,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>
 
 </body>
@@ -2068,9 +2068,9 @@
   $form->hide_form;
 
   print qq|
-<input type=hidden name=nextsub value=name_selected>
+<input type="hidden" name="nextsub" value="name_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>
@@ -2218,7 +2218,7 @@
   $form->hide_form(qw(path login sessionid nextsub type vc));
 
   print qq|
-<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>
 |;
@@ -2399,10 +2399,10 @@
 
   if ($form->{rowcount}) {
     print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Generate Sales Orders').qq|">|;
+<button class="submit" type="submit" name="action" value="generate_sales_orders">|.$locale->text('Generate Sales Orders').qq|</button>|;
 
     print qq|
-<input class=submit type=submit name=action value="|.$locale->text('Select Customer').qq|">|;
+<button class="submit" type="submit" name="action" value="select_customer">|.$locale->text('Select Customer').qq|</button>|;
 
   }
 
@@ -2448,7 +2448,7 @@
   $form->hide_form;
 
   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> 
     
 </form>
 |;

Modified: trunk/bin/pos.pl
===================================================================
--- trunk/bin/pos.pl	2006-10-21 17:21:14 UTC (rev 256)
+++ trunk/bin/pos.pl	2006-10-21 17:33:11 UTC (rev 257)
@@ -572,7 +572,7 @@
       foreach $item (split /\n/, $form->{partsgroup}) {
 	($partsgroup, $translation) = split /--/, $item;
 	$item = ($translation) ? $translation : $partsgroup;
-	print qq| <input class=submit type=submit name=action value="$spc$item">\n| if $item;
+	print qq| <button class="submit" type="submit" name="action" value="$spc$item">$spc$item</button>\n| if $item;
       }
     }
   }
@@ -1034,11 +1034,11 @@
 </table>
 
 <br>
-<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=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+<button type="submit" class="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
 |;
 
   if ($form->{lynx}) {

Modified: trunk/bin/pw.pl
===================================================================
--- trunk/bin/pw.pl	2006-10-21 17:21:14 UTC (rev 256)
+++ trunk/bin/pw.pl	2006-10-21 17:33:11 UTC (rev 257)
@@ -65,8 +65,8 @@
 <table>
   <tr>
     <th align=right>|.$locale->text('Password').qq|</th>
-    <td><input type=password name=password size=30></td>
-    <td><input type=submit value="|.$locale->text('Continue').qq|"></td>
+    <td><input type="password" name="password" size="30"></td>
+    <td><button type="submit" value="continue">|.$locale->text('Continue').qq|</button></td>
   </tr>
 </table>
 


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