From 8997f1f6dc27262042a30c35266a95672e4406d4 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 22 Oct 2008 18:50:22 +0000 Subject: Modified viewfunctions to split displayform, creating displayformstart and displayformend, to provide flexibility while still using the library. Also added support for hidden fields - including a common redir field. Removed redirectOnSuccess from controllerfunctions handle_form, and replaced it with the redir field. Removed redirectOnSuccess from controllers that used it and added handlecommandresults and redir entries to links and forms throughout many views. This will cause a redirect to the originating view when a form is successfully completed. acf_www-controller now includes orig_action in page_info to report the original action launched by the user. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1560 ab2d0c66-481e-0410-8bed-d214d4d58bed --- app/acf-util/roles-viewroles-html.lsp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/acf-util/roles-viewroles-html.lsp') diff --git a/app/acf-util/roles-viewroles-html.lsp b/app/acf-util/roles-viewroles-html.lsp index f5ca4d5..8b9a10f 100644 --- a/app/acf-util/roles-viewroles-html.lsp +++ b/app/acf-util/roles-viewroles-html.lsp @@ -5,11 +5,12 @@ io.write(html.cfe_unpack(view)) --]] %> -<% displaycommandresults({"deleterole"}, session) %> +<% displaycommandresults({"newrole", "editrole", "deleterole"}, session) %>

Roles

Create new role

+
@@ -31,7 +32,7 @@
<%= role %>
[View this role] - [Edit this role] + [Edit this role] [Delete this role]
<% end %> -- cgit v1.2.3