Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/admin/task-panel-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/admin/task-panel-edit.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/obsolete-packages/acs-workflow/www/admin/task-panel-edit.tcl 13 Mar 2001 22:59:27 -0000 1.1 +++ openacs-4/contrib/obsolete-packages/acs-workflow/www/admin/task-panel-edit.tcl 19 Nov 2001 18:29:29 -0000 1.2 @@ -5,10 +5,11 @@ @creation-date December 12, 2000 @cvs-id $Id$ } { - workflow_key - transition_key - context_key - sort_key + workflow_key:notnull + transition_key:notnull + {context_key "default"} + sort_order:notnull,integer + return_url:optional } -properties { context_bar transition_name @@ -26,19 +27,21 @@ and t.transition_key = :transition_key } -set context_bar [ad_context_bar [list "workflow?[export_url_vars workflow_key]" "$workflow_name"] [list "task-panels?[export_vars -url { workflow_key transition_key context_key }]"] "Edit panel"] +set context_bar [ad_context_bar [list "workflow?[export_url_vars workflow_key]" "$workflow_name"] "Edit panel"] db_1row panel { select p.header, - p.template_url + p.template_url, + p.overrides_action_p, + p.only_display_when_started_p from wf_context_task_panels p where p.workflow_key = :workflow_key and p.transition_key = :transition_key and p.context_key = :context_key - and p.sort_key = :sort_key + and p.sort_order = :sort_order } -column_array panel -set panel(export_vars) [export_vars -form { workflow_key transition_key context_key sort_key }] +set panel(export_vars) [export_vars -form { workflow_key transition_key context_key sort_order return_url }] ad_return_template