Index: openacs-4/packages/wp-slim/www/presentation-acl-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/www/presentation-acl-add-2.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/wp-slim/www/presentation-acl-add-2.tcl 6 Sep 2002 15:32:23 -0000 1.2 +++ openacs-4/packages/wp-slim/www/presentation-acl-add-2.tcl 22 Sep 2003 18:41:27 -0000 1.3 @@ -23,7 +23,7 @@ ad_require_permission $pres_item_id wp_admin_presentation -set context [list [list "presentation-top?[export_url_vars pres_item_id]" "$title"] [list "presentation-acl?[export_url_vars pres_item_id]" "Authorization"] "Confirm Add User"] +set context [list [list "presentation-top?[export_url_vars pres_item_id]" "$title"] [list "presentation-acl?[export_url_vars pres_item_id]" "[_ wp-slim.Authorization]"] "[_ wp-slim.Confirm_Add_User]"] set privilege [ad_decode $role "read" "wp_view_presentation" "write" "wp_edit_presentation" "admin" "wp_admin_presentation" ""] @@ -35,11 +35,12 @@ and grantee_id = :user_id_from_search and privilege = :privilege }] { - ad_return_error "User Already Had That Privilege" "That user can already $role the presentation. Maybe you want to try again" + set vars [export_url_vars pres_item_id] + ad_return_error "[_ wp-slim.lt_User_Already_Had_That]" "[_ wp-slim.lt_That_user_can_already]" db_release_unused_handles return } db_release_unused_handles -ad_return_template \ No newline at end of file +ad_return_template