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

SF.net SVN: ledger-smb: [400] trunk/bin/gl.pl



Revision: 400
          http://svn.sourceforge.net/ledger-smb/?rev=400&view=rev
Author:   tetragon
Date:     2006-10-30 13:38:18 -0800 (Mon, 30 Oct 2006)

Log Message:
-----------
Button update

Modified Paths:
--------------
    trunk/bin/gl.pl

Modified: trunk/bin/gl.pl
===================================================================
--- trunk/bin/gl.pl	2006-10-30 21:33:53 UTC (rev 399)
+++ trunk/bin/gl.pl	2006-10-30 21:38:18 UTC (rev 400)
@@ -1039,27 +1039,27 @@
 
   if (! $form->{readonly}) {
 
-    %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
-               'Post' => { ndx => 3, key => 'O', value => $locale->text('Post') },
-	       'Post as new' => { ndx => 6, key => 'N', value => $locale->text('Post as new') },
-	       'Schedule' => { ndx => 7, key => 'H', value => $locale->text('Schedule') },
-	       'Delete' => { ndx => 8, key => 'D', value => $locale->text('Delete') },
+    %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
+               'post' => { ndx => 3, key => 'O', value => $locale->text('Post') },
+	       'post_as_new' => { ndx => 6, key => 'N', value => $locale->text('Post as new') },
+	       'schedule' => { ndx => 7, key => 'H', value => $locale->text('Schedule') },
+	       'delete' => { ndx => 8, key => 'D', value => $locale->text('Delete') },
 	      );
     
     %a = ();
     
     if ($form->{id}) {
-      for ('Update', 'Post as new', 'Schedule') { $a{$_} = 1 }
+      for ('update', 'post_as_new', 'schedule') { $a{$_} = 1 }
       
       if (! $form->{locked}) {
 	if ($transdate > $closedto) {
-	  for ('Post', 'Delete') { $a{$_} = 1 }
+	  for ('post', 'delete') { $a{$_} = 1 }
 	}
       }
       
     } else {
       if ($transdate > $closedto) {
-	for ("Update", "Post", "Schedule") { $a{$_} = 1 }
+	for ("update", "post", "schedule") { $a{$_} = 1 }
       }
     }
 


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