Index: openacs-4/packages/contacts/www/contact.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/contact.tcl,v diff -u -r1.33 -r1.34 --- openacs-4/packages/contacts/www/contact.tcl 15 Feb 2006 10:06:36 -0000 1.33 +++ openacs-4/packages/contacts/www/contact.tcl 4 Mar 2006 23:54:40 -0000 1.34 @@ -41,13 +41,9 @@ set update_date [db_string get_update_date { select to_char(publish_date,'Mon FMDD, YYYY at FMHH12:MIam') from cr_revisions where revision_id = :live_revision } -default {}] } +# Ideally we would use callbacks for the include instead of checking directly for a specific package +set tasks_enabled_p [apm_package_enabled_p tasks] -if { [site_node::get_package_url -package_key "tasks"] != "" } { - set tasks_enabled_p 1 -} else { - set tasks_enabled_p 0 -} - # Get the linked projekt_id to display the subprojects if projects is installed set pm_package_id ""