/* bram brambring http://www.brambring.nl $Id: TellAFriend.php,v 1.4 2004/02/12 08:11:04 pts00065 Exp $ *Save this file ( fe as local/mailform.php *Add include_once("local/mailform.php"); to the end of your local.php *Make sure the variables MailPostsFrom and MailPostsTo are set in your local.php (these are the same as used by mailposts) *Change the parameters below to something you like (in your local.php) $Log: TellAFriend.php,v $ Revision 1.4 2004/02/12 08:11:04 pts00065 MailFormThankYou global Revision 1.3 2004/02/12 07:41:44 pts00065 beta9 Revision 1.2 2004/02/12 07:15:06 pts00065 - Revision 1.1 2004/02/11 16:49:07 pts00065 email form */ $MailFormTitle="Verstuur deze pagina"; $MailFormThankYou="Bedankt ! De pagina is verstuurd"; $MailFormSendTo="Verstuur de pagina aan"; $MailFormSendFrom="Uw email"; $MailFormText="Extra berichtje"; $MailFormSubject="Gave pagina"; $MailFormDefaultText="Ik heb een gave pagina gevonden, misschien iets voor u"; $MailFromErrorEmail="Dit ziet er niet echt uit als een email adres:"; $MailFormNoHTML="Geen HTML? Bezoek de pagina"; $MailFromDisclaimer="Dit bericht is verstuurd van een email formulier op $WikiTitle. De beheerder van de site heeft geen invloed op het gebruik van het formulier."; SDV($MailFormTitle,"Mail a Friend"); SDV($MailFormThankYou,"Thanks ! The page has been send"); SDV($MailFormSendTo,"Send this page by email to"); SDV($MailFormSendFrom,"Your email"); SDV($MailFormText,"Enter a message"); SDV($MailFormSubject,"Cool page"); SDV($MailFormNoHTML,"No HTML? Visit the page"); SDV($MailFormDefaultText,"Hi, I found this cool page! Maybe worth to look at"); SDV($MailFromErrorEmail,"This email doesn't look right:"); SDV($MailFromDisclaimer,"This email has been send from an mailform on $WikiTitle. We appolegize if this mail bla bla"); SDV($HandleActions['mailform'],'HandleMailForm'); SDV($HandleMailFmt,array(&$PageStartFmt, &$PageMailFormFmt,'function:PrintText', &$PageEndFmt)); SDV($PageMailFormFmt,"
$mailtext" ; $message .="$pagelink