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

SF.net SVN: ledger-smb: [258] trunk



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

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

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm
    trunk/bin/rc.pl
    trunk/bin/rp.pl

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2006-10-21 17:33:11 UTC (rev 257)
+++ trunk/LedgerSMB/Form.pm	2006-10-21 17:51:45 UTC (rev 258)
@@ -1313,8 +1313,8 @@
 sub print_button {
 	my ($self, $button, $name) = @_;
 
-	print qq|<input class="submit" type="submit" name="action" value="$button->{$name}{value}" accesskey="$button->{$name}{key}" title="$button->{$name}{value} [Alt-$button->{$name}{key}]" />\n|;
-}
+	print qq|<button class="submit" type="submit" name="action" value="$name" accesskey="$button->{$name}{key}" title="$button->{$name}{value} [Alt-$button->{$name}{key}]">$button->{$name}{value}</button>\n|;
+}          
 
 
 # Database routines used throughout

Modified: trunk/bin/rc.pl
===================================================================
--- trunk/bin/rc.pl	2006-10-21 17:33:11 UTC (rev 257)
+++ trunk/bin/rc.pl	2006-10-21 17:51:45 UTC (rev 258)
@@ -167,7 +167,7 @@
   $form->hide_form(qw(path login sessionid));
 
   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>
 |;
@@ -315,8 +315,8 @@
 <input type=button name=calculate class=submit onClick="custom_calc_total()" 
    value='Calculate'>
 |;
-  print qq|</table><input type=submit name=action value="|.
-		$locale->text("close_till").qq|">|;
+  print qq|</table><button type="submit" name="action" value="close_till">|.
+		$locale->text("close_till").qq|</button>|;
   print qq|
 </form>
 
@@ -665,14 +665,14 @@
 |;
 
   if ($form->{'pos'}){
-     $close_next = qq|<input type=submit class=submit name=action 
-       value="|.$locale->text('close_next').qq|">|;
+     $close_next = qq|<button type="submit" class="submit" name="action" 
+       value="close_next">|.$locale->text('close_next').qq|</button>|;
      $done = "";
   }
   else {
      $close_next = "";
-     $done = qq|<input type=submit class=submit name=action
-       value="|.$locale->text('Done').qq|">|;
+     $done = qq|<button type="submit" class="submit" name="action"
+       value="done">|.$locale->text('Done').qq|</button>|;
   }
   if ($form->{'pos'}){
     $difference = qq|
@@ -743,8 +743,8 @@
   
   print qq|
 <br>
-<input type=submit class=submit name=action value="|.$locale->text('Update').qq|">
-<input type=submit class=submit name=action value="|.$locale->text('Select all').qq|">
+<button type="submit" class="submit" name="action" value="update">|.$locale->text('Update').qq|</button>
+<button type="submit" class="submit" name="action" value="select_all">|.$locale->text('Select all').qq|</button>
     $done
     $close_next |;
   }

Modified: trunk/bin/rp.pl
===================================================================
--- trunk/bin/rp.pl	2006-10-21 17:33:11 UTC (rev 257)
+++ trunk/bin/rp.pl	2006-10-21 17:51:45 UTC (rev 258)
@@ -769,11 +769,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>
 
 </form>
 |;
@@ -1876,10 +1876,10 @@
   </tr>
 </table>
 
-<input type=hidden name=nextsub value=send_email>
+<input type="hidden" name="nextsub" value="send_email">
 
 <br>
-<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>


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