diff options
author | jeff <jeff> | 2007-01-17 00:40:57 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-01-17 00:40:57 +0000 |
commit | eab5690e7cd970706f709ac0ef4f1c3e317fcd7d (patch) | |
tree | 22fd2670f897c5ab7a7ec8fd8c72d1e3c35476f5 /httemplate/edit/process/access_user.html | |
parent | f849597b839a3ce1f497b35fa17f39ff66d39e30 (diff) |
employee edit (ticket 1412)
Diffstat (limited to 'httemplate/edit/process/access_user.html')
-rw-r--r-- | httemplate/edit/process/access_user.html | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/httemplate/edit/process/access_user.html b/httemplate/edit/process/access_user.html index 78857c525..ebbcdca17 100644 --- a/httemplate/edit/process/access_user.html +++ b/httemplate/edit/process/access_user.html @@ -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', + }, + ) %> +% } |