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

SF.net SVN: ledger-smb: [406] trunk/bin/pe.pl



Revision: 406
          http://svn.sourceforge.net/ledger-smb/?rev=406&view=rev
Author:   tetragon
Date:     2006-10-30 15:46:50 -0800 (Mon, 30 Oct 2006)

Log Message:
-----------
Updating buttons

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

Modified: trunk/bin/pe.pl
===================================================================
--- trunk/bin/pe.pl	2006-10-30 23:38:41 UTC (rev 405)
+++ trunk/bin/pe.pl	2006-10-30 23:46:50 UTC (rev 406)
@@ -385,14 +385,14 @@
 # type=submit $locale->text('Save')
 # type=submit $locale->text('Delete')
   
-  %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
+  %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
 	    );
   
   if ($myconfig{acs} !~ /Job Costing--Add Job/) {
-    $button{'Save'} = { ndx => 3, key => 'S', value => $locale->text('Save') };
+    $button{'save'} = { ndx => 3, key => 'S', value => $locale->text('Save') };
 
     if ($form->{id} && $form->{orphaned}) {
-      $button{'Delete'} = { ndx => 16, key => 'D', value => $locale->text('Delete') };
+      $button{'delete'} = { ndx => 16, key => 'D', value => $locale->text('Delete') };
     }
   }
 
@@ -1052,14 +1052,14 @@
 
   $form->hide_form(qw(callback path login sessionid));
   
-  %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
+  %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
 	    );
   
   if ($myconfig{acs} !~ /Projects--Add Project/) {
-    $button{'Save'} = { ndx => 3, key => 'S', value => $locale->text('Save') };
+    $button{'save'} = { ndx => 3, key => 'S', value => $locale->text('Save') };
 
     if ($form->{id} && $form->{orphaned}) {
-      $button{'Delete'} = { ndx => 16, key => 'D', value => $locale->text('Delete') };
+      $button{'delete'} = { ndx => 16, key => 'D', value => $locale->text('Delete') };
     }
   }
 
@@ -1888,13 +1888,13 @@
 
   $form->hide_form(qw(path login sessionid callback));
   
-  %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
-	     'Save' => { ndx => 3, key => 'S', value => $locale->text('Save') },
-	     'Delete' => { ndx => 16, key => 'D', value => $locale->text('Delete') },
+  %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
+	     'save' => { ndx => 3, key => 'S', value => $locale->text('Save') },
+	     'delete' => { ndx => 16, key => 'D', value => $locale->text('Delete') },
 	    );
   
   if (! $form->{trans_id}) {
-    delete $button{'Delete'};
+    delete $button{'delete'};
   }
 
   for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }


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