Index: openacs-4/packages/lab-report-central/tcl/lab-report-central-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report-central/tcl/lab-report-central-procs.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/lab-report-central/tcl/lab-report-central-procs.tcl 24 Apr 2006 11:27:04 -0000 1.1 +++ openacs-4/packages/lab-report-central/tcl/lab-report-central-procs.tcl 27 Apr 2006 04:34:33 -0000 1.2 @@ -33,3 +33,17 @@ } { return [db_string instructor_group {} -default ""] } + +ad_proc -private lab_report_central::unmapped_templates_get_options { + -lab_id +} { + Retrieves an options list of report templates that have not been + mapped to the specified lab_id. + + @param lab_id The ID of a lab. + @return Options list of report templates. +} { + set templates_list [db_list_of_lists templates {}] + + return $templates_list +}