. // TODO: - add a logging mechanism to see if people are using this. // - use display functions from util.inc // - give the user a language choice require_once("../inc/util.inc"); // Spammers were abusing this feature, // and AFAIK it was never used much. // Screw it. error_page("This feature is deprecated"); $user = get_logged_in_user(); page_head(tra("Tell your friends about %1", PROJECT)); $text = @file_get_contents('../ops/ffmail/text'); if (!$text) { $text = "I'm using my computer to crunch numbers for a science project called ".PROJECT.". The more computers participate, the more science gets done. Would you like to join me? To learn how, visit $master_url "; } $text .= "\n$user->name"; $subject = @file_get_contents('../ops/ffmail/subject'); if (!$subject) { $subject = "Join me at ".PROJECT; } echo tra("Use this form to send email messages to people you think might be interested in %1.", PROJECT); echo "
\n"; page_tail(); ?>