Index: openacs-4/packages/tasks/www/contact.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/tasks/www/contact.adp,v diff -u -r1.10 -r1.11 --- openacs-4/packages/tasks/www/contact.adp 23 Oct 2005 12:58:50 -0000 1.10 +++ openacs-4/packages/tasks/www/contact.adp 24 Oct 2005 21:39:24 -0000 1.11 @@ -10,7 +10,7 @@ page="@page@" page_size="@page_size@" search_id="" - row_list="@row_list@" + elements="@elements@" page_flush_p="0" show_filters_p="t" emp_f="@emp_f@" Index: openacs-4/packages/tasks/www/contact.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/tasks/www/contact.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/tasks/www/contact.tcl 23 Oct 2005 12:58:50 -0000 1.8 +++ openacs-4/packages/tasks/www/contact.tcl 24 Oct 2005 21:39:24 -0000 1.9 @@ -27,7 +27,6 @@ {cgl_orderby ""} {tasks_orderby ""} {page "1"} - {emp_f ""} } -properties { task_term:onevalue context:onevalue @@ -38,5 +37,9 @@ set user_id [ad_conn user_id] set package_id [ad_conn package_id] set admin_p [permission::permission_p -object_id $package_id -privilege admin] -set context {} -set row_list {checkbox {} deleted_p {} priority {} title {} process_title {} date {} creation_user {}} +set context [list] +set elements "checkbox deleted_p priority title process_title date creation_user" + +if { [string equal $emp_f "2"]} { + lappend elements contact_name +}