[freeside-commits] freeside/httemplate/edit/process
access_user.html, 1.2, 1.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Jan 16 16:41:00 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail:/tmp/cvs-serv4270/edit/process
Modified Files:
access_user.html
Log Message:
employee edit (ticket 1412)
Index: access_user.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/access_user.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- access_user.html 23 Aug 2006 22:25:37 -0000 1.2
+++ access_user.html 17 Jan 2007 00:40:57 -0000 1.3
@@ -1,8 +1,13 @@
-<% include( 'elements/process.html',
- 'table' => 'access_user',
- 'viewall_dir' => 'browse',
- 'process_m2m' => { 'link_table' => 'access_usergroup',
- 'target_table' => 'access_group',
- },
- )
+% if ( $cgi->param('_password') ne $cgi->param('_password2') ) {
+% $cgi->param('error', "The passwords do not match");
+% print $cgi->redirect(popurl(2) . "access_user.html?" . $cgi->query_string);
+% } else {
+<% include( 'elements/process.html',
+ 'table' => 'access_user',
+ 'viewall_dir' => 'browse',
+ 'process_m2m' => { 'link_table' => 'access_usergroup',
+ 'target_table' => 'access_group',
+ },
+ )
%>
+% }
More information about the freeside-commits
mailing list