User: cjordan Date: 2010/06/03 07:18 PM
Modified: /about/members/ send-registration.php
Log: trying to get the newlines and angle brackets right
File Changes:
Directory: /about/members/ ==========================
File [modified]: send-registration.php Delta lines: +2 -2 =================================================================== --- about/members/send-registration.php 2010-06-03 23:17:27 UTC (rev 178) +++ about/members/send-registration.php 2010-06-04 00:18:26 UTC (rev 179) @@ -11,10 +11,10 @@ $list = $HTTP_POST_VARS['list'];
if ($list=='yes') { -$addtolist = 'Please add this person to the ET users mailing list.\n'.$name.' <'.$email.'>'; +$addtolist = "Please add this person to the ET users mailing list.\n".$name." <".$email.">"; } else { -$addtolist = 'This person's email address is '.$email.'; however, this person does not wish to be added to the ET users mailing list.'; +$addtolist = "This person's email address is ".$email."; however, this person does not wish to be added to the ET users mailing list."; }
$message = "Einstein Toolkit mainatiners: \n\n".$name." from ".$institution." has submitted a request to register with the Einstein Toolkit. ".$addtolist."\n\n Thanks,\n Einstein Toolkit Registration Bot\n";
commits@lists.einsteintoolkit.org