######################################################################## # Method: list_tc # Use: Describes the nature of the bucket's terms and conditions # Created: placeholder for interpreter ######################################################################## sub list_tc { require "$method_dir/display.pl"; # so we can call &display_element local($target) = $in{"target"}; if (-f "$tc_dir/$target.tc") { &display_element($tc_dir,"$target.tc"); &log("list_tc","OK","TC for $method listed"); } else { &http_header("text/plain"); &complain("list_tc: TC for $method not found"); &log("list_tc","ERR","TC for $method not found"); } } 1;