Index: openacs-4/packages/attendance/www/admin/mark.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/attendance/www/admin/mark.adp,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/attendance/www/admin/mark.adp 9 Jun 2005 05:54:37 -0000 1.2
+++ openacs-4/packages/attendance/www/admin/mark.adp 12 Aug 2005 12:26:46 -0000 1.3
@@ -2,6 +2,8 @@
Attendance for $task_name on $cal_item_info(full_start_date)
" + +template::list::create \ + -name eval_members \ + -multirow eval_members \ + -elements { + member_name { + label "Name" + } + medical_needs { + label "Medical Needs" + } + special_issues { + label "Special Issues" + } + present { + label "Present" + display_template { checked> } + } + } + +set users [dotlrn_community::list_users $community_id] + +template::multirow create eval_members user_id member_name medical_needs special_issues present + +ns_log Notice " ** $users ** " + +foreach user $users { + set medical_needs [db_string "get_medical_issues" "select allergies from person_info where person_id =[ns_set get $user user_id]" -default ""] + set special_issues [db_string "get_special_issues" "select special_needs from person_info where person_id = [ns_set get $user user_id]" -default ""] + set present [db_0or1row "checkattendance" "select user_id from attendance_cal_item_map where cal_item_id = :cal_item_id and user_id = [ns_set get $user user_id]"] + template::multirow append eval_members "[ns_set get $user user_id]" "[ns_set get $user first_names] [ns_set get $user last_name]" "$medical_needs" "$special_issues" "$present" +} Index: openacs-4/packages/attendance/www/admin/printable-master.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attendance/www/admin/printable-master.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/attendance/www/admin/printable-master.adp 12 Aug 2005 12:26:46 -0000 1.1 @@ -0,0 +1,20 @@ + + +