[freeside-commits] freeside/httemplate/edit access_user.html, 1.3, 1.4

Jeff Finucane,420,, jeff at wavetail.420.am
Tue Jan 16 16:40:59 PST 2007


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv4270/edit

Modified Files:
	access_user.html 
Log Message:
employee edit (ticket 1412)

Index: access_user.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/access_user.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- access_user.html	23 Aug 2006 22:25:37 -0000	1.3
+++ access_user.html	17 Jan 2007 00:40:57 -0000	1.4
@@ -4,6 +4,7 @@
                  'fields' => [
                                'username',
                                { field=>'_password', type=>'password' },
+                               { field=>'_password2', type=>'password' },
                                'last',
                                'first',
                                { field=>'disabled', type=>'checkbox', value=>'Y' },
@@ -12,10 +13,14 @@
                                'usernum'   => 'User number',
                                'username'  => 'Username',
                                '_password' => 'Password',
+                               '_password2'=> 'Re-enter Password',
                                'last'      => 'Last name',
                                'first'     => 'First name',
                                'disabled'  => 'Disable employee',
                              },
+                 'edit_callback' => sub { my( $c, $o ) = @_; 
+                                          $o->set('_password2', $o->_password);
+                                        },
                  'viewall_dir' => 'browse',
                  'html_bottom' =>
                    sub {



More information about the freeside-commits mailing list