From 2c757d7db4cb6a7b9655de13206fcc84fb7ce61f Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 14 May 2006 16:47:31 +0000 Subject: first part of ACL and re-skinning work and some other small stuff --- httemplate/edit/process/access_user.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 httemplate/edit/process/access_user.html (limited to 'httemplate/edit/process/access_user.html') diff --git a/httemplate/edit/process/access_user.html b/httemplate/edit/process/access_user.html new file mode 100644 index 000000000..a6c2a36b1 --- /dev/null +++ b/httemplate/edit/process/access_user.html @@ -0,0 +1,8 @@ +<%= include( 'elements/process.html', + 'table' => 'access_user', + 'viewall_dir' => 'browse', + 'process_m2m' => { 'link_table' => 'access_usergroup', + 'target_table' => 'access_group', + }, + ) +%> -- cgit v1.2.1 From 3ce7691203a7737406bf2d4442f7fd84b81f847e Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 23 Aug 2006 22:25:39 +0000 Subject: Will things ever be the same again? It's the final masonize --- httemplate/edit/process/access_user.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/edit/process/access_user.html') diff --git a/httemplate/edit/process/access_user.html b/httemplate/edit/process/access_user.html index a6c2a36b1..78857c525 100644 --- a/httemplate/edit/process/access_user.html +++ b/httemplate/edit/process/access_user.html @@ -1,4 +1,4 @@ -<%= include( 'elements/process.html', +<% include( 'elements/process.html', 'table' => 'access_user', 'viewall_dir' => 'browse', 'process_m2m' => { 'link_table' => 'access_usergroup', -- cgit v1.2.1 From eab5690e7cd970706f709ac0ef4f1c3e317fcd7d Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 17 Jan 2007 00:40:57 +0000 Subject: employee edit (ticket 1412) --- httemplate/edit/process/access_user.html | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'httemplate/edit/process/access_user.html') 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', + }, + ) %> +% } -- cgit v1.2.1 From a54aa62df5076e113134e06e11ba9776c3e60a36 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 19 Jan 2007 16:31:21 +0000 Subject: no password in html source on employee edit --- httemplate/edit/process/access_user.html | 1 + 1 file changed, 1 insertion(+) (limited to 'httemplate/edit/process/access_user.html') diff --git a/httemplate/edit/process/access_user.html b/httemplate/edit/process/access_user.html index ebbcdca17..7aab79954 100644 --- a/httemplate/edit/process/access_user.html +++ b/httemplate/edit/process/access_user.html @@ -5,6 +5,7 @@ <% include( 'elements/process.html', 'table' => 'access_user', 'viewall_dir' => 'browse', + 'copy_on_empty' => [ '_password' ], 'process_m2m' => { 'link_table' => 'access_usergroup', 'target_table' => 'access_group', }, -- cgit v1.2.1 From 32860d44e17b53f220cd98e041219d7d5b8a4619 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 19 Jan 2007 22:02:21 +0000 Subject: blank password on error --- httemplate/edit/process/access_user.html | 1 + 1 file changed, 1 insertion(+) (limited to 'httemplate/edit/process/access_user.html') diff --git a/httemplate/edit/process/access_user.html b/httemplate/edit/process/access_user.html index 7aab79954..9f7c4ddbf 100644 --- a/httemplate/edit/process/access_user.html +++ b/httemplate/edit/process/access_user.html @@ -6,6 +6,7 @@ 'table' => 'access_user', 'viewall_dir' => 'browse', 'copy_on_empty' => [ '_password' ], + 'clear_on_error' => [ '_password', '_password2' ], 'process_m2m' => { 'link_table' => 'access_usergroup', 'target_table' => 'access_group', }, -- cgit v1.2.1