Changeset 994
- Timestamp:
- 03/25/07 12:48:59 (20 months ago)
- Files:
-
- 1 modified
-
trunk/lib/OpenGuides/Template.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/OpenGuides/Template.pm
r992 r994 206 206 $tt->process( $args{template}, $tt_vars, \$output ); 207 207 208 my $contact_email = $config->contact_email; 209 208 210 $output ||= qq(<html><head><title>ERROR</title></head><body><p> 209 Failed to process template: ) 210 . $tt->error 211 . qq(</p></body></html>); 211 Sorry! Something went wrong. Please contact the site administrator 212 at <a href="mailto:$contact_email">$contact_email</a> and quote the 213 following error message:</p><blockquote>Failed to process template: ) 214 . $tt->error 215 . qq(</blockquote></body></html>); 212 216 213 217 return $header . $output;
